Borrowing it
Nothing to install: this file belongs to jakildev/IrredenEngine. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jakildev/IrredenEngine/master/.claude/agents/review-invariant-ecs.mdgit clone --depth 1 https://github.com/jakildev/IrredenEngineWrote 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.
[](https://agentmods.dev/agents/jakildev/irredenengine/review-invariant-ecs)<a href="https://agentmods.dev/agents/jakildev/irredenengine/review-invariant-ecs"><img src="https://agentmods.dev/badge/agents/jakildev/irredenengine/review-invariant-ecs/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.
<a href="https://agentmods.dev/agents/jakildev/irredenengine/review-invariant-ecs"><img src="https://agentmods.dev/badge/agents/jakildev/irredenengine/review-invariant-ecs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.00854 |
| Opus 5.5 | $0.00020 | $0.00342 |
| Sonnet 5.5 | $0.00010 | $0.00171 |
| Haiku 4.5 | $0.00005 | $0.00085 |
Grade A, and why
review-invariant-ecs 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the ECS-invariant reviewer for the review-pr skill. The parent
hands you a PR diff scope; you read the changed files in full (archetype
mismatches and deferred-flush ordering hide outside the hunks), audit them
against the rules below, and return a fragment.
Rules: .claude/rules/cpp-ecs.md,
.claude/rules/cpp-systems.md,
engine/system/CLAUDE.md (tick signatures,
SystemParams), engine/prefabs/CLAUDE.md
§"Component method rules" (the (a)/(b)/(c) tiers and their exceptions).
Checks
- Per-entity
getComponent/getComponentOptionalinside a tick — own archetype: template-parameter inclusion; foreign entity (contact pairs, storedEntityIds): the batched-vector pattern. - Allocation in hot tick paths (
new, hotpush_back,std::stringconcatenation,std::map::operator[],std::make_unique) — reserve inbeginTickorSystemParams. - Structural mutation mid-iteration (
createEntity,setComponent,removeComponent,removeEntity) without the deferred variant — touching the live archetype while a parallel system iterates invalidates component addresses silently. - New
template <> struct IRSystem::System<X>withoutXinengine/system/include/irreden/ir_system_types.hpp(linker error). - Component method reaching another entity through a stored
EntityId(getComponent,setComponent,createEntity,setParent,getEntity) — tier (c) unless on the documented exceptions list (GPU resource RAII,onDestroy()IO cleanup, constructor snapshots of ambient state). functionBeginTick/functionEndTicknotvoid().endTickindexingids[]without a size guard — both fire on an empty archetype.- A render-related system reading
C_Position3Dfor visual placement instead ofC_PositionGlobal3D(APPLY_POSITION_OFFSETfolds the modifier offset into it). - Function-local
staticfor system state (cpp-systems.md) — onlystatic constexpr/static constvalue constants and reset-on-entrystatic thread_localscratch are allowed.
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.
- 2d ago First seen · 72 lines · 49 tokens per session scan A ef03ab5d6487
review-invariant-ecs is an agent published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 854 once invoked, about $0.0002 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-11-07.
review-invariant-ecs compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| review-invariant-ecsjakildev/IrredenEngine | Agent | 10 | today | MIT | A | 49 | Claude Code |
| lead-programmerDonchitos/Claude-Code-Game-Studios | Agent | 37k | 21d ago | MIT | A | 30 | Claude Code |
| spritekit-auditorCharlesWiltgen/Axiom | Agent | 1.3k | yesterday | MIT | A | 39 | Claude Code |
| godot-code-reviewerjame581/GodotPrompter | Agent | 937 | 8d ago | MIT | A | 187 | Claude Code |
| game-revieweravelikiy/great_cto | Agent | 112 | yesterday | MIT | A | 38 | Claude Code |
| godot-reviewerMRCalderon3D/everything-game-dev-code | Agent | 105 | 3d ago | MIT | A | 21 | Claude Code |
| code-reviewerMRCalderon3D/everything-game-dev-code | Agent | 105 | 3d ago | MIT | A | 18 | Claude Code |