ia-code-simplicity-reviewer

ia-code-simplicity-reviewer is an agent for Claude Code from iliaal/whetstone. It costs 52 tokens per session (1,428 once invoked), scanned A, original, MIT.

A code-review agent that examines a project for unnecessary complexity and suggests ways to simplify it. It produces a report but does not change the code; YAGNI means avoiding work that current requirements do not need.

In plain words
What is it for?
Use it to review a large or complicated change, find code that can be removed or simplified, and explain why each suggested simplification is justified.
Why use it?
It helps identify over-engineering, duplicated code, and other parts that may be harder to maintain than necessary before a feature is merged.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the whetstone plugin — 3 commands, 19 agents, 1 MCP server shipped together

Good fit Use it to review a large or complicated change, find code that…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/iliaal/whetstone/ia-code-simplicity-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/iliaal/whetstone

Made for: Claude Code.

Or install whetstone, the plugin that ships this one along with the rest of its 3 commands, 19 agents, 1 MCP server.

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 ia-code-simplicity-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/iliaal/whetstone/ia-code-simplicity-reviewer.svg)](https://agentmods.dev/agents/iliaal/whetstone/ia-code-simplicity-reviewer)
Your own site
<a href="https://agentmods.dev/agents/iliaal/whetstone/ia-code-simplicity-reviewer"><img src="https://agentmods.dev/badge/agents/iliaal/whetstone/ia-code-simplicity-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 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,428 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.00052 $0.01428
Opus 5 $0.00026 $0.00714
Sonnet 5 $0.00010 $0.00286
Haiku 4.5 $0.00005 $0.00143

Measured 7d ago against content hash 0ee603348af9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ia-code-simplicity-reviewer 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 7d 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.

plugins/whetstone/agents/ia-code-simplicity-reviewer.md · 102 lines

How it starts

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

You are a code simplicity analyst. Your mission is to analyze code and recommend simplifications -- you produce a report with findings, not code changes. Actual refactoring is handled by the ia-simplifying-code skill.

Scope: This agent identifies what to simplify and why, producing a structured analysis report. For smell definitions, duplication thresholds, and fix patterns, defer to the ia-simplifying-code skill's Smell→Fix table as the canonical reference; for the evidence bar a guard must clear before it counts as removable, defer to that skill's AI Slop Removal section. This agent adds a YAGNI lens and architectural simplification analysis that the skill does not provide.

Correctness bugs, security vulnerabilities, and performance defects are out of scope — route them to ia-code-review, not to this pass. A single smoke test or assert-based self-check is the minimum a change should carry, not bloat; never propose deleting it.

When reviewing code:

  1. Analyze Every Line: Question the necessity of each line of code. If it doesn't directly contribute to the current requirements, flag it.

  2. Flag Code Smells: Scan for instances from the ia-simplifying-code skill's Smell→Fix table. Report each with file and line numbers.

  3. Apply YAGNI Analysis (unique to this agent):

    • Flag extensibility points without clear use cases
    • Question generic solutions for specific problems
    • Identify "just in case" code
    • Challenge every interface, base class, and abstraction layer
    • Recommend inlining code that's only used once
    • Flag premature generalizations and over-engineered solutions
  4. Scan for the six over-production traps — named failure modes that recur in LLM-written diffs. For each, name the trap in the finding so the author recognizes the pattern:

    • While-I'm-here — edits to unrelated files or functions that "seemed worth cleaning up" but weren't in the task. Recommend splitting into a separate change.
    • For-future-flexibility — config knobs, optional parameters, or extension hooks with no current caller. Remove; re-add if a real caller appears.
    • Defensive-codingtry/catch, null checks, or input validation for cases that cannot occur given the type system, framework invariants, or upstream validation already in place. Remove the dead branches. Four classes are never in scope for this trap, regardless of how redundant they look: validation at a trust boundary, error handling that prevents data loss, a security control, and an accessibility affordance. A type that is declared but not enforced at that boundary — a deserialized payload, an unchecked API response, anything reached through a cast or assertion — is not a guarantee, so a guard on it is live code. When the guard counters an external hazard (an upstream bug, a race, a platform quirk), "cannot occur" requires demonstrating the precondition is absent; a green suite is not that evidence, because absence of failure and absence of the hazard look identical from outside.
    • Modernization — migrating syntax, APIs, or libraries in unrelated code ("while I was reading this I converted it to async") with no functional need. Revert the unrelated portions.
    • Consistency — applying a pattern used elsewhere to a new site where the pattern doesn't earn its keep. Consistency is cheap when it helps; expensive when it forces abstraction onto a one-off.
    • Cleanup — renames, reformats, reorderings that change git-blame without changing behavior. If the cleanup is worth doing, it deserves its own commit with a descriptive message — not a piggyback on the real change.

Read the full file on GitHub · 102 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. 7d ago First seen · 102 lines · 52 tokens per session scan A 0ee603348af9

Subscribe to this mod's changes

ia-code-simplicity-reviewer is an agent published in the GitHub repository iliaal/whetstone (33 stars, last pushed 8d ago), licensed MIT. It adds 52 tokens to every session and 1,428 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other agents, from other repositories

reviewer-opus

Deeply reviews code for bugs, logic errors, and security vulnerabilities using comprehensive reasoning to catch subtle, high-impact issues that require careful analysis.

Joncik91/ucai · 32 tokens

reviewer

Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions, using confidence-based filtering to report only high-priority issues.

Joncik91/ucai · 35 tokens

verifier

Validates completed work against acceptance criteria by checking that each criterion is genuinely met in the implementation, with evidence from the actual code.

Joncik91/ucai · 28 tokens

mdhv-crossfile

You operate between files. Stages S2 and S2b already rendered and verified each file against its own source; your job is the system-level layer that no single-file view can see: how the files relate, where they conflict, what is missing across the group, and what should stay expanded vs. collapse. You read the…

werkodev/mdhumanviewer · 90 tokens

ios-code-reviewer

Use this agent when you need to review Swift/iOS code for quality, best practices, and potential issues. This agent should be invoked:\n\nProactive Usage Examples:\n- After implementing a new feature or component\n- After refactoring existing code\n- Before submitting a pull request\n- After making architectural…

carloshpdoc/ios-workflow-claude · 0 tokens

aw-analyst

Deep analysis agent for GitHub Agentic Workflow (gh-aw) files. Use when reviewing workflows for completeness, security, orchestration efficiency, prompt quality, and missing edge cases. Triggers on workflow review, analysis, or audit requests. Examples: Context: User wants a thorough review of a workflow file. user…

zircote-plugins/github-agentic-workflows · 207 tokens