simplifier

simplifier is an agent for Claude Code from Alexander-Tyagunov/magician. It costs 45 tokens per session (400 once invoked), scanned A, original, MIT.

A code-review agent focused on finding unnecessary complexity, premature abstractions, and over-engineering. It needs the relevant diff or files and reports every possible simplification it finds.

In plain words
What is it for?
Reviewing pull requests or diffs for needless wrappers, abstractions, dependencies, feature flags, and excessive error handling.
Why use it?
It helps remove code that is harder to understand or maintain than the problem requires.

Agent for Claude Code

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

Part of the magician plugin — 26 skills, 4 agents, 10 hooks shipped together

Good fit Reviewing pull requests or diffs for needless wrappers, abstractions, dependencies, feature flags, and excessive error handling.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alexander-tyagunov/magician/simplifier
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/Alexander-Tyagunov/magician

Made for: Claude Code.

Or install magician, the plugin that ships this one along with the rest of its 26 skills, 4 agents, 10 hooks.

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 simplifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexander-tyagunov/magician/simplifier/github.svg)](https://agentmods.dev/agents/alexander-tyagunov/magician/simplifier)
Your own site
<a href="https://agentmods.dev/agents/alexander-tyagunov/magician/simplifier"><img src="https://agentmods.dev/badge/agents/alexander-tyagunov/magician/simplifier/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 simplifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/alexander-tyagunov/magician/simplifier"><img src="https://agentmods.dev/badge/agents/alexander-tyagunov/magician/simplifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 400 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.00045 $0.00400
Opus 5 $0.00023 $0.00200
Sonnet 5 $0.00009 $0.00080
Haiku 4.5 $0.00005 $0.00040

Measured 8d ago against content hash 9f423da918c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

simplifier 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 8d 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.

agents/simplifier.md · 42 lines

What it actually says

Simplifier Agent

You are a code simplification reviewer. Your job is to find over-engineering and unnecessary complexity.

Context you receive

You do not see the prior conversation. Your spawn prompt must contain the change scope (files/diff) and goal. If the diff or target files were not provided, say NEEDS_CONTEXT: <what is missing> and stop rather than guessing.

Review Checklist

  • No premature abstractions (interfaces/generics for a single use case)
  • No unnecessary indirection (wrapper that adds no value)
  • No feature flags or backward-compatibility shims for code not yet shipped
  • Functions and classes do one thing
  • No error handling for scenarios that cannot happen
  • Dependencies are actually needed

Report coverage, not a shortlist

Your job at this stage is recall. Report every simplification you see, including ones you are uncertain about and ones you judge minor. Do not filter for importance or confidence — a separate pass ranks and drops findings, and it can only drop what you surfaced. Style and naming preferences are the one exception: those are nits, not findings, and they stay out.

Output Format

For each finding:

SEVERITY: Important | Suggestion
CONFIDENCE: High | Medium | Low
FILE: path/to/file.ts:line
ISSUE: <what is over-engineered>
SIMPLIFICATION: <what to remove or replace>

End with: SIMPLIFIER COMPLETE. Findings: <N important, N suggestions>.

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. 8d ago First seen · 42 lines · 45 tokens per session scan A 9f423da918c9

Subscribe to this mod's changes

simplifier is an agent published in the GitHub repository Alexander-Tyagunov/magician (14 stars, last pushed 8d ago), licensed MIT. It adds 45 tokens to every session and 400 once invoked, about $0.0002 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

forge-reviewer

Reviews code against spec requirements and quality standards. Returns PASS or ISSUES with file:line references and severity levels. Dispatched after task implementation.

LucasDuys/forge · 33 tokens

python-cli-architect

Python CLI (Click/Typer) architecture specialist. Validates command/service layering, arg-parsing discipline, Rich output usage, and Pydantic Settings config. Dispatch when touching CLI commands, services, config, or output formatting.

onlygian/G-Forge · 51 tokens

python-data-architect

Python data pipeline (Pandas/Polars + SQLAlchemy) architecture specialist. Validates pipeline/transform/loader/writer layering, pure-function transforms, no-mutation discipline, type hint requirements, and Polars-over-Pandas guidance. Dispatch when touching pipelines, transforms, loaders, writers, or schema models.

onlygian/G-Forge · 68 tokens

python-ml-architect

Python ML (PyTorch/scikit-learn) architecture specialist. Validates data/model/training/evaluation/inference layering, config-driven hyperparameters, reproducibility discipline, and pipeline separation. Dispatch when touching model definitions, training loops, datasets, or inference code.

onlygian/G-Forge · 59 tokens

python-textual-architect

Python Textual TUI architecture specialist. Validates App/Screen/Widget layering, service delegation, reactive state discipline, and Textual import isolation. Dispatch when touching screens, widgets, services, or app structure.

onlygian/G-Forge · 49 tokens

doc-reviewer

Use proactively when documentation changes, when public exports change, or at milestone close. Read-only documentation review gate — checks docs for accuracy, currency, completeness, clarity, and volatile in-flight state against the code. Reports with file:line refs and severity, then issues DOCS READY or DOCS HOLD.…

onlygian/G-Forge · 69 tokens