unity-editor-imgui-design

unity-editor-imgui-design is a skill for Claude Code, Codex from akiojin/unity-mcp-server. It costs 54 tokens per session (6,427 once invoked), scanned A, original, MIT.

A design guide for Unity editor interfaces built with IMGUI, Unity's immediate-mode interface system. It covers editor windows, custom inspectors, and property drawers, not interfaces shown inside a game.

In plain words
What is it for?
Use it to build Unity editor tools, custom inspectors, property drawers, and EditorWindow interfaces.
Why use it?
It helps you choose the correct Unity interface approach and avoid using editor-only patterns for runtime game screens.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/akiojin/unity-mcp-server/unity-editor-imgui-design
Any agent
npx skills add akiojin/unity-mcp-server --skill unity-editor-imgui-design
Clone the repo
git clone --depth 1 https://github.com/akiojin/unity-mcp-server

Made for: Claude Code, Codex.

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-editor-imgui-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/akiojin/unity-mcp-server/unity-editor-imgui-design.svg)](https://agentmods.dev/skills/akiojin/unity-mcp-server/unity-editor-imgui-design)
Your own site
<a href="https://agentmods.dev/skills/akiojin/unity-mcp-server/unity-editor-imgui-design"><img src="https://agentmods.dev/badge/skills/akiojin/unity-mcp-server/unity-editor-imgui-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,427 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00054 $0.06427
Opus 5 $0.00027 $0.03214
Sonnet 5 $0.00011 $0.01285
Haiku 4.5 $0.00005 $0.00643

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

Security

Grade A, and why

unity-editor-imgui-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 5d 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-editor-imgui-design/SKILL.md · 1,142 lines

How it starts

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

Unity Editor IMGUI Design Skill

WARNING: IMGUI is for Unity Editor extensions ONLY. For game UI, use unity-game-ugui-design or unity-game-ui-toolkit-design.

IMGUI vs Game UI

Aspect IMGUI (Editor) uGUI / UI Toolkit (Game)
Purpose Editor tools, inspectors In-game UI, HUD
Build inclusion Editor only Included in builds
Rendering Immediate mode Retained mode
Performance OK for editor Optimized for runtime
Styling Limited (GUISkin) Rich (USS, materials)

Quick Start

Create EditorWindow

// Create editor window script
mcp__unity-mcp-server__create_class({
  path: "Assets/Editor/MyToolWindow.cs",
  className: "MyToolWindow",
  namespace: "MyProject.Editor",
  baseType: "EditorWindow",
  usings: "UnityEditor"
})

// Add window content
mcp__unity-mcp-server__edit_structured({
  path: "Assets/Editor/MyToolWindow.cs",
  symbolName: "MyToolWindow",
  operation: "insert_after",
  newText: `
    [MenuItem("Tools/My Tool Window")]
    public static void ShowWindow()
    {
        GetWindow<MyToolWindow>("My Tool");
    }

    private void OnGUI()
    {
        GUILayout.Label("My Tool", EditorStyles.boldLabel);

        if (GUILayout.Button("Do Something"))
        {
            Debug.Log("Button clicked!");
        }
    }
`
})

Create Custom Inspector

// Create custom inspector script
mcp__unity-mcp-server__create_class({
  path: "Assets/Editor/MyComponentEditor.cs",
  className: "MyComponentEditor",
  namespace: "MyProject.Editor",
  baseType: "Editor",
  usings: "UnityEditor"
})

// Add CustomEditor attribute and OnInspectorGUI
mcp__unity-mcp-server__edit_structured({
  path: "Assets/Editor/MyComponentEditor.cs",
  symbolName: "MyComponentEditor",
  operation: "insert_before",
  newText: "[CustomEditor(typeof(MyComponent))]\n"
})

mcp__unity-mcp-server__edit_structured({
  path: "Assets/Editor/MyComponentEditor.cs",
  symbolName: "MyComponentEditor",
  operation: "insert_after",
  newText: `
    public override void OnInspectorGUI()
    {
        serializedObject.Update();

        EditorGUILayout.PropertyField(serializedObject.FindProperty("myField"));

        if (GUILayout.Button("Custom Button"))
        {
            ((MyComponent)target).DoSomething();
        }

        serializedObject.ApplyModifiedProperties();
    }
`
})

Read the full file on GitHub · 1,142 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. 5d ago First seen · 1,142 lines · 54 tokens per session scan A 1496ddfa41c7

Subscribe to this mod's changes

unity-editor-imgui-design is a skill published in the GitHub repository akiojin/unity-mcp-server (34 stars, last pushed 5d ago), licensed MIT. It adds 54 tokens to every session and 6,427 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

playtest-report

Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

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

unity-manual-component

Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.

Besty0728/Unity-Skills · 36 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

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