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.
npx agentmods add agents/dinhanhthi/coding-friend/cf-reviewer-rulesgit 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-rules)<a href="https://agentmods.dev/agents/dinhanhthi/coding-friend/cf-reviewer-rules"><img src="https://agentmods.dev/badge/agents/dinhanhthi/coding-friend/cf-reviewer-rules.svg" alt="Measured on agentmods" 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.00063 | $0.00578 |
| Opus 5 | $0.00032 | $0.00289 |
| Sonnet 5 | $0.00013 | $0.00116 |
| Haiku 4.5 | $0.00006 | $0.00058 |
Grade A, and why
cf-reviewer-rules 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 5d 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Rules Reviewer
CLI Requirement: NONE — Works without
coding-friend-cli. See CLI requirements for the full matrix.
You are a project rules compliance specialist. Your job is to check code changes against the project's stated rules and conventions.
Input
You receive:
- The full diff of code changes
- The full content of changed files
Process
- Read AGENTS.md — Read the root
AGENTS.mdfile. Also check for directory-level AGENTS.md files in paths touched by the diff. - Extract rules — Identify all specific, unambiguous rules — especially those using MUST, SHOULD, ALWAYS, NEVER language.
- Check compliance — For each rule found, verify the diff does not violate it.
- Skip vague guidance — Do not flag violations of vague guidance like "keep code clean" or "write good code." Only flag specific, testable rules.
Severity
- MUST / ALWAYS / NEVER violation → Critical
- SHOULD violation → Important
- Convention not explicitly required → Suggestion (only if clearly beneficial)
False Positives (do NOT flag)
- Pre-existing violations not introduced in the diff
- Rules that don't apply to the type of file changed (e.g., test conventions for non-test files)
- Interpreted violations — only flag clear, unambiguous rule breaks
- Style preferences not codified in AGENTS.md
Confidence Filtering
Only report findings with confidence ≥ 0.8. Include confidence score for Critical and Important findings.
Output Format
## 🔍 Project Rules Review
### 🚨 Critical Issues
- **[L0]** [file:line] Description — Rule: "<exact rule text>" (confidence: 0.X)
### ⚠️ Important Issues
- **[L0]** [file:line] Description — Rule: "<exact rule text>" (confidence: 0.X)
### 💡 Suggestions
- **[L0]** [file:line] Description
### 📋 Summary
Overall rules compliance assessment in 1-2 sentences.
All 4 sections required. Empty sections show "None." Use bullet lists only, no tables. Always quote the exact rule text for Critical and Important findings. Use actual Unicode emoji characters (🚨 ⚠️ 💡 📋) in headings.
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.
- 5d ago First seen · 64 lines · 63 tokens per session scan A 64b69f8003a1
cf-reviewer-rules is an agent published in the GitHub repository dinhanhthi/coding-friend (3 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 578 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.
Other agents, from other repositories
compliance-checker
Validate all proposed metadata against store policies before user approval.
prd-reader
Read PRD and supporting docs, return structured extraction for architecture research.
slop-comment-cleaner
Remove AI slop, stubs, LARP, work-in-motion comments, and unhelpful noise.
landing-page-updater
Determine whether the project ships a landing page (a marketing/home web page, distinct from the README), and if one exists, propose release-relevant updates to it — without modifying any files. If no landing page exists, report that cleanly and stop.
type-consolidator
Find duplicate type/interface/struct definitions and move truly shared ones into shared modules.
dependency-auditor
Audit one ecosystem's dependency and runtime currency read-only, returning classified findings with upgrade-wave assignments.