cgs-standards-ui-code

cgs-standards-ui-code is a skill for Claude Code from merlinhu1/codex-game-studio. It costs 37 tokens per session (493 once invoked), scanned A, a copy of cgs-standards-shader-code, MIT.

A review guide for game interface code, covering navigation, accessibility, translation, controller support, and layouts that adapt to different states or screens.

In plain words
What is it for?
Use it to review game UI code, report standards violations, suggest focused fixes, and record how the result was checked.
Why use it?
It helps find interface problems that can make menus and in-game information hard to use or unsuitable for different players and devices.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to review game UI code, report standards violations, suggest focused fixes, and record how the result was checked.

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

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 cgs-standards-ui-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/merlinhu1/codex-game-studio/cgs-standards-ui-code/github.svg)](https://agentmods.dev/skills/merlinhu1/codex-game-studio/cgs-standards-ui-code)
Your own site
<a href="https://agentmods.dev/skills/merlinhu1/codex-game-studio/cgs-standards-ui-code"><img src="https://agentmods.dev/badge/skills/merlinhu1/codex-game-studio/cgs-standards-ui-code/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 cgs-standards-ui-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/merlinhu1/codex-game-studio/cgs-standards-ui-code"><img src="https://agentmods.dev/badge/skills/merlinhu1/codex-game-studio/cgs-standards-ui-code.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 493 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 88% copy Near-identical to another mod 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.00493
Opus 5 $0.00018 $0.00246
Sonnet 5 $0.00007 $0.00099
Haiku 4.5 $0.00004 $0.00049

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

Security

Grade A, and why

cgs-standards-ui-code 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.

Origin

This is a copy

88% identical to cgs-standards-shader-code — 24 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/cgs-standards-ui-code/SKILL.md · 65 lines

What it actually says

Codex Game Studio UI Code Standards

Use this skill for ui code standards work in Template Game.

Objective

UI code with navigation, accessibility, localization, controller support, and responsive state handling

Inputs

  • AGENTS.md
  • .codex/studio.json
  • task-relevant source, tests, docs, assets, or data files

Arguments

  • Objective or user request.
  • Target files, scenes, assets, or docs.
  • Constraints, deadlines, acceptance criteria, and verification command when known.

Procedure

  1. Read the requested files and identify the ui code standards rule being applied.
  2. Check UI code with navigation, accessibility, localization, controller support, and responsive state handling.
  3. Report violations with file paths, impact, smallest safe fix, and verification evidence.

Output Contract

  • Rule applied
  • Files checked
  • Violations
  • Verification

Quality Gates

  • Navigation
  • Accessibility
  • Localization
  • Scope remains bounded to the current task and project stage.
  • Report labels unverified assumptions separately from evidence.

Decision Gates

  • Continue only when the expected output can be verified or clearly labeled as a plan.
  • Escalate to producer or qa-playtester when scope, ownership, or acceptance evidence is ambiguous.
  • Stop before broad rewrites, generated prompt mirrors, or hidden lifecycle behavior.

Handoff

Report changed files, verification evidence, remaining risks, and the next owner or decision. Do not imply hidden hooks or autonomous background work.

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 First seen · 65 lines · 0 tokens per session scan A fdc59d6323b9

Subscribe to this mod's changes

cgs-standards-ui-code is a skill published in the GitHub repository merlinhu1/codex-game-studio (54 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 493 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to cgs-standards-shader-code, differing in 24 lines, and is treated as a copy.