Godot Ui logo

Godot Ui

Community
EL4CTEO
godot-ui

Build Godot 4.7 user interfaces that work on PC, mobile and console - anchors and containers, responsive stretch settings, safe areas, Themes and type variations, gamepad/keyboard focus navigation, offset_transform animation (4.7), RichTextLabel, localization, accessibility (screen readers), drag and drop, HUD over 3D. Use for menus, HUDs, inventories, settings screens or any Control node work.

Overview

PublisherEL4CTEO
Repositorygodot-skills
Skill namegodot-ui
Stars
60
Forks
6
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by EL4CTEO on GitHub. Read the source before you install it.

Installation

Install the Godot Ui AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-ui
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EL4CTEO/godot-skills.git /tmp/godot-skills
mkdir -p .claude/skills
cp -r /tmp/godot-skills/skills/godot-ui .claude/skills/godot-ui
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Godot Ui in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Godot Ui on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Godot Ui is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

UI (4.7)

Build UI as scenes (ui/hud/hud.tscn) made in the editor, or with ../godot-core/scripts/scene_edit.py. Scripts only fill in data and react. Input actions and gamepads are in godot-input.

Layout fundamentals

  • Containers do the layout. Use VBoxContainer/HBoxContainer, GridContainer, MarginContainer (padding), PanelContainer (background), CenterContainer, ScrollContainer, FlowContainer (wrapping tags/items), AspectRatioContainer, TabContainer, FoldableContainer (4.5+) and SplitContainer. Children of containers ignore their own anchors and position.
  • Size flags decide each child's share: size_flags_horizontal = SIZE_EXPAND_FILL (+ size_flags_stretch_ratio), SIZE_SHRINK_CENTER, and so on. custom_minimum_size sets a floor.
  • The root of a UI scene is a Control with set_anchors_and_offsets_preset(PRESET_FULL_RECT). HUD corners use anchor presets (PRESET_TOP_LEFT …) plus a MarginContainer.
  • To animate or juice controls inside containers, use the 4.7 offset_transform_* properties (offset_transform_enabled, _position, _rotation, _scale, _pivot_ratio, _visual_only). Containers don't overwrite them, unlike position/scale. pivot_offset_ratio (4.6+) sets a pivot as a fraction of size, so (0.5, 0.5) is the center.
  • mouse_filter: STOP (default for most), PASS, or IGNORE for decorative overlays that would otherwise block clicks to the game. Use mouse_behavior_recursive/focus_behavior_recursive (4.5+) to disable a whole subtree.

Multi-resolution and devices

  • New 4.7 projects use stretch mode canvas_items + aspect expand. Design at 1920×1080 (or 1280×720) and anchor to edges so wider and taller screens just reveal more space. Pixel-art games use viewport + integer scaling (see godot-2d).
  • Mobile safe area (notches): read DisplayServer.get_display_safe_area() and pad the root MarginContainer (see the reference).
  • Text size: minimum ~24 px at 1080p for TV/console legibility, and touch targets of at least ~48 px at the base resolution.
  • Window.content_scale_factor gives a user-facing "UI scale" option.

Theme instead of per-node overrides

  • Make one Theme resource (ui/theme/main_theme.tres) and set it on the root Control, or project-wide in gui/theme/custom. Define default fonts, sizes and StyleBoxes there.
  • Variants: set theme_type_variation = &"DangerButton" on a node, and define DangerButton (base type Button) in the theme. This is better than scattered add_theme_*_override calls.
  • Fonts: use FontFile with FontVariation for weight and spacing. For crisp text at any scale, enable MSDF on the font import (great for world-space labels).

Focus and navigation (required for gamepad and console)

  • Every interactive control needs focus_mode = FOCUS_ALL. Call grab_focus() on the first button when a menu opens. 4.6+ separates mouse and keyboard focus: grab_focus(true) focuses without showing the outline.
  • Godot picks neighbors automatically, by geometry. Override them with focus_neighbor_*/focus_next in grids and odd layouts.
  • Built-in actions ui_accept, ui_cancel, ui_up/down/left/right, ui_focus_next already map to arrows, Enter, Escape and gamepad. Add your own bindings to them, never replace them.
  • Track focus with get_viewport().gui_focus_changed, for example for sounds or scrolling into view. Make sure no menu is ever left with nothing focused.

Text

  • Label (autowrap_mode, text_overrun_behavior, LabelSettings for outline and shadow, stacked effects in 4.5+), RichTextLabel (bbcode_enabled, append_text, [url] + meta_clicked, [img height=1em] in 4.7, custom effects).
  • Localization: write keys or English source text, then tr("KEY") / tr_n(). Nodes auto-translate their text (auto_translate_mode). Add .po or .csv files in Project Settings → Localization, and switch with TranslationServer.set_locale("de"). C# Tr() strings are extracted to POT too (4.6+).

Accessibility (4.5+, AccessKit)

Standard controls are announced automatically. Give icon-only buttons accessibility_name, use accessibility_description for extra context and accessibility_live for changing status text. Keep focus order logical, because screen readers follow it.

HUD over 3D and world-space UI

  • HUD: a CanvasLayer with your Control tree, so it ignores the camera.
  • World-space health bars: either Label3D/Sprite3D (billboard), or a SubViewport holding Controls rendered to a ViewportTexture on a quad. Projecting a 3D point with camera.unproject_position() onto a 2D control is also cheap.

Common mistakes

  • Setting position/size on children of containers (it gets overwritten). Use size flags, minimum size or offset transforms instead.
  • Full-screen invisible Controls with mouse_filter = STOP that block game input.
  • Menus that can't be closed or navigated without a mouse.
  • Hard-coded strings in code that never pass through tr().

Responsive layout, menu focus, tweened buttons, inventory drag and drop, safe area (compiled by the tests): references/patterns.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Godot Ui AI skill do?

Build Godot 4.7 user interfaces that work on PC, mobile and console - anchors and containers, responsive stretch settings, safe areas, Themes and type variations, gamepad/keyboard focus navigation, offset_transform animation (4.7), RichTextLabel, localization, accessibility (screen readers), drag and drop, HUD over 3D. Use for menus, HUDs, inventories, settings screens or any Control node work.

Why use Godot Ui on TypingMind?

Because you install it once and use it with any model. Godot Ui is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Godot Ui in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/EL4CTEO/godot-skills/tree/main/skills/godot-ui. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Godot Ui?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Godot Ui?

As many as you like. As long as a model supports skills, you can use Godot Ui with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Godot Ui AI skill free?

Yes. It is published on GitHub by EL4CTEO under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇