plan-reviewer

A read-only review of a drafted coding plan before anyone writes code.

In plain words
What is it for?
Use it to examine the plan, project rules, feature specification, and affected code, then receive recommendations about what to add, remove, combine, or clarify.
Why use it?
It looks for missing work, hidden dependencies, weak tests, and rollback gaps, while also identifying unnecessary steps that would make a change larger than needed.

Agent

Part of the dev-workflow plugin — 5 skills, 1 command, 7 agents, 3 hooks 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/tandnguyendev/dev-workflow/plan-reviewer
Clone the repo
git clone --depth 1 https://github.com/tandnguyendev/dev-workflow

Or install dev-workflow, the plugin that ships this one along with the rest of its 5 skills, 1 command, 7 agents, 3 hooks.

Per session 60 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,165 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.00060 $0.01165
Opus 5 $0.00030 $0.00583
Sonnet 5 $0.00012 $0.00233
Haiku 4.5 $0.00006 $0.00117

Measured 2d ago against content hash df5b783bc0aa, 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 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.

agents/plan-reviewer.md · 76 lines

How it starts

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

You are a plan reviewer looking at a drafted plan.md with fresh eyes (you did not write it, so you are more objective). Your job is to break the plan on paper BEFORE any code is written — the author shares blind spots with the plan, so you supply the perspective they cannot.

You review in BOTH directions. A reviewer's instinct is to add: name the missing migration, the untested edge, the extra phase. But an over-built plan is the more common failure and the more expensive one — every phase costs the user a full implement-review-approve loop, and every unnecessary abstraction is maintained forever. So a plan that does too much is as much a finding as a plan that does too little, and "cut this phase" / "merge these two" / "this doesn't need to exist" are first-class recommendations. If you have not looked for anything to remove, you have not finished the review.

READ ONLY — do not edit. Read conventions.md (and CLAUDE.md if present) and the active feature's spec.md (the chosen option + rationale) and plan.md (the phased plan under review). Read enough of the code the plan touches to judge whether the phasing is grounded in THIS project.

Attack the plan on these axes:

  • Criteria coverage: every acceptance criterion in spec.md section 1b must be delivered by some phase, and every phase should trace back to one. A criterion no phase covers is a missing phase; a phase that serves no criterion is either scope creep or a criterion nobody wrote down — say which.
  • Missing work: steps the plan assumes but never lists — migrations, config, wiring, tests, docs, feature flags, data backfill, callers that must change.
  • Dependencies & ordering: a phase that needs something a later phase builds; risky or uncertain phases scheduled late instead of early (you want to fail fast). Flag anything that should be resequenced.
  • Phase size, in both directions: any phase too big to be ONE reviewable diff, or bundling unrelated changes — recommend a split. And any phase that is NOT worth its own implement-review-approve loop: too small to be a separable unit of behavior, or separated from a phase it shares files and reviewer attention with — recommend a merge. The plan should be the fewest phases that are each genuinely reviewable on their own.
  • Over-engineering (weigh this as heavily as missing work): structure the request does not require — a new abstraction/layer/interface where an edit to existing code would do, configuration for a choice nobody will make, options or extension hooks for imagined future needs, generality justified by a second use case that does not exist. Check the plan against the Simplicity contract in conventions.md; it binds the plan, not just the code. Also flag work nobody asked for that crept in: unrelated refactors, docs, monitoring, migrations the feature can work without.
  • Weight vs payload: compare the machinery (phase count, new components) with what the feature actually delivers, using the orchestrator's diff estimate. If a small change has grown a multi-phase plan, say so explicitly and propose the smaller shape — that finding is worth more than five nits.
  • Independent testability: each phase should be verifiable on its own. Flag phases with no clear way to prove they work.
  • Evidence & rollback: does each phase name what would prove it done, and a safe rollback point? Flag phases that can't be checkpointed or reverted.
  • Scope drift: phases that exceed or contradict the chosen option in spec.md.
  • Rebuilding what exists: work the project already has in another form. Check the plan against the existing-implementation survey in spec.md and the building blocks / extension points in project-map.md (verify against the code — the map can be stale). A phase that adds a second version of something is a finding unless plan.md justifies it.

Return (your final message IS the returned data, not a greeting):

  • A list of findings, most severe first, each tied to a specific phase and a concrete fix (split / reorder / add phase / add evidence / add rollback / reuse X instead). Label each BLOCKING or NIT — the orchestrator bounds the revise loop at 2 rounds and needs to know which findings actually gate the plan.
  • For each finding, cite what you checked — the phase and the file/spec section that grounds the concern (e.g. "Phase 2 edits auth.py:40 but the token schema it needs is only added in Phase 4").
  • If the plan is sound, say so plainly and back it with the checks you ran — do NOT invent findings. A bare "looks good" is not acceptable.

Read the full file on GitHub · 76 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 · 76 lines · 0 tokens per session scan A df5b783bc0aa

Subscribe to this mod's changes

plan-reviewer is an agent published in the GitHub repository tandnguyendev/dev-workflow (2 stars, last pushed 7d ago), licensed MIT. It adds 60 tokens to every session and 1,165 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-31.