IrredenEngine: Agent for Claude Code

.claude/agents/simplify-grep-utility-candidates.md

simplify-grep-utility-candidates is an agent for Claude Code from jakildev/IrredenEngine. It costs 68 tokens per session (665 once invoked), scanned A, original, MIT.

A code-change scanner that finds newly added functions which look like reusable math, coordinate, grid, container, string, or shape helpers, then suggests where they should live in the engine.

In plain words
What is it for?
Use it during cleanup reviews to spot utility candidates in a diff and identify their likely shared home.
Why use it?
It helps prevent general-purpose code from being trapped inside a specific game object or system, where it may be duplicated or hard to reuse.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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-grep-utility-candidates.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-grep-utility-candidates

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/jakildev/irredenengine/simplify-grep-utility-candidates"><img src="https://agentmods.dev/badge/agents/jakildev/irredenengine/simplify-grep-utility-candidates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 665 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.00068 $0.00665
Opus 5.5 $0.00027 $0.00266
Sonnet 5.5 $0.00014 $0.00133
Haiku 4.5 $0.00007 $0.00067

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

Security

Grade A, and why

simplify-grep-utility-candidates 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-grep-utility-candidates.md · 57 lines

How it starts

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

You are the utility-placement 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. 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.

Candidates are new function definitions whose body is vector / matrix / scalar math without ECS or render state, a coordinate transform (iso ↔ world, screen ↔ world, voxel-index ↔ position), 3D-grid iteration (triple for over x/y/z), engine-type-free container manipulation, string / path manipulation, or SDF / distance / shape evaluation.

Pattern Canonical home
Vector / matrix / trig engine/math/include/irreden/math/ir_math.hpp or a sibling under engine/math/
SDF / distance fields engine/math/include/irreden/math/sdf.hpp
Iso ↔ world transforms engine/math/ (IRMath::iso_* family)
3D-grid iteration engine/math/ grid helpers (IRMath::forEachCell3D)
Container helpers engine/utils/include/irreden/utils/ir_container_utils.hpp
String / path helpers engine/utils/include/irreden/utils/ir_string_utils.hpp
Texture writes / pixel packing, vertex/buffer composition engine/render/include/irreden/render/
Shader-side math primitives engine/render/src/shaders/ir_*.glsl includes

Glob to confirm the cited header exists. A candidate that fits no row is reported "deferred — pick a home" with one or two suggestions.

Output

- [<confidence>] <new-path>:<new-line>: `<name>` — looks like <classification>; canonical home is <existing-path>
  • high — body uses only math / std / container types; slots into the home with no engine dependency pulled along.
  • medium — leans on one engine type (IRMath::vec3); small refactor.
  • deferred — mixes utility logic with creation- or system-specific state.

Read the full file on GitHub · 57 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 · 57 lines · 68 tokens per session scan A d45a93c20f7a

Subscribe to this mod's changes

simplify-grep-utility-candidates is an agent published in the GitHub repository jakildev/IrredenEngine (10 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 665 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-grep-utility-candidates compared with agents from other repositories

simplify-grep-utility-candidates next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
simplify-grep-utility-candidatesjakildev/IrredenEngineAgent10todayMITA68Claude 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