unity-game-ui-toolkit-design

unity-game-ui-toolkit-design is a skill for Claude Code from akiojin/unity-mcp-server. It costs 0 tokens per session (8,933 once invoked), scanned A, original, MIT.

A guide to building game interfaces in Unity with UI Toolkit, Unity's system for arranging and styling screens with web-like files. It covers layouts such as HUDs, health bars, inventories, and skill bars.

In plain words
What is it for?
Use it to create or style Unity game screens with UXML markup, USS styles, Flexbox-like layouts, and PanelSettings.
Why use it?
It helps translate a game interface design into Unity layouts that can scale across screens and handle device safe areas.

Skill for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Part of the unity-mcp-server plugin — 8 skills, 2 commands, 1 agent shipped together

Good fit Use it to create or style Unity game screens with UXML markup, USS styles, Flexbox-like layouts, and PanelSettings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akiojin/unity-mcp-server/unity-game-ui-toolkit-design
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 akiojin/unity-mcp-server --skill unity-game-ui-toolkit-design
Clone the repo
git clone --depth 1 https://github.com/akiojin/unity-mcp-server

Made for: Claude Code.

Or install unity-mcp-server, the plugin that ships this one along with the rest of its 8 skills, 2 commands, 1 agent.

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-game-ui-toolkit-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/akiojin/unity-mcp-server/unity-game-ui-toolkit-design/github.svg)](https://agentmods.dev/skills/akiojin/unity-mcp-server/unity-game-ui-toolkit-design)
Your own site
<a href="https://agentmods.dev/skills/akiojin/unity-mcp-server/unity-game-ui-toolkit-design"><img src="https://agentmods.dev/badge/skills/akiojin/unity-mcp-server/unity-game-ui-toolkit-design/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-game-ui-toolkit-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/akiojin/unity-mcp-server/unity-game-ui-toolkit-design"><img src="https://agentmods.dev/badge/skills/akiojin/unity-mcp-server/unity-game-ui-toolkit-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,933 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 56
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 77
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 79
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 635
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 987
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 1066
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00000 $0.08933
Opus 5 $0.00000 $0.04466
Sonnet 5 $0.00000 $0.01787
Haiku 4.5 $0.00000 $0.00893

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

Security

Grade A, and why

unity-game-ui-toolkit-design 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 9d 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.

.claude-plugin/plugins/unity-mcp-server/skills/unity-game-ui-toolkit-design/SKILL.md · 1,460 lines

How it starts

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

Unity Game UI Toolkit Design Skill

A skill for game UI design using Unity's UI Toolkit (USS/UXML/Flexbox). This comprehensive game UI design guide covers implementation patterns for game UI elements like HUD, health bars, inventory, dialogs, screen scaling with PanelSettings, and Safe Area support.

Overview

UI Toolkit is Unity's next-generation UI system that builds UIs with an approach similar to web technologies (HTML/CSS).

Feature Details
Layout Engine Yoga (CSS Flexbox subset implementation)
Styling USS (Unity Style Sheets, CSS-like)
Markup UXML (HTML-like)
Supported Version Unity 2021.2+ (Unity 6.0+ recommended)
Use Cases Game UI, Editor extensions

Game UI Types

Game UIs are classified into 4 types based on purpose and presentation method. Before starting implementation, clarify which type your UI belongs to.

1. Diegetic

UI that physically exists within the game world. Characters can also perceive it.

Example Game
HP bar on suit's back Dead Space
Car dashboard Racing Games
Ammo count on weapon Metro Exodus
Handheld map Far Cry 2
<!-- UXML - Diegetic UI (placed in 3D space) -->
<ui:VisualElement class="diegetic-display">
    <ui:VisualElement class="diegetic-display__screen">
        <ui:Label class="diegetic-display__value" text="87" />
        <ui:Label class="diegetic-display__unit" text="%" />
    </ui:VisualElement>
</ui:VisualElement>

2. Non-Diegetic

Screen overlay. Pure player-facing information that characters cannot perceive.

Example Placement
HP bar Top-left
Minimap Top-right
Skill bar Bottom-center
Quest objectives Right side
<!-- UXML - Non-Diegetic HUD structure -->
<ui:VisualElement class="hud">
    <!-- Top-left: Player status -->
    <ui:VisualElement class="hud__top-left">
        <ui:VisualElement class="health-bar" />
        <ui:VisualElement class="mana-bar" />
    </ui:VisualElement>

    <!-- Top-right: Minimap -->
    <ui:VisualElement class="hud__top-right">
        <ui:VisualElement class="minimap" />
    </ui:VisualElement>

    <!-- Bottom-center: Action bar -->
    <ui:VisualElement class="hud__bottom-center">
        <ui:VisualElement class="action-bar" />
    </ui:VisualElement>
</ui:VisualElement>

Read the full file on GitHub · 1,460 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. 9d ago First seen · 1,460 lines · 0 tokens per session scan A 6576633ee1cf

Subscribe to this mod's changes

unity-game-ui-toolkit-design is a skill published in the GitHub repository akiojin/unity-mcp-server (34 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,933 tokens. 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

Other skills, from other repositories

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

ux-review

Validates a UX spec, HUD design, or interaction pattern library for completeness, accessibility compliance, GDD alignment, and implementation readiness. Produces APPROVED / NEEDS REVISION / MAJOR REVISION NEEDED verdict with specific gaps.

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

unity-inspector

Advise on Unity Inspector authoring UX.

Besty0728/Unity-Skills · 12 tokens

threejs-game-ui-designer

Design premium Three.js game UI: HUDs, menus, overlays, pause/win/lose screens, settings, icon controls, touch UI, typography, responsive layout, safe areas, text fit, and UI/world cohesion.

majidmanzarpour/threejs-game-skills · 52 tokens

game-ui-ux

Design and build game UI/UX — HUDs, menus, and overlays — that survive every screen: anchor- based responsive layout, resolution/aspect scaling and safe areas, keyboard/gamepad focus navigation, a screen/menu state stack, and event-driven (not polled) HUD updates. Engine- neutral patterns that pair with the detected…

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

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.

moorestech/moorestech · 170 tokens