consistency-check

consistency-check is a skill for Codex from frabcd/codex-ai-game-studio. It costs 58 tokens per session (2,777 once invoked), scanned A, a copy of consistency-check, MIT.

A comparison of game-design documents against a central entity registry. The registry is a shared list of named game entities and their values, such as items, characters, or formulas.

In plain words
What is it for?
Use it after writing a design document, before broad design reviews, or before creating the architecture; it can also check one named entity.
Why use it?
It finds cases where the same entity has different statistics, prices, or formulas in different documents. Catching these conflicts early prevents inconsistent design from affecting later architecture work.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex; $skill-name invocation.

Good fit Use it after writing a design document, before broad design reviews, or before creating the architecture; it can also check one named entity.

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

Made for: 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 consistency-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/consistency-check.svg)](https://agentmods.dev/skills/frabcd/codex-ai-game-studio/consistency-check)
Your own site
<a href="https://agentmods.dev/skills/frabcd/codex-ai-game-studio/consistency-check"><img src="https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/consistency-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,777 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.00058 $0.02777
Opus 5 $0.00029 $0.01388
Sonnet 5 $0.00012 $0.00555
Haiku 4.5 $0.00006 $0.00278

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

Security

Grade A, and why

consistency-check 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 8d 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 consistency-check — 48 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.

plugins/ai-game-studio/skills/consistency-check/SKILL.md · 311 lines

How it starts

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

Port provenance: adapted from the pinned upstream source at 984023ddac0d5e27624f2baacde6105e45de375f under MIT; see the repository parity ledger for the exact path and blob.

Consistency Check

Detects cross-document inconsistencies by comparing all GDDs against the entity registry (design/registry/entities.yaml). Uses a grep-first approach: reads the registry once, then targets only the GDD sections that mention registered names — no full document reads unless a conflict needs investigation.

This skill is the write-time safety net. It catches what $ai-game-studio:design-system's per-section checks may have missed and what $ai-game-studio:review-all-gdds's holistic review catches too late.

When to run:

  • After writing each new GDD (before moving to the next system)
  • Before $ai-game-studio:review-all-gdds (so that skill starts with a clean baseline)
  • Before $ai-game-studio:create-architecture (inconsistencies poison downstream ADRs)
  • On demand: $ai-game-studio:consistency-check entity:[name] to check one entity specifically

Output: Conflict report + optional registry corrections


Phase 1: Parse Arguments and Load Registry

Modes:

  • No argument / full — check all registered entries against all GDDs
  • since-last-review — check only GDDs modified since the last review report
  • entity:<name> — check one specific entity across all GDDs
  • item:<name> — check one specific item across all GDDs

Load the registry:

Read path="design/registry/entities.yaml"

If the file does not exist or has no entries:

"Entity registry is empty. Run $ai-game-studio:design-system to write GDDs — the registry is populated automatically after each GDD is completed. Nothing to check yet."

Stop and exit.

Build four lookup tables from the registry:

  • entity_map: { name → { source, attributes, referenced_by } }
  • item_map: { name → { source, value_gold, weight, ... } }
  • formula_map: { name → { source, variables, output_range } }
  • constant_map: { name → { source, value, unit } }

Read the full file on GitHub · 311 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 311 lines · 58 tokens per session scan A 6b043cdc9f98

Subscribe to this mod's changes

consistency-check is a skill published in the GitHub repository frabcd/codex-ai-game-studio (9 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 2,777 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to consistency-check, differing in 48 lines, and is treated as a copy.

Related

Other skills, from other repositories

tune-performance

Use when the user reports the game is slow, drops framerate, stutters, takes forever to start, or runs poorly on specific hardware. Profiles the running game via summergetdiagnostics, identifies hotspots (rendering / physics / scripting), and proposes specific fixes with before/after metric expectations. Trigger on…

SummerEngine/summer-engine-agent · 94 tokens

diagnosing-perf-regressions

Use when frame rate, frame time, or load time has gotten worse since a known-good state — "it used to run at 60, now it's at 30." Focused on finding the cause of a regression, not general performance tuning.

SummerEngine/summer-engine-agent · 58 tokens

debugging-game-feel

Use when a gameplay feature works correctly but feels wrong — floaty jumps, mushy combat, sluggish camera, weightless impacts. Different from logical bug debugging; the bug is subjective and lives in tuning, timing, and feedback layers.

SummerEngine/summer-engine-agent · 53 tokens

game-performance

Hit frame budget: draw calls, batching, GC spikes, LOD strategy and in-engine profiling. Use when profiling frame times, draw calls, GPU bottlenecks, or memory.

poorvith-mp/skills-gamedev · 40 tokens

cpp-server-crash-triage

Use when triaging a C++ game server crash, dump, access violation, segmentation fault, stack trace, symbols, or build identity into a stable signature and ranked root-cause plan.

hoatv2211/GameStudio-CodexKIT · 46 tokens

multi-service-local-environment-doctor

Use when diagnosing a multi-service local game environment with port conflicts, process listeners, configured ports, service names, startup dependencies, and cross-project isolation concerns.

hoatv2211/GameStudio-CodexKIT · 39 tokens