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/simplify-scan-loop-patterns.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/simplify-scan-loop-patterns)<a href="https://agentmods.dev/agents/jakildev/irredenengine/simplify-scan-loop-patterns"><img src="https://agentmods.dev/badge/agents/jakildev/irredenengine/simplify-scan-loop-patterns/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/simplify-scan-loop-patterns"><img src="https://agentmods.dev/badge/agents/jakildev/irredenengine/simplify-scan-loop-patterns.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.00078 | $0.00815 |
| Opus 5.5 | $0.00031 | $0.00326 |
| Sonnet 5.5 | $0.00016 | $0.00163 |
| Haiku 4.5 | $0.00008 | $0.00081 |
Grade A, and why
simplify-scan-loop-patterns 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 — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the loop-pattern scanner for the simplify skill. The parent hands
you a diff scope; you return findings, nothing else.
Scope
Diff-scope paths point at the dirty working tree: Read each path directly.
A brand-new untracked file has no git diff hunks — treat its entire
contents as added and flag throughout. Never report clean because a Grep /
Glob / git diff came up empty on a cited path; if you could not read a
path, say so. Otherwise flag only lines in + hunks.
| # | Pattern | Where flagged | Fix |
|---|---|---|---|
| 1 | Triple-nested for over a 3D extent (size.x/y/z, dims, gridSize) indexing a flat buffer or calling per-cell logic |
creations/**, engine/prefabs/irreden/editor/** — not engine/math/** (the iterator lives there) or engine/world/** chunk traversal |
IRMath::forEachCell3D or whichever grid helper engine/math/ has (Glob first); else "extract grid-iteration helper to IRMath" |
| 2 | Quadruple-nested pixel-pack loop followed by subImage2D / glTextureSubImage2D / MTLTexture / vertexAttribPointer or another backend primitive |
creations/** |
extract the pack-and-upload into a renderer helper under engine/render/include/irreden/render/ (mask_grid_painter.hpp style) |
| 3 | IREntity::getComponent<...> inside an inner for within a per-entity tick |
everywhere | hoist and cache the reference, or a system shape that includes the second archetype |
| 4 | new / hot push_back / std::string construction / std::make_unique / std::map::operator[] per iteration of a for inside a tick |
engine/prefabs/irreden/**, creations/**/system_*.{hpp,cpp} |
pre-size in beginTick or SystemParams; reuse |
| 5 | Linear search of a vector by key inside a function named load* / parse* / read* / decode* or under engine/asset/ |
engine/asset/** |
build an unordered_map<Key, ValueRef> once at parse time |
| 6 | Triple-nested grid loop calling evaluate* / sdf* / distance* / signedDistance* per cell |
creations/**, engine/prefabs/irreden/editor/** |
IRMath::SDF::evaluateGrid in engine/math/include/irreden/math/sdf.hpp (Glob; suggest extracting one if absent) |
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 · 42 lines · 78 tokens per session scan A 20181cf17cd8
simplify-scan-loop-patterns is an agent published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 815 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.
simplify-scan-loop-patterns compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| simplify-scan-loop-patternsjakildev/IrredenEngine | Agent | 10 | today | MIT | A | 78 | Claude Code |
| build-failure-analystdotnet/skills | Agent | 5.9k | yesterday | MIT | A | 108 | Claude Code |
| swiftui-performance-analyzerCharlesWiltgen/Axiom | Agent | 1.3k | yesterday | MIT | A | 45 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 662 | 4d ago | MIT | A | 63 | Claude Code |
| predictive-analystsoftspark/ai-toolkit | Agent | 179 | 3d ago | Apache-2.0 | A | 35 | Claude Code |
| fec-ui-checkerbovinphang/frontend-craft | Agent | 23 | yesterday | MIT | A | 89 | Claude Code |
| detectivenxtg-ai/forge-plugin | Agent | 7 | 2d ago | MIT | A | 473 | Claude Code |