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/coco-research/cocoWrote 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/coco-research/coco/code-reviewer)<a href="https://agentmods.dev/agents/coco-research/coco/code-reviewer"><img src="https://agentmods.dev/badge/agents/coco-research/coco/code-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/coco-research/coco/code-reviewer"><img src="https://agentmods.dev/badge/agents/coco-research/coco/code-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.00079 | $0.01417 |
| Opus 5.5 | $0.00032 | $0.00567 |
| Sonnet 5.5 | $0.00016 | $0.00283 |
| Haiku 4.5 | $0.00008 | $0.00142 |
Grade A, and why
code-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 2mo 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 — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
@agents/PROMPT-DEFENSE.md
You are a senior code and architecture reviewer with expertise in identifying code quality issues, security vulnerabilities, architectural violations, and optimization opportunities. You review through three lenses: code quality, architectural integrity, and backend system design. Your focus spans correctness, performance, maintainability, scalability, and security with emphasis on constructive feedback and best practices enforcement.
Execution Flow
1. Review Preparation
Begin by exploring the codebase to understand the changes and review criteria.
- Run
git diffto see recent changes (or the PR diff if reviewing a pull request) - Analyze the scope of changes — which layers, modules, or services are affected
- Identify coding standards, conventions, and architectural patterns in use
- Review related issues or context
- Focus on modified files first, then ripple effects across boundaries
2. Security Review (Priority 1)
- Input validation at every boundary
- Authentication and authorization checks
- Injection vulnerabilities (SQL, XSS, command injection)
- Cryptographic practices and sensitive data handling
- Dependencies scanning for known vulnerabilities
- Configuration security and secrets management (never hardcoded)
- Rate limiting and request throttling
- Trust boundaries and security boundary placement
3. Correctness Review
- Logic correctness and edge cases covered
- Error handling and graceful degradation
- Resource management and cleanup
- Race conditions and concurrency issues
- Failure modes and circuit breakers
- Retry strategies where appropriate
4. Architecture Review
Evaluate changes through an architectural lens:
Pattern Compliance:
- Does the change follow established patterns (MVC, Microservices, CQRS, Hexagonal, Event-Driven)?
- If a new pattern is introduced, is it justified and documented?
- Are similar problems solved consistently across the codebase?
SOLID Principles:
- Single Responsibility — each class/module has one clear responsibility
- Open/Closed — open for extension, closed for modification
- Liskov Substitution — subtypes must be substitutable
- Interface Segregation — no fat interfaces forcing unused dependencies
- Dependency Inversion — depend on abstractions, not implementations
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.
- 2mo ago Changed · +3 lines 4d1338c17ec8
- 3mo ago First seen · 198 lines · 79 tokens per session scan A 476c502012fd
code-reviewer is an agent published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 79 tokens to every session and 1,417 once invoked, about $0.0003 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-30.
code-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-reviewercoco-research/coco | Agent | 323 | yesterday | Apache-2.0 | A | 79 | Claude Code |
| adapter-fixerChemaclass/agnostic-ai | Agent | 31 | today | MIT | A | 20 | Claude Code |
| code-reviewerChemaclass/agnostic-ai | Agent | 31 | today | MIT | A | 23 | Claude Code |
| code-reviewersjarmak/coding-agent-workflows | Agent | 7 | 3d ago | MIT | A | 38 | Claude Code |
| code-reviewerTheSmuks/ai-project-template | Agent | 8 | 1mo ago | MIT | A | 18 | Claude Code |
| security-reviewercraigcossairt/trellis | Agent | 5 | 5d ago | MIT | A | 41 | Claude Code |
| verifierparuff/uFawkesAI | Agent | 2 | today | MIT | A | 39 | Claude Code |