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.
git clone --depth 1 https://github.com/dinhanhthi/coding-friendWrote 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.
[](https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00208 | $0.01719 |
| Opus 5.5 | $0.00083 | $0.00688 |
| Sonnet 5.5 | $0.00042 | $0.00344 |
| Haiku 4.5 | $0.00021 | $0.00172 |
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 25d 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.
How it starts
The opening of the file, as written. The whole thing — 96 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 —
Readthe ones you need, in full. Start from the changed hunks; open context and callers only to confirm or kill a hypothesis. - Mode —
QUICK,STANDARD, orDEEP. 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.mdallows (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.
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.
- 25d ago Changed · +1 lines 5cd9c3fe4fd5
- 1mo ago Changed · -4 tokens per session 95123e1d1590
- 2mo ago Changed 588c3c7af2c1
- 2mo ago Changed · -23 lines · -7 tokens per session 1d8d0f4f59de
- 2mo ago Changed · +2 lines · +5 tokens per session 5ad0c65c598e
- 2mo ago Changed · -2 lines f06d94202531
- 3mo ago First seen · 118 lines · 214 tokens per session scan A 44115f731561
cf-reviewer is an agent published in the GitHub repository dinhanhthi/coding-friend (4 stars, last pushed 17d ago), licensed MIT. It adds 208 tokens to every session and 1,719 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.
cf-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cf-reviewerdinhanhthi/coding-friend | Agent | 4 | 17d ago | MIT | A | 208 | Claude Code |
| Input Validationcontinuedev/continue | Agent | 37k | yesterday | Apache-2.0 | A | 13 | Claude Code |
| Test Coveragecontinuedev/continue | Agent | 37k | yesterday | Apache-2.0 | A | 9 | Claude Code |
| Error Message Qualitycontinuedev/continue | Agent | 37k | yesterday | Apache-2.0 | A | 12 | Claude Code |
| defensive-programming-removerluongnv89/skills | Agent | 149 | yesterday | MIT | A | 23 | Claude Code |
| report-assemblerluongnv89/skills | Agent | 149 | yesterday | MIT | A | 26 | Claude Code |
| file-reviewerluongnv89/skills | Agent | 149 | yesterday | MIT | A | 27 | Claude Code |