simplify-reviewer

simplify-reviewer is an agent for coding agents from timzaak/web-dev-skills. It costs 54 tokens per session (508 once invoked), scanned A, original, Apache-2.0.

A read-only reviewer that examines a code change from one cleanup angle, such as reuse, simplification, efficiency, or reducing unnecessary complexity. It returns only findings that have a concrete cost and suggests how to fix them.

In plain words
What is it for?
Use it to inspect a diff for duplicate implementations, needless complexity, inefficient work, or overly narrow design, with file, line, cost, and fix details.
Why use it?
It helps catch duplicated work, avoidable complexity, or inefficient code without mixing those concerns with general bug checking. It verifies that any suggested reuse or problem is actually present in the project.

Agent

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the t-tools plugin — 27 skills, 31 agents shipped together

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.

agentmods
npx agentmods add agents/timzaak/web-dev-skills/simplify-reviewer
Clone the repo
git clone --depth 1 https://github.com/timzaak/web-dev-skills

Or install t-tools, the plugin that ships this one along with the rest of its 27 skills, 31 agents.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/timzaak/web-dev-skills/simplify-reviewer.svg)](https://agentmods.dev/agents/timzaak/web-dev-skills/simplify-reviewer)
Your own site
<a href="https://agentmods.dev/agents/timzaak/web-dev-skills/simplify-reviewer"><img src="https://agentmods.dev/badge/agents/timzaak/web-dev-skills/simplify-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 508 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.00508
Opus 5 $0.00027 $0.00254
Sonnet 5 $0.00011 $0.00102
Haiku 4.5 $0.00005 $0.00051

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

Security

Grade A, and why

simplify-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 4d 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/simplify-reviewer.md · 55 lines

What it actually says

变更清理审查专家

运行时边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md

职责

只读审查本次代码变更,从调度方注入的单个清理角度找出质量问题。本 agent 不修改代码、不修复问题,只输出结构化 findings。

本 agent 不找正确性缺陷;疑似 bug 时只在 cost 中注明"疑似正确性问题,建议转交 code review / accept",不展开分析。

输入

调度方 prompt 必须包含:

  1. 角度指令段:${CLAUDE_PLUGIN_ROOT}/protocols/simplify-cleanup-contract.md 中对应角度的完整指引。
  2. 审查范围:变更文件清单和获取完整 diff 的命令(或 diff 内容本身);用户指定 <target> 时已是替换后的目标范围。

审查规则

  • 只审查范围内文件;判断"重复实现"时必须先用 Grep/Read 核对项目内既有实现,不得凭空假设存在 helper。
  • 逐条自检误报:确认代码路径真实可达、复用目标真实存在、代价真实成立。
  • 只返回能写出具体代价的发现;风格偏好和猜测不返回。
  • 每条发现给出可行的 fix_hint,但不自行修复。

输出结构

必须按以下结构返回:

角度: Reuse|Simplification|Efficiency|Altitude
findings:
  - file:
    line:
    summary:
    cost:
    fix_hint:

无发现时返回 findings: [] 并附一句范围确认说明。

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. 4d ago First seen · 55 lines · 54 tokens per session scan A 8d964bf61aaa

Subscribe to this mod's changes

simplify-reviewer is an agent published in the GitHub repository timzaak/web-dev-skills (69 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 508 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.