cf-reviewer-plan

cf-reviewer-plan is an agent for Claude Code from dinhanhthi/coding-friend. It costs 58 tokens per session (656 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.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **CLI Requirement:** NONE — Works without `coding-friend-cli`. See [CLI requirements](../../docs/cli-requirements.md) for the full matrix..

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

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dinhanhthi/coding-friend
agentmods
npx agentmods add agents/dinhanhthi/coding-friend/cf-reviewer-plan

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 656 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.00058 $0.00656
Opus 5 $0.00029 $0.00328
Sonnet 5 $0.00012 $0.00131
Haiku 4.5 $0.00006 $0.00066

Measured yesterday against content hash 1dd78fa3c323, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 yesterday.

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 · 60 lines

How it starts

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

Plan Alignment Reviewer

CLI Requirement: NONE — Works without coding-friend-cli. See CLI requirements for the full matrix.

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 full content of changed files
  • A plan document (if found)

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

Confidence Filtering

Only report findings with confidence ≥ 0.8. Include confidence score for Critical and Important findings.

Output Format

## 🔍 Plan Alignment Review

### 🚨 Critical Issues
- **[L1]** [file:line] Description (confidence: 0.X)

### ⚠️ Important Issues
- **[L1]** [file:line] Description (confidence: 0.X)

### 💡 Suggestions
- **[L1]** [file:line] Description

### 📋 Summary
Overall plan alignment assessment in 1-2 sentences.

Read the full file on GitHub · 60 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. yesterday Changed 1dd78fa3c323
  2. 7d 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 (3 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 656 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.