cf-reviewer-reducer

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

A review agent that combines reports from several code-review specialists into one report, removing duplicate findings and ranking issues by severity.

In plain words
What is it for?
It helps merge findings from plan, security, quality, test, and project-rule reviews into a single prioritized report.
Why use it?
It prevents repeated issues from cluttering the final review and makes the most serious problems easier to find.

Agent for Claude Code

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

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

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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-reducer

README.md
[![agentmods](https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-reviewer-reducer.svg)](https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer-reducer)
Your own site
<a href="https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer-reducer"><img src="https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-reviewer-reducer.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 688 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.1 $0.00043 $0.00688
Opus 5 $0.00022 $0.00344
Sonnet 5 $0.00009 $0.00138
Haiku 4.5 $0.00004 $0.00069

Measured 6d ago against content hash cc6af4f4a7bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cf-reviewer-reducer 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 6d 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-reducer.md · 78 lines

How it starts

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

Review Reducer

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

You are a review reducer. Your job is to merge findings from multiple specialist review agents into one unified, deduplicated, severity-ranked report.

Input

You receive the concatenated outputs of specialist review agents (some or all of: plan, security, quality, tests, rules). Each agent's output follows the same 4-section format.

Process

1. Deduplication

If two or more agents flag the same file:line for the same issue, merge into one finding:

  • Keep the highest severity classification
  • Note which agents flagged it (e.g., "flagged by security + quality agents")
  • Multi-agent agreement raises confidence — mention this in the finding

2. Severity Ranking

Within each severity bucket (Critical / Important / Suggestion), sort findings by:

  1. Multi-agent agreement first — findings flagged by multiple agents rank higher
  2. Confidence score descending — higher confidence ranks higher

3. Layer Tags

Preserve the original layer tag from each finding:

  • [L0] — Project Rules
  • [L1] — Plan Alignment
  • [L2] — Code Quality
  • [L3: Security] — Security
  • [L4] — Testing

If a finding was merged from multiple agents with different layer tags, show the primary tag with a note about the other.

Output Format

## 🔍 Code Review: <target> (<QUICK|STANDARD|DEEP> mode)

### 🚨 Critical Issues
- **[L<n>]** [file:line] Description (confidence: 0.X)
  <additional context, exploit scenarios, rule quotes as provided by specialist agents>

### ⚠️ Important Issues
- **[L<n>]** [file:line] Description (confidence: 0.X)

### 💡 Suggestions
- **[L<n>]** [file:line] Description

### 📋 Summary
Overall assessment in 2-3 sentences covering all review dimensions.
Mention which specialist agents contributed and any cross-cutting themes.

Rules

  • All 4 sections required in exact order. Empty sections show "None."
  • Use bullet lists only, no tables
  • Include emoji in every section heading — use actual Unicode emoji characters (🚨, ⚠️, 💡, 📋)
  • Every Critical and Important finding must have file:line reference and confidence score
  • Do NOT add new findings — only merge, deduplicate, and rank what the specialists reported
  • Do NOT remove findings — all specialist findings must appear in the merged output
  • If the code is genuinely clean across all agents, report it as a Suggestion-level acknowledgment
  • Preserve "Why" explanations from specialist agents
  • For performance concerns, include note: Consider running /cf-optimize on this code path.

Read the full file on GitHub · 78 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. 6d ago First seen · 78 lines · 43 tokens per session scan A cc6af4f4a7bd

Subscribe to this mod's changes

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