unity-ui

unity-ui is a skill for Claude Code, Codex from batihandev/unity-mcp-skills. It costs 22 tokens per session (3,182 once invoked), scanned A, original, MIT.

A guide for creating and editing Unity’s UGUI interface elements, such as canvases, buttons, text, images, and toggles.

In plain words
What is it for?
Use it to build Unity Canvas interfaces, create multiple UI elements, set text or colors, and arrange or align elements.
Why use it?
It helps choose the correct Unity UI operations and avoid using commands that do not exist.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Prerequisite:** `Tools/UI/Screenshot/` menu items must exist in the project. If they do not, install the screenshot Editor script first — see [`tooling/ui/ui_.

Good fit Use it to build Unity Canvas interfaces, create multiple UI elements, set text or colors, and arrange or align elements.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/batihandev/unity-mcp-skills
agentmods
npx agentmods add skills/batihandev/unity-mcp-skills/ui

Made for: Claude Code, Codex.

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 unity-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/batihandev/unity-mcp-skills/ui.svg)](https://agentmods.dev/skills/batihandev/unity-mcp-skills/ui)
Your own site
<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>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,182 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.00022 $0.03182
Opus 5 $0.00011 $0.01591
Sonnet 5 $0.00004 $0.00636
Haiku 4.5 $0.00002 $0.00318

Measured 8d ago against content hash 5b79bfee8f2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

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.

skills/ui/SKILL.md · 260 lines

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.md first 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 single Unity_RunCommand — one CommandScript.Execute block can instantiate any number of UI elements by chaining the per-primitive setup inline.

Common Mistakes

DO NOT (common hallucinations):

  • ui_add_canvas does not exist -> use ui_create_canvas
  • ui_create_label does not exist -> use ui_create_text
  • ui_create_checkbox does not exist -> use ui_create_toggle
  • ui_set_color does not exist -> use component_set_property on Image/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?

Read the full file on GitHub · 260 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. 8d ago First seen · 260 lines · 22 tokens per session scan A 5b79bfee8f2d

Subscribe to this mod's changes

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.

Related

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…

omer-metin/skills-for-antigravity · 231 tokens

gaming-entertainment

Use when designing animations for gaming apps, streaming platforms, entertainment portals, or interactive media.

dylantarre/animation-principles · 22 tokens

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.

anthropics/claude-plugins-official · 40 tokens

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.

BuilderIO/skills · 32 tokens

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…

android/skills · 91 tokens

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.

Donchitos/Claude-Code-Game-Studios · 61 tokens