Unity UI Toolkit

Unity UI Toolkit is a skill for Claude Code from Dev-GOM/claude-code-marketplace. It costs 39 tokens per session (658 once invoked), scanned A, original, Apache-2.0.

A guide for building Unity game interfaces with UI Toolkit, using UXML for structure, USS for appearance, and C# for behavior.

In plain words
What is it for?
Use it when creating Unity editor windows or in-game interfaces with buttons, text fields, lists, layouts, themes, animations, or custom controls.
Why use it?
It helps keep interface layout, styling, and code organized while avoiding common mistakes with controls, events, and data connections.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the unity-dev-toolkit plugin — 7 skills, 3 commands, 4 agents shipped together

Good fit Use it when creating Unity editor windows or in-game interfaces with buttons, text fields, lists, layouts, themes, animations, or custom controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dev-gom/claude-code-marketplace/unity-uitoolkit
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 Dev-GOM/claude-code-marketplace --skill unity-uitoolkit
Clone the repo
git clone --depth 1 https://github.com/Dev-GOM/claude-code-marketplace

Made for: Claude Code.

Or install unity-dev-toolkit, the plugin that ships this one along with the rest of its 7 skills, 3 commands, 4 agents.

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 Toolkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/dev-gom/claude-code-marketplace/unity-uitoolkit/github.svg)](https://agentmods.dev/skills/dev-gom/claude-code-marketplace/unity-uitoolkit)
Your own site
<a href="https://agentmods.dev/skills/dev-gom/claude-code-marketplace/unity-uitoolkit"><img src="https://agentmods.dev/badge/skills/dev-gom/claude-code-marketplace/unity-uitoolkit/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 Unity UI Toolkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/dev-gom/claude-code-marketplace/unity-uitoolkit"><img src="https://agentmods.dev/badge/skills/dev-gom/claude-code-marketplace/unity-uitoolkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 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.00039 $0.00658
Opus 5.5 $0.00016 $0.00263
Sonnet 5.5 $0.00008 $0.00132
Haiku 4.5 $0.00004 $0.00066

Measured 3mo ago against content hash 0df613e2f98e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Unity UI Toolkit 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 3mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/unity-dev-toolkit/skills/unity-uitoolkit/SKILL.md · 87 lines

How it starts

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

Unity UI Toolkit

Assists with Unity UI Toolkit development including UXML markup, USS styling, C# VisualElement API, and modern UI patterns.

What This Skill Helps With

UXML Structure

  • Proper element hierarchy and naming conventions
  • Common controls: TextField, Button, Toggle, Slider, ObjectField, ListView
  • Layout containers: VisualElement, ScrollView, Foldout, TwoPaneSplitView
  • Data-driven UI with templates and bindings

USS Styling

  • Class-based styling and selectors
  • Flexbox layout (flex-direction, justify-content, align-items)
  • USS variables and dark theme optimization
  • Pseudo-classes (:hover, :active, :disabled)
  • Transitions and animations

C# VisualElement API

  • Query API: rootElement.Q<Button>("my-button")
  • Event handling: .clicked += and .RegisterValueChangedCallback()
  • Dynamic UI creation with constructors
  • Data binding with Bind() and SerializedObject

Best Practices

  • UXML for structure, USS for styling, C# for logic
  • Name elements for Query API access
  • Use classes for styling, not inline styles
  • Cache VisualElement references in fields
  • Proper event cleanup in OnDestroy()

Common Patterns

Editor Window Setup:

public void CreateGUI() {
    var visualTree = AssetDatabase.LoadAssetAtPath<VisualTreeAsset>("path/to.uxml");
    visualTree.CloneTree(rootVisualElement);

    var button = rootVisualElement.Q<Button>("my-button");
    button.clicked += OnButtonClick;
}

USS Class Toggle:

element.AddToClassList("active");
element.RemoveFromClassList("active");
element.ToggleInClassList("active");

Data Binding:

var so = new SerializedObject(target);
rootVisualElement.Bind(so);

Unity Version Requirements

  • Unity 2021.2+ for runtime UI Toolkit
  • Unity 2019.4+ for editor-only UI Toolkit (limited features)

See ui-toolkit-reference.md for complete API documentation.

When to Use vs Other Components

Use this Skill when: Building UI Toolkit interfaces, writing UXML/USS, or manipulating VisualElements in C#

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 87 lines · 39 tokens per session scan A 0df613e2f98e

Subscribe to this mod's changes

Unity UI Toolkit is a skill published in the GitHub repository Dev-GOM/claude-code-marketplace (97 stars, last pushed 10mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 658 once invoked, about $0.0002 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-30.

Related

Unity UI Toolkit compared with skills from other repositories

Unity UI Toolkit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Unity UI ToolkitDev-GOM/claude-code-marketplaceSkill9710mo agoApache-2.0A39Claude Code
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k22d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13k2d agoApache-2.0A93Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.5k2d agoMITA121Claude Code
texture-workflowarjun988/blender-skillsSkill5.6k26d agoMITA41Claude Code
threejs-exposure-color-gradingscottstts/Threejs-Awesome-Graphics-Agent-SkillsSkill1.1k5d agoMITA91Codex
gamedev-shadersericrisco/rsc-harnessSkill695yesterdayMITA102Claude Code, Codex