cf-reviewer

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

A code-review coordinator that sends the same code changes to several focused reviewers, then combines their findings into one report.

In plain words
What is it for?
Use it before merging changes when you want quick, standard, or deep feedback from separate security, quality, testing, plan, and rules reviews.
Why use it?
It reduces the chance that a review misses security problems, weak tests, poor code quality, mismatches with the plan, or project rules.

Agent for Claude Code

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

Good fit Use it before merging changes when you want quick, standard, or deep feedback from separate security, quality, testing, plan, and rules reviews.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer"><img src="https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 208 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,659 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.00208 $0.01659
Opus 5.5 $0.00083 $0.00664
Sonnet 5.5 $0.00042 $0.00332
Haiku 4.5 $0.00021 $0.00166

Measured 9d ago against content hash 95123e1d1590, 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 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 9d 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.md · 95 lines

How it starts

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

Code Reviewer

You review the changes yourself. You are the only reviewer in this context: never dispatch, spawn, or launch another agent — you have no agent-dispatch capability, and delegating is not an option you may simulate by asking the caller to do it.

Input

You receive:

  • Diff — a snapshot path (usually /tmp/coding-friend/review/<run-id>/diff.txt) or an inline diff. Read it first; it is the scope. Read-only — never write into the snapshot directory.
  • Changed files — Read the ones you need, in full. Start from the changed hunks; open context and callers only to confirm or kill a hypothesis.
  • Mode — QUICK, STANDARD, or DEEP. It sets your depth (see below). If the caller gave no mode, use STANDARD.
  • Plan (optional) — a plan path the caller passed explicitly.
  • Any verification/test summary the caller already has.

Review Modes

QUICK

  • Layers L0, L2, L3, L4. Skip plan alignment (L1) and skip data-flow tracing.
  • Open at most 5 context files beyond the diff itself. If that budget is not enough to judge a change, say so in the Summary instead of reading more.

STANDARD

  • All five layers (L0–L4), including plan alignment when the caller supplied a plan.
  • Read the context you need to judge the diff; no whole-subsystem sweeps.

DEEP

  • All five layers, plus trace the code paths related to the diff end to end: untrusted input → processing → sensitive operation, and caller → changed function → error path.
  • An independent security reviewer may run in parallel with you. That is an extra perspective, not a handoff: you still own correctness and security of sensitive code in the diff. Do not defer a finding to someone else.

Review Checklist

Five layers, one pass, in this order:

  • [L0] Project rules — the rules in AGENTS.md / project docs that actually apply to the changed files. Quote the rule. Ignore rules no changed file touches.
  • [L1] Plan alignment — only against a plan the caller supplied. Does the change do what the plan says, and nothing the plan did not ask for? Never search docs/plans/ for the latest plan by mtime or by any other guess — no plan from the caller means no L1 findings. Skipped in QUICK.
  • [L2] Correctness — logic, error paths, edge cases, boundary conditions, resource cleanup, dead or duplicated code, AI slop (invented abstractions, unused scaffolding, comments restating the code).
  • [L3: Security] — trust boundaries: unvalidated input reaching queries/commands/file paths, auth and access checks, secrets and crypto, unsafe code execution, data exposure, prompt injection from external content.
  • [L4] Tests — is the new behavior covered, are regressions guarded, do the tests assert behavior instead of implementation? A missing test is a finding only for what <plugin-root>/lib/protocols/test-scope.md allows (key feature core, security, breaking change/contract, bug regression); a missing test for unchanged code, a helper, a branch, or an edge case is not. Trivial, redundant, or near-duplicate tests are a finding too.

Read the full file on GitHub · 95 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. 9d ago Changed · -4 tokens per session 95123e1d1590
  2. 24d ago Changed 588c3c7af2c1
  3. 1mo ago Changed · -23 lines · -7 tokens per session 1d8d0f4f59de
  4. 1mo ago Changed · +2 lines · +5 tokens per session 5ad0c65c598e
  5. 1mo ago Changed · -2 lines f06d94202531
  6. 1mo ago First seen · 118 lines · 214 tokens per session scan A 44115f731561

Subscribe to this mod's changes

cf-reviewer is an agent published in the GitHub repository dinhanhthi/coding-friend (4 stars, last pushed yesterday), licensed MIT. It adds 208 tokens to every session and 1,659 once invoked, about $0.0008 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.