consistency-check

consistency-check is a skill for Claude Code, Codex from striderZA/OpenCodeGameStudios. It costs 58 tokens per session (2,378 once invoked), scanned A, a copy of consistency-check, MIT.

A consistency checker for game design documents and a shared entity registry. An entity is a named game object such as a character, item, or other reusable element.

In plain words
What is it for?
Use it to check game documents against the entity registry, investigate conflicts, and keep shared game rules aligned.
Why use it?
It finds cases where the same entity, statistic, or formula is described differently in different documents.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/striderza/opencodegamestudios/consistency-check
Any agent
npx skills add striderZA/OpenCodeGameStudios --skill consistency-check
Clone the repo
git clone --depth 1 https://github.com/striderZA/OpenCodeGameStudios

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 consistency-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/striderza/opencodegamestudios/consistency-check.svg)](https://agentmods.dev/skills/striderza/opencodegamestudios/consistency-check)
Your own site
<a href="https://agentmods.dev/skills/striderza/opencodegamestudios/consistency-check"><img src="https://agentmods.dev/badge/skills/striderza/opencodegamestudios/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,378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% 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 $0.00058 $0.02378
Opus 5 $0.00029 $0.01189
Sonnet 5 $0.00012 $0.00476
Haiku 4.5 $0.00006 $0.00238

Measured yesterday against content hash e16448cd8ffa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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

91% identical to consistency-check — 41 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/modules/design/skills/consistency-check/SKILL.md · 276 lines

How it starts

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

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 /design-system's per-section checks may have missed and what /review-all-gdds's holistic review catches too late.

When to run:

  • After writing each new GDD (before moving to the next system)
  • Before /review-all-gdds (so that skill starts with a clean baseline)
  • Before /create-architecture (inconsistencies poison downstream ADRs)
  • On demand: /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 /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 } }

Count total registered entries. Report:

Registry loaded: [N] entities, [N] items, [N] formulas, [N] constants
Scope: [full | since-last-review | entity:name]

Phase 2: Locate In-Scope GDDs

Read the full file on GitHub · 276 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. yesterday First seen · 276 lines · 58 tokens per session scan A e16448cd8ffa

Subscribe to this mod's changes

consistency-check is a skill published in the GitHub repository striderZA/OpenCodeGameStudios (84 stars, last pushed 24d ago), licensed MIT. It adds 58 tokens to every session and 2,378 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to consistency-check, differing in 41 lines, and is treated as a copy.