Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/batihandev/unity-mcp-skillsnpx agentmods add skills/batihandev/unity-mcp-skills/uiWrote 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.
[](https://agentmods.dev/skills/batihandev/unity-mcp-skills/ui)<a href="https://agentmods.dev/skills/batihandev/unity-mcp-skills/ui"><img src="https://agentmods.dev/badge/skills/batihandev/unity-mcp-skills/ui/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.
<a href="https://agentmods.dev/skills/batihandev/unity-mcp-skills/ui"><img src="https://agentmods.dev/badge/skills/batihandev/unity-mcp-skills/ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.03182 |
| Opus 5.5 | $0.00009 | $0.01273 |
| Sonnet 5.5 | $0.00004 | $0.00636 |
| Haiku 4.5 | $0.00002 | $0.00318 |
Grade A, and why
unity-ui 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Unity UI Skills
When to Use
Use this module for Unity UGUI / Canvas workflows. It is separate from UI Toolkit.
Routing:
- Check
../../mcp-tools.mdfirst for a dedicated official Unity MCP tool. - If no native tool covers the operation, use
../../recipes/ui/<command>.md. - For UXML/USS/UIDocument → use
uitoolkit. - For XR-compatible world-space Canvas conversion → use
xr_setup_ui_canvas. - For text updates after creation → use
ui_set_text. - For layout and alignment → use
ui_layout_children,ui_align_selected,ui_distribute_selected.
Creating 2+ elements: call the individual
ui_create_<primitive>recipes in a singleUnity_RunCommand— oneCommandScript.Executeblock can instantiate any number of UI elements by chaining the per-primitive setup inline.
Common Mistakes
DO NOT (common hallucinations):
ui_add_canvasdoes not exist -> useui_create_canvasui_create_labeldoes not exist -> useui_create_textui_create_checkboxdoes not exist -> useui_create_toggleui_set_colordoes not exist -> usecomponent_set_propertyonImage/Text, or the dedicated UI property skills when available- Do not confuse UGUI (
ui) with UI Toolkit (uitoolkit)
Quick Reference
Create Skills
| Skill | Use | Key parameters |
|---|---|---|
ui_create_canvas |
Create Canvas | name?, renderMode? |
ui_create_panel |
Create panel container | name?, parent?, r/g/b/a? |
ui_create_button |
Create button | name?, parent?, text?, width/height? |
ui_create_text |
Create text label | name?, parent?, text?, fontSize?, r/g/b? |
ui_create_image |
Create image | name?, parent?, spritePath?, width/height? |
ui_create_inputfield |
Create input field | name?, parent?, placeholder?, width/height? |
ui_create_slider |
Create slider | name?, parent?, minValue?, maxValue?, value? |
ui_create_toggle |
Create toggle | name?, parent?, label?, isOn? |
ui_create_dropdown |
Create dropdown | name?, parent?, options?, width/height? |
ui_create_scrollview |
Create ScrollRect hierarchy | name?, parent?, width/height?, horizontal?, vertical? |
ui_create_rawimage |
Create RawImage | name?, parent?, texturePath?, width/height? |
ui_create_scrollbar |
Create scrollbar | name?, parent?, direction?, value?, size? |
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.
- 1mo ago First seen · 260 lines · 22 tokens per session scan A 5b79bfee8f2d
unity-ui is a skill published in the GitHub repository batihandev/unity-mcp-skills (6 stars, last pushed 12d ago), licensed MIT. It adds 22 tokens to every session and 3,182 once invoked, about $0.0001 per session on Opus 5.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.
Other skills, from other repositories
biome-creation
A workflow for placing rocks, trees, plants, and other reusable scene objects into a Unity biome, a themed area of a game world. It also covers regenerating the biome and checking the result with screenshots.
before-after-audit
A before-and-after screenshot workflow for checking visual changes in a Unity scene. It keeps the Scene view camera fixed, compares the two images, and sends the difference for an external review.
aspid-visual-element-fluent
Aspid.FastTools chainable UI Toolkit extensions (namespace Aspid.FastTools.UIElements): SetPadding, SetFlexDirection, AddChild/AddChildren, AddClass, AddClicked, SetValue, AddValueChanged, BindTo and more. Use when C# code creates or configures VisualElements (editor windows, inspectors, runtime UI) in a project with…
asp-ft-editor-component
Adding or changing an internal UI Toolkit editor component of the Aspid.FastTools package (Editor/Scripts/VisualElements/Internal: AspidLabel, AspidBox, AspidDividingLine and the rest) - element class, preset struct, fluent extensions, ThemeStyle/StatusStyle, USS-driven style structs, stylesheet. For work on this…
game-ui-design
Designs and reviews game UI from actual game references and a shared component system. Use for HUDs, menus, settings, inventories, strategy panels, game editors, projected UI, visual polish, and game UI prototypes in any engine or renderer.
game-ui-design
Research-grounded workflow for designing, reviewing, and improving video game user interfaces, including HUDs, menus, navigation, focus states, onboarding/tutorials, objective tracking, input prompts, readability, accessibility, and destructive-action flows. Use when asked how to make good game UI, critique a game UI…