IrredenEngine: Agent for Claude Code

.claude/agents/simplify-check-ecs.md

simplify-check-ecs is an agent for Claude Code from jakildev/IrredenEngine. It costs 79 tokens per session (1,096 once invoked), scanned A, original, MIT.

A code-review scanner for entity-component-system (ECS) code, where game-world data is stored in components and processed by systems. It looks for patterns that can make per-frame processing slow or violate project rules.

In plain words
What is it for?
Use it on C++ diffs involving ECS systems to find per-entity and singleton lookup problems, hot-loop allocations, structural changes during iteration, component-layer violations, and voxel-carving issues.
Why use it?
It catches expensive lookups, repeated allocations, unsafe changes during iteration, missing system registration, and other ECS-specific implementation mistakes before they become harder to diagnose.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is jakildev/IrredenEngine's own configuration. It tells Claude Code how to work on IrredenEngine itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything IrredenEngine configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/jakildev/IrredenEngine/master/.claude/agents/simplify-check-ecs.md
Clone the repo
git clone --depth 1 https://github.com/jakildev/IrredenEngine

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 simplify-check-ecs

README.md
[![agentmods](https://agentmods.dev/badge/agents/jakildev/irredenengine/simplify-check-ecs/github.svg)](https://agentmods.dev/agents/jakildev/irredenengine/simplify-check-ecs)
Your own site
<a href="https://agentmods.dev/agents/jakildev/irredenengine/simplify-check-ecs"><img src="https://agentmods.dev/badge/agents/jakildev/irredenengine/simplify-check-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.

agentmods 80×15 button for simplify-check-ecs

Your own site · 80×15
<a href="https://agentmods.dev/agents/jakildev/irredenengine/simplify-check-ecs"><img src="https://agentmods.dev/badge/agents/jakildev/irredenengine/simplify-check-ecs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,096 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 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.00079 $0.01096
Opus 5.5 $0.00032 $0.00438
Sonnet 5.5 $0.00016 $0.00219
Haiku 4.5 $0.00008 $0.00110

Measured 2d ago against content hash 54fcdb20e577, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

simplify-check-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.

.claude/agents/simplify-check-ecs.md · 78 lines

How it starts

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

You are the ECS-smell scanner for the simplify skill. The parent hands you a diff scope; you return findings, nothing else.

Rules: .claude/rules/cpp-ecs.md and .claude/rules/cpp-ecs-smells.md — read them; do not paraphrase from memory.

Checks

For each .hpp/.cpp in the diff:

  1. Per-entity getComponent / getComponentOptional on the iterating entity inside a tick (the lambda passed to createSystem<...>, or System<N>::tick). Fix: add the component to the template parameters.
    • Not flagged: foreign-entity lookups (contact pair .otherEntity_, stored EntityId) — report as "foreign-entity lookup" and recommend the batched-vector pattern (cpp-ecs.md §"Foreign-entity lookups").
    • Not flagged: per-canvas getComponentOptional in a render tick that must visit all canvases while only some carry C_CanvasFogOfWar / C_CanvasSunShadow / C_CanvasLightVolume (cpp-ecs-smells.md §"Per-entity tick violations").
  2. singleton(OrNull|Entity|EntityOrNull)?< inside tick/endTick (not beginTick) — match the whole family. Fix: resolve once in beginTick, cache the pointer, read the cache; exemplar engine/prefabs/irreden/common/systems/system_modifier_resolve_global.hpp.
  3. Allocation in a tick (new, hot push_back, std::string concatenation, std::map::operator[], std::make_unique). Fix: reserve in beginTick or SystemParams.
  4. createEntity / setComponent / removeComponent / removeEntity inside a per-entity tick. Fix: the deferred variants.
  5. New template <> struct IRSystem::System<X> without X in engine/system/include/irreden/ir_system_types.hpp (blocker); an added SystemName entry whose first token is SYSTEM_ (nit — entries are action-first, DISPATCH_LUA_OVERLAP).
  6. Component method calling getComponent / setComponent / createEntity / setParent / getEntity on a different entity, unless on the exceptions list in engine/prefabs/CLAUDE.md §"Component method rules" (GPU resource RAII, onDestroy() IO cleanup, constructor snapshots of ambient state).
  7. functionBeginTick / functionEndTick not void().
  8. endTick indexing ids[0] without an ids.size() guard.
  9. Render system reading C_Position3D for visual placement instead of C_PositionGlobal3D — flag and confirm intent.
  10. Hand-rolled raw-span voxel carve in creations/** or editors/**: a loop over voxels_[i] calling .activate() / .deactivate() (or writing .color_.alpha_) followed by syncActiveMask() and/or IRPrefab::Voxel::recomputeFaceOccupancy(...). Flag whether or not the resync pair is complete — the fix is vs.editVoxels(...) / vs.carve(...) (cpp-ecs.md §"System-owned invariants"). A raw loop followed by resyncAfterRawEdits() is the sanctioned escape hatch — don't flag. needs-fix.

Read the full file on GitHub · 78 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. 2d ago First seen · 78 lines · 79 tokens per session scan A 54fcdb20e577

Subscribe to this mod's changes

simplify-check-ecs is an agent published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,096 once invoked, about $0.0003 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.

Related

simplify-check-ecs compared with agents from other repositories

simplify-check-ecs next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
simplify-check-ecsjakildev/IrredenEngineAgent10todayMITA79Claude Code
cpp-revieweraffaan-m/ECCAgent299k2d agoMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent4.1kyesterdayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent6624d agoMITA63Claude Code
karimo-implementeropensesh/KARIMOAgent29027d agoApache-2.0A49Claude Code
atomic-auditordamusix/atomic-claudeAgent1167d agoMITA169Claude Code
reviewergenkovich/sddAgent19924d agoMITA81Claude Code