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.svg" alt="Measured on agentmods" 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 | $0.00011 | $0.01591 |
| Sonnet 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 8d 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.
- 8d 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 1mo ago), licensed MIT. It adds 22 tokens to every session and 3,182 once invoked, about $0.0001 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.
Other skills, from other repositories
game-ui-design
World-class game UI design expertise combining the clarity of Nintendo's UI philosophy, the immersive diegetic interfaces of Dead Space and Metroid Prime, and the competitive readability principles from esports titles. Game UI is the invisible bridge between player intent and game response. Great game UI serves the…
gaming-entertainment
Use when designing animations for gaming apps, streaming platforms, entertainment portals, or interactive media.
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
visual-plan
Turn ordinary text plans into rich interactive visual plans with diagrams, file maps, annotated code, open questions, and UI/prototype review when useful.
display-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…
ux-design
Guided, section-by-section UX spec authoring for a screen, flow, or HUD. Reads game concept, player journey, and relevant GDDs to provide context-aware design guidance. Produces ux-spec.md (per screen/flow) or hud-design.md using the studio templates.