ui-basics

ui-basics is a skill for Claude Code from ouzlifaneyassine1-dot/onyx-engine. It costs 88 tokens per session (1,612 once invoked), scanned A, original, MIT.

A guide to building Godot game interfaces with Control nodes, such as menus, HUDs, health bars, progress bars, and dialogue boxes. It explains containers, spacing, anchors, and styling.

In plain words
What is it for?
Use it when creating responsive Godot menus and in-game displays with vertical, horizontal, grid, or padded layouts.
Why use it?
It helps avoid layouts that break at different screen sizes or become difficult to maintain as interface elements are added.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Part of the onyx plugin — 77 skills, 1 command, 2 hooks, 1 MCP server shipped together

Good fit Use it when creating responsive Godot menus and in-game displays with vertical, horizontal, grid, or padded layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ouzlifaneyassine1-dot/onyx-engine/ui-basics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ouzlifaneyassine1-dot/onyx-engine --skill ui-basics
Clone the repo
git clone --depth 1 https://github.com/ouzlifaneyassine1-dot/onyx-engine

Made for: Claude Code.

Or install onyx, the plugin that ships this one along with the rest of its 77 skills, 1 command, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-basics

README.md
[![agentmods](https://agentmods.dev/badge/skills/ouzlifaneyassine1-dot/onyx-engine/ui-basics/github.svg)](https://agentmods.dev/skills/ouzlifaneyassine1-dot/onyx-engine/ui-basics)
Your own site
<a href="https://agentmods.dev/skills/ouzlifaneyassine1-dot/onyx-engine/ui-basics"><img src="https://agentmods.dev/badge/skills/ouzlifaneyassine1-dot/onyx-engine/ui-basics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-basics

Your own site · 80×15
<a href="https://agentmods.dev/skills/ouzlifaneyassine1-dot/onyx-engine/ui-basics"><img src="https://agentmods.dev/badge/skills/ouzlifaneyassine1-dot/onyx-engine/ui-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.01612
Opus 5 $0.00044 $0.00806
Sonnet 5 $0.00018 $0.00322
Haiku 4.5 $0.00009 $0.00161

Measured 10d ago against content hash 03adc4d16eb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ui-basics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ui-and-ux/ui-basics/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI Basics for Onyx Engine

Build menus and HUDs using Godot's Control nodes. Follow these patterns for layout, buttons, and responsive design.

Control Hierarchy

Use containers for layout, then add content nodes:

Control or CanvasLayer (root)
└── MarginContainer
    └── VBoxContainer (or HBoxContainer)
        ├── Label
        ├── Button
        ├── Button
        └── ProgressBar

Common Containers

Container Use
MarginContainer Padding from edges
VBoxContainer Stack vertically
HBoxContainer Stack horizontally
CenterContainer Center child
GridContainer Grid layout

Basic Menu

onyx_add_node(parent="./", type="Control", name="MainMenu")
onyx_add_node(parent="./MainMenu", type="MarginContainer", name="Margin")
onyx_set_prop(path="./MainMenu/Margin", key="anchors_preset", value="15")  # Full rect
onyx_set_prop(path="./MainMenu/Margin", key="theme_override_constants/margin_left", value="50")
onyx_set_prop(path="./MainMenu/Margin", key="theme_override_constants/margin_right", value="50")
onyx_set_prop(path="./MainMenu/Margin", key="theme_override_constants/margin_top", value="50")
onyx_set_prop(path="./MainMenu/Margin", key="theme_override_constants/margin_bottom", value="50")

onyx_add_node(parent="./MainMenu/Margin", type="VBoxContainer", name="VBox")
onyx_add_node(parent="./MainMenu/Margin/VBox", type="Label", name="Title")
onyx_set_prop(path="./MainMenu/Margin/VBox/Title", key="text", value="My Game")
onyx_add_node(parent="./MainMenu/Margin/VBox", type="Button", name="StartButton")
onyx_set_prop(path="./MainMenu/Margin/VBox/StartButton", key="text", value="Start Game")
onyx_add_node(parent="./MainMenu/Margin/VBox", type="Button", name="QuitButton")
onyx_set_prop(path="./MainMenu/Margin/VBox/QuitButton", key="text", value="Quit")

For nested theme overrides, use onyx_set_resource_property if the property is on a resource. For theme_override_constants/margin_left, it may be a direct node property—check Godot docs. Some constants are set via add_theme_constant_override. If onyx_set_prop accepts theme_override_constants/margin_left, use it; otherwise the UI may need a script or theme resource.

Read the full file on GitHub · 151 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 151 lines · 88 tokens per session scan A 03adc4d16eb3

Subscribe to this mod's changes

ui-basics is a skill published in the GitHub repository ouzlifaneyassine1-dot/onyx-engine (0 stars, last pushed 2mo ago), licensed MIT. It adds 88 tokens to every session and 1,612 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ui-basics

Use when building Summer Engine UI: HUDs, main menus, pause menus, health bars, progress bars, dialogue boxes, or any Control-node tree. Covers anchors, containers (VBox/HBox/Margin), responsive layout, and theme versus inline styling. Trigger on "UI", "HUD", "menu", "health bar", "Control", "anchors"…

SummerEngine/summer-engine-agent · 88 tokens

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

gamedev-skills/awesome-gamedev-agent-skills · 95 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens