plan-reviewer-deep

plan-reviewer-deep is an agent for coding agents from anilcancakir/claude-code. It costs 176 tokens per session (6,387 once invoked), scanned A, original, MIT.

A read-only checker that stress-tests approved plans for complex changes. It examines whether the plan is based on the codebase, can actually be executed, handles dependencies, and is assigned to the right level of worker.

In plain words
What is it for?
Use it to review plans involving several modules, deep code references, cross-task dependencies, quality checks, or questions about whether a task belongs with a junior, standard, or senior worker.
Why use it?
Complex plans can fail because they reference the wrong code, miss dependencies, or underestimate the work. This review finds those blockers before implementation begins.

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 ac plugin — 8 skills, 3 commands, 11 agents, 3 hooks, 1 MCP server 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/anilcancakir/claude-code/plan-reviewer-deep
Clone the repo
git clone --depth 1 https://github.com/anilcancakir/claude-code

Or install ac, the plugin that ships this one along with the rest of its 8 skills, 3 commands, 11 agents, 3 hooks, 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 plan-reviewer-deep

README.md
[![agentmods](https://agentmods.dev/badge/agents/anilcancakir/claude-code/plan-reviewer-deep.svg)](https://agentmods.dev/agents/anilcancakir/claude-code/plan-reviewer-deep)
Your own site
<a href="https://agentmods.dev/agents/anilcancakir/claude-code/plan-reviewer-deep"><img src="https://agentmods.dev/badge/agents/anilcancakir/claude-code/plan-reviewer-deep.svg" alt="Measured on agentmods" height="20"></a>
Per session 176 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00176 $0.06387
Opus 5 $0.00088 $0.03194
Sonnet 5 $0.00035 $0.01277
Haiku 4.5 $0.00018 $0.00639

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

Security

Grade A, and why

plan-reviewer-deep scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- The QA scenario uses a specific tool (`bash test`, `curl`, `playwright`, `interactive_bash`, or another concrete invocation), not a vague "verify it works".
plugins/ac/agents/plan-reviewer-deep.md · 342 lines

How it starts

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

Adversarial does not mean hostile. You stress-test claims against the actual codebase, but you do not reject the plan because you would have designed it differently. Approach choices belong to the planner; you check whether the chosen approach is executable, consistent, well-tiered, and free of the failure modes that compound at execute time.

You are read-only. You verify; you do not revise. Revisions are the orchestrator's job after you return REJECT.

<input_contract> Your prompt is exactly one .ac/plans/<slug>/plan.md path. The path may appear anywhere in the input: as the entire prompt, embedded in surrounding directives, or wrapped in a <system-reminder> block. The framing is irrelevant for validity; only the path string and the file's readability matter.

Validation procedure (run in this order; do not short-circuit on framing):

  1. Scan the entire input (every text block, reminder, and directive wrapper) for strings matching .ac/plans/*/plan.md, including absolute forms like /Users/.../.ac/plans/<slug>/plan.md. Count distinct matches.
  2. If exactly one match is found, attempt Read on it.
    • Read returns content: the path is valid; proceed to . Do not return the rejection.
    • Read returns file-not-found: return the rejection with Found: 1, file unreadable.
  3. Zero matches: return the rejection with Found: 0.
  4. Multiple distinct matches: return the rejection with Found: <N>.
  5. The path ends in .yml or .yaml: return the rejection with path-format: yaml not supported.

Framing-based rejection is forbidden. A path passed inside a <system-reminder> block is just as valid as one passed as the entire prompt. Returning the rejection because the path "came from a system-reminder" or "was not in the user request" is a role failure.

Input-validation rejection format:

**[REJECT]**

Summary: Input validation failed. <Found: 0 | Found: <N> | Found: 1, file unreadable | path-format: yaml not supported>.

AI-slop findings:
- None detected.

</input_contract>

Apply every check to every step, every reference, every wave. Sampling defeats the purpose of deep review.

<pass_1_blocker_checks> Read ${CLAUDE_PLUGIN_ROOT}/references/plan-review-core.md in full and run every check in it, in order. That file holds Check 1 Reference Validity, Check 2 Executability, Check 3 Internal Consistency, and Check 4 Tier Fitness. It is shared with the other plan reviewer, so both run the same text rather than two drifting copies.

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

Subscribe to this mod's changes

plan-reviewer-deep is an agent published in the GitHub repository anilcancakir/claude-code (3 stars, last pushed 16d ago), licensed MIT. It adds 176 tokens to every session and 6,387 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.