game-ui

game-ui is a skill for Claude Code, Codex from kyh/vibedgames. It costs 37 tokens per session (1,996 once invoked), scanned A, original, MIT.

A guide to designing the on-screen game interface, such as the score, health, timer, objectives, menus, notifications, and touch controls.

In plain words
What is it for?
Use it to plan HUD layout, meters, cooldowns, alerts, overlays, pause screens, mobile controls, safe-area spacing, and feedback shown near objects in the game.
Why use it?
Game information must be understood quickly while the player is moving, unlike a web dashboard that can be read at leisure. It helps keep important information visible without blocking the play area.

Skill for Claude CodeCodex

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

Good fit Use it to plan HUD layout, meters, cooldowns, alerts, overlays, pause screens, mobile controls, safe-area spacing, and feedback shown near objects in the game.

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

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/kyh/vibedgames/game-ui/github.svg)](https://agentmods.dev/skills/kyh/vibedgames/game-ui)
Your own site
<a href="https://agentmods.dev/skills/kyh/vibedgames/game-ui"><img src="https://agentmods.dev/badge/skills/kyh/vibedgames/game-ui/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 game-ui

Your own site · 80×15
<a href="https://agentmods.dev/skills/kyh/vibedgames/game-ui"><img src="https://agentmods.dev/badge/skills/kyh/vibedgames/game-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,996 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.00037 $0.01996
Opus 5.5 $0.00015 $0.00798
Sonnet 5.5 $0.00007 $0.00399
Haiku 4.5 $0.00004 $0.00200

Measured 6d ago against content hash c58971c5353d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 6d 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.

skills/game-ui/SKILL.md · 152 lines

How it starts

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

Game UI

Build a game interface, not a web dashboard. The defining failure of prompt-built game UI: nested cards, marketing-hero title screens, generic dashboard styling, and web-app typography wrapped around a canvas. Anti-patterns to reject on sight: stat cards in rounded boxes inside boxes, a hero section with a tagline over the game, <h1>-styled headings in a HUD, one-note purple/blue gradient panels.

Hierarchy follows gameplay priority: survival/status first, objective/progress second, immediate feedback third, flavor last. Prefer meters, icons, cooldown rings, badges, and compact clusters over labeled stat cards — a meter is read at glance-speed mid-dodge; a card is not.

HUD zoning

  • Top-left: objective, wave, distance, timer, progress.
  • Top-right: score, currency, combo, pause.
  • Bottom-left/right: touch movement/action controls (mobile).
  • Center: reserved for transient banners (wave start, combo, warnings) — never persistent chrome, never stacked banners over the play path.
  • In-world (diegetic) where possible: target markers, off-screen threat indicators, damage numbers, prompts anchored to the thing itself.
  • Keep all UI out of the play path — away from the player, threats, pickups, and the next decision.
  • The HUD layer never eats the canvas's input. A full-screen HUD or overlay wrapper gets pointer-events: none; only its buttons and controls opt back in with pointer-events: auto. Otherwise drag-to-aim, orbit or touch steering dies over the HUD's empty margins.
  • No control instructions during play. "M to mute", "WASD to move" and standing hint bars belong on the initial screen only. Allowed in play: pause/game-over/match-end modals (keep "P to resume"), just-in-time prompts gated on a transient state, ability-bar keycap glyphs, ?editor= / ?gallery= scenes. Mute renders icon-only with an aria-label. If stripping a hint leaves it untaught, build a start screen.

Numbers that don't dance

Read the full file on GitHub · 152 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. 6d ago Changed · +6 lines c58971c5353d
  2. 8d ago Changed · +31 lines 73a7a057ccb5
  3. 2mo ago Changed · +21 lines · -69 tokens per session f4b410904a59
  4. 3mo ago First seen · 94 lines · 106 tokens per session scan A bdb2b6a91257

Subscribe to this mod's changes

game-ui is a skill published in the GitHub repository kyh/vibedgames (62 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,996 once invoked, about $0.0001 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

game-ui compared with skills from other repositories

game-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
game-uikyh/vibedgamesSkill62todayMITA37Claude Code, Codex
release-regressionHoangNguyen0403/agent-skills-standardSkill597yesterdayMITA28Codex
publish-notesHoangNguyen0403/agent-skills-standardSkill597yesterdayMITA20Codex
dev-fixHoangNguyen0403/agent-skills-standardSkill597yesterdayMITA43Codex
common-git-collaborationHoangNguyen0403/agent-skills-standardSkill597yesterdayMITA40Claude Code, Codex
changelog-automationkrivoox/agent-stack-templateSkill302mo agoMITA42Claude Code, Codex
caveman-commitHoangNguyen0403/agent-skills-standardSkill597yesterdayMITA79Claude Code, Codex