cf-reviewer-plan

cf-reviewer-plan is an agent for Claude Code from dinhanhthi/coding-friend. It costs 52 tokens per session (717 once invoked), scanned A, original, MIT.

A code-review agent that compares code changes with an implementation plan. It checks whether planned work is missing, altered, or expanded beyond the agreed scope.

In plain words
What is it for?
Use it when reviewing a change set against a plan document, especially as part of a broader review process. It is skipped in quick review mode.
Why use it?
It helps catch changes that do not match the plan, including accidental extra work and unfinished requirements.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it when reviewing a change set against a plan document, especially as part of a broader review process. It is skipped in quick review mode.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dinhanhthi/coding-friend/cf-reviewer-plan
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/dinhanhthi/coding-friend

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-reviewer-plan/github.svg)](https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer-plan)
Your own site
<a href="https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer-plan"><img src="https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-reviewer-plan/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 cf-reviewer-plan

Your own site · 80×15
<a href="https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer-plan"><img src="https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-reviewer-plan.svg" alt="Reviewed on agentmods" width="80" 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 717 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.00717
Opus 5.5 $0.00021 $0.00287
Sonnet 5.5 $0.00010 $0.00143
Haiku 4.5 $0.00005 $0.00072

Measured 1mo ago against content hash ef6defb44258, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cf-reviewer-plan 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 1mo 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.

plugin-antigravity/agents/cf-reviewer-plan.md · 62 lines

How it starts

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

Plan Alignment Reviewer

You are a plan alignment specialist. Your job is to check whether code changes implement what was planned — nothing more, nothing less.

Input

You receive:

  • The full diff of code changes
  • The list of changed files — Read the ones you need in full
  • A plan document (if found)

Constraints

Read-only. Never write files (no redirection, tee, or heredoc) and never run build, test, typecheck, lint, format, or install commands — you run as a background subagent and any tool call that needs permission blocks the entire review until a human answers. Use git diff/log/show, grep, cat, sed -n, Read, Glob, Grep only.

Process

  1. Find the plan — Look for the most recently modified plan in docs/plans/. Each plan is a subfolder (<slug>/); read its README.md (the entry point) plus any phase-N-*.md files. Ignore overview.html / overview.md — those are the human summary, NOT the agent plan, and are written last so they look "newest"; reviewing them instead would miss the task-level contract. Also ignore review.md and *-review.md / <slug>-review.md (output of /cf-plan-review); if brief.md exists, read it as context for the user's original intent and confirmed assumptions — it is NOT the task contract; the task-level contract stays in README.md and phase-N-*.md. (Legacy flat plans are a single <slug>.md file — read that.) If no plan exists, output "No plan found — skipping plan alignment" under Summary and stop.
  2. Map plan to changes — For each planned item, check if the diff implements it
  3. Flag deviations:
    • Missing: Planned items not implemented in the diff
    • Out-of-scope: Changes in the diff that aren't in the plan
    • Partial: Planned items only partially implemented

Severity

  • Missing a critical planned item → Critical
  • Out-of-scope changes that could cause issues → Important
  • Minor scope deviations or partial implementations → Suggestion

Read the full file on GitHub · 62 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. 1mo ago Changed · -6 tokens per session ef6defb44258
  2. 1mo ago Changed · +4 lines a9ccba2cbab4
  3. 1mo ago Changed · -2 lines 0dd8694956a5
  4. 1mo ago Changed 1dd78fa3c323
  5. 1mo ago First seen · 60 lines · 58 tokens per session scan A 1216822cbfc7

Subscribe to this mod's changes

cf-reviewer-plan is an agent published in the GitHub repository dinhanhthi/coding-friend (4 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 717 once invoked, about $0.0002 per session on Opus 5.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.