game-ui

game-ui is a skill for Claude Code, Codex from metaspartan/cybara. It costs 38 tokens per session (406 once invoked), scanned A, original, MIT.

A guide for designing and implementing game interfaces such as HUDs, menus, overlays, inventories, and input prompts.

In plain words
What is it for?
Use it to build and test game UI across keyboard, pointer, controller, and touch devices, including localization and responsive layouts.
Why use it?
It helps keep interface elements readable and accessible without covering important gameplay areas or capturing the wrong input.

Skill for Claude CodeCodex

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

Good fit Use it to build and test game UI across keyboard, pointer, controller, and touch devices, including localization and responsive layouts.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/metaspartan/cybara/game-ui.svg)](https://agentmods.dev/skills/metaspartan/cybara/game-ui)
Your own site
<a href="https://agentmods.dev/skills/metaspartan/cybara/game-ui"><img src="https://agentmods.dev/badge/skills/metaspartan/cybara/game-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 406 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 pass 7 Sept 2026
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.00038 $0.00406
Opus 5 $0.00019 $0.00203
Sonnet 5 $0.00008 $0.00081
Haiku 4.5 $0.00004 $0.00041

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

Security

Grade A, and why

game-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 4d 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.

plugins/game-development/skills/game-ui/SKILL.md · 39 lines

How it starts

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

Game UI

Establish the interaction model

Identify the genre, camera, primary player verbs, input devices, target platforms, safe areas, localization scope, accessibility requirements, and which information must remain visible during play.

Design rules

  • Protect the center of the playfield and aiming, movement, or puzzle-critical regions.
  • Give critical state clear hierarchy; move secondary detail into contextual or dismissible surfaces.
  • Keep visual language consistent with the game rather than defaulting to application dashboards.
  • Make focus ownership explicit when menus, dialogs, inventories, chat, or text input open.
  • Pause or gate gameplay and camera input when an overlay requires exclusive interaction.
  • Support keyboard, pointer, controller, and touch navigation that matches the target platform.
  • Preserve safe areas, readable text scaling, localization expansion, contrast, and reduced motion.
  • Avoid per-frame UI rebuilding when event-driven updates are sufficient.

Implementation

Use the chosen engine's established UI system and project patterns. Keep UI state separate from simulation truth, derive presentation from stable game state, and keep screen transitions reversible. Make loading, empty, disabled, error, disconnected, and save-in-progress states visible.

Verification

  1. Exercise the HUD during active gameplay rather than only in an isolated preview.
  2. Navigate every changed surface with each supported input family.
  3. Verify focus restoration and gameplay input suppression around overlays.
  4. Test narrow, wide, high-density, and safe-area-constrained layouts in scope.
  5. Capture screenshots with representative content, long labels, warnings, and low-resource states.
  6. Check frame time and allocation behavior while rapidly changing HUD state.

Completion criteria

Report the UI states exercised, input devices, resolutions or safe areas, accessibility checks, screenshots, and any platform-native behavior that remains unverified.

Read the full file on GitHub · 39 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. 4d ago First seen · 39 lines · 38 tokens per session scan A f71564096bd7

Subscribe to this mod's changes

game-ui is a skill published in the GitHub repository metaspartan/cybara (28 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 406 once invoked, about $0.0002 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-09-03.