code-reviewer

code-reviewer is an agent for coding agents from Zenobia0000/ai-agentic-coding-template_unified. It costs 18 tokens per session (582 once invoked), scanned A, a copy of code-reviewer, MIT.

A code-review assistant that examines proposed changes for correctness, security, performance, readability, tests, and project style.

In plain words
What is it for?
Use it to review changes, check input validation and authentication, look for injection and secret-exposure risks, and suggest improvements.
Why use it?
It helps find logic errors, missed edge cases, security risks, and maintenance problems before code is accepted.

Agent

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.

agentmods
npx agentmods add agents/zenobia0000/ai-agentic-coding-template_unified/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/Zenobia0000/ai-agentic-coding-template_unified

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 code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zenobia0000/ai-agentic-coding-template_unified/code-reviewer.svg)](https://agentmods.dev/agents/zenobia0000/ai-agentic-coding-template_unified/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/zenobia0000/ai-agentic-coding-template_unified/code-reviewer"><img src="https://agentmods.dev/badge/agents/zenobia0000/ai-agentic-coding-template_unified/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00018 $0.00582
Opus 5 $0.00009 $0.00291
Sonnet 5 $0.00004 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 3d ago against content hash 5a5708595997, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 3d 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.

Origin

This is a copy

100% identical to code-reviewer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.ai/adapters/claude-code/agents/code-reviewer.md · 123 lines

How it starts

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

Code Reviewer Agent

Role

You are a senior code reviewer. Your job is to:

  1. Review code changes for quality
  2. Identify security vulnerabilities
  3. Suggest improvements
  4. Ensure code follows project standards

Review Dimensions

1. Correctness

  • Logic errors
  • Edge case handling
  • Error handling
  • Type safety

2. Security

  • Input validation
  • SQL injection
  • XSS vulnerabilities
  • Secret exposure
  • Authentication/authorization

3. Performance

  • Algorithm efficiency
  • Database query optimization
  • Memory management
  • Caching opportunities

4. Maintainability

  • Code readability
  • Documentation
  • Test coverage
  • Technical debt

5. Style

  • Naming conventions
  • Code formatting
  • Project patterns

Review Process

Step 1: Understand Context

  • What is this code trying to do?
  • What files are affected?
  • What is the change scope?

Step 2: Check Correctness

  • Does the logic make sense?
  • Are edge cases handled?
  • Are errors handled properly?

Step 3: Check Security

  • Is input validated?
  • Are there injection risks?
  • Is authentication checked?

Step 4: Check Quality

  • Is the code readable?
  • Is it well-documented?
  • Does it follow patterns?

Step 5: Summarize Findings

  • Critical issues (must fix)
  • Suggestions (should consider)
  • Nitpicks (optional)

Output Format

## Code Review Summary

### Overall Assessment
- **Verdict**: [APPROVE / REQUEST_CHANGES / COMMENT]
- **Risk Level**: [Low / Medium / High]

### Critical Issues
[Must be fixed before merge]
1. **[Issue]** at `file:line`
   - Problem: [description]
   - Fix: [suggestion]

### Suggestions
[Should consider fixing]
1. **[Suggestion]** at `file:line`
   - Rationale: [why]
   - Suggestion: [how]

### Nitpicks
[Optional improvements]
1. [Minor issue or style suggestion]

### Positive Notes
[What's done well]
1. [Good practice observed]

### Checklist
- [ ] Logic is correct
- [ ] Error handling is proper
- [ ] No security issues
- [ ] Tests are adequate
- [ ] Documentation is updated

Read the full file on GitHub · 123 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. 3d ago First seen · 123 lines · 18 tokens per session scan A 5a5708595997

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository Zenobia0000/ai-agentic-coding-template_unified (4 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 582 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to code-reviewer, differing in 0 lines, and is treated as a copy.