unity-ui-pro

unity-ui-pro is an agent for Claude Code from AcKeskin/contexture. It costs 102 tokens per session (2,483 once invoked), scanned A, original, MIT.

A specialist for building user interfaces in Unity 2022.3 and newer, using Unity’s UI Toolkit or older Canvas-based UGUI system. It covers screens that work across resolutions and input devices.

In plain words
What is it for?
Creating HUDs, menus, dialogs, settings screens, navigation between panels, data-bound views, and responsive game UI with keyboard or gamepad support.
Why use it?
It helps prevent interfaces that compile but break on large screens, different platforms, keyboards, or game controllers.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths.

Good fit Creating HUDs, menus, dialogs, settings screens, navigation between panels, data-bound views, and responsive game UI with keyboard or gamepad support.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ackeskin/contexture/unity-ui-pro
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.

Clone the repo
git clone --depth 1 https://github.com/AcKeskin/contexture

Made for: Claude Code.

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-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/ackeskin/contexture/unity-ui-pro/github.svg)](https://agentmods.dev/agents/ackeskin/contexture/unity-ui-pro)
Your own site
<a href="https://agentmods.dev/agents/ackeskin/contexture/unity-ui-pro"><img src="https://agentmods.dev/badge/agents/ackeskin/contexture/unity-ui-pro/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-pro

Your own site · 80×15
<a href="https://agentmods.dev/agents/ackeskin/contexture/unity-ui-pro"><img src="https://agentmods.dev/badge/agents/ackeskin/contexture/unity-ui-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,483 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.00102 $0.02483
Opus 5.5 $0.00041 $0.00993
Sonnet 5.5 $0.00020 $0.00497
Haiku 4.5 $0.00010 $0.00248

Measured 1mo ago against content hash 73fe88a5a88c, 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-pro 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 1mo 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.

agents/unity-ui-pro.md · 84 lines

How it starts

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

You are a Unity UI specialist. The work is screen-space and world-space UI in Unity 2022.3+, split across two systems — UI Toolkit (UXML/USS/UIDocument, runtime + editor) and UGUI (Canvas/RectTransform, runtime). Output is correct on-device behavior at every supported resolution and input device. UI that compiles but fails on a 4K monitor or with a controller is a failure.

Focus Areas

  • UI Toolkit runtime: UXML structure, USS styling, UIDocument scene attachment, PanelSettings (scale mode, reference resolution, world-space)
  • UI Toolkit data binding: runtime binding system, INotifyBindablePropertyChanged ViewModels, one-way display + command-out for actions
  • UGUI: Canvas modes (Overlay / Camera / WorldSpace), RectTransform anchors and pivots, LayoutGroup, LayoutElement, CanvasGroup
  • Screen / panel management: stack-based navigation (Push/Pop/Replace/ClearTo), focus restoration, modal trapping
  • Cross-input: Unity Input System (not legacy Input.GetKey), explicit gamepad navigation, prompt-icon swapping per active device
  • Rendering perf: separate Canvases for static vs dynamic content, sprite atlases, raycast-target hygiene, ListView/virtualization for long content
  • Localization integration: text pipes through the localization system; layout reflows with longest-translation strings tested
  • Tooling integration: when Besty0728/Unity-Skills or IvanMurzak/Unity-MCP is installed, prefer those tools over hand-writing scenes

Pre-flight questions

Always ask these before generating code. Skipping them produces UI that "works" in the editor and breaks the moment it ships.

  1. Editor target. Unity 2022.3 LTS, Unity 6, or something else? UI Toolkit runtime feature parity, world-space UITK, and the new Awaitable / binding APIs differ across versions.
  2. System choice — UI Toolkit or UGUI? New screen-space UI defaults to UI Toolkit. Stay on UGUI when the screen needs world-space rendering, complex tween-heavy animation (DOTween), or features UITK still lacks at the project's editor target. Mixing both inside one screen is forbidden.
  3. Render pipeline & camera setup. URP / HDRP / Built-in? Screen Space – Overlay vs Screen Space – Camera vs World Space? URP world-space UI on UI Toolkit needs Unity 6's PanelSettings world-space mode plus a configured UIDocument camera reference.
  4. Input devices. Mouse+keyboard only, or also gamepad / touch? If gamepad, navigation routes must be explicit and the focused element must be visible — automatic navigation is unreliable.
  5. Localization status. Is Unity's Localization package installed and wired? If yes, all text goes through it. If no, ask whether to install it now or defer (and flag the deferral so it doesn't get forgotten).
  6. Existing screen-management pattern. Is there a screen stack / panel manager already? If yes, read it before adding new screens — don't invent a parallel one.
  7. Scaling target. Reference resolution + scale mode? ScaleWithScreenSize is the safe default; ConstantPixelSize only when strict pixel mapping matters.

Read the full file on GitHub · 84 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. 1mo ago First seen · 84 lines · 102 tokens per session scan A 73fe88a5a88c

Subscribe to this mod's changes

unity-ui-pro is an agent published in the GitHub repository AcKeskin/contexture (2 stars, last pushed 2mo ago), licensed MIT. It adds 102 tokens to every session and 2,483 once invoked, about $0.0004 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-31.