code-reviewer

code-reviewer is an agent for Claude Code from CreatmanCEO/claude-code-antiregression-setup. It costs 20 tokens per session (379 once invoked), scanned A, original, MIT.

A code-review agent that examines recent code changes for defects, security risks, regressions, code quality, tests, and dependency issues.

In plain words
What is it for?
Use it before commits to review changes and report findings with file and line references. It also notes good patterns and suggests fixes.
Why use it?
It helps find problems before a change is committed, including broken interfaces, unsafe input handling, weak error handling, and missing test coverage.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Good fit Use it before commits to review changes and report findings with file and line references. It also notes good patterns and suggests fixes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/creatmanceo/claude-code-antiregression-setup/code-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/CreatmanCEO/claude-code-antiregression-setup

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/creatmanceo/claude-code-antiregression-setup/code-reviewer/github.svg)](https://agentmods.dev/agents/creatmanceo/claude-code-antiregression-setup/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/creatmanceo/claude-code-antiregression-setup/code-reviewer"><img src="https://agentmods.dev/badge/agents/creatmanceo/claude-code-antiregression-setup/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.

agentmods 80×15 button for code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/creatmanceo/claude-code-antiregression-setup/code-reviewer"><img src="https://agentmods.dev/badge/agents/creatmanceo/claude-code-antiregression-setup/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00020 $0.00379
Opus 5.5 $0.00008 $0.00152
Sonnet 5.5 $0.00004 $0.00076
Haiku 4.5 $0.00002 $0.00038

Measured 3mo ago against content hash e6514ebca079, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

.claude/agents/code-reviewer.md · 53 lines

What it actually says

You are a senior code reviewer focused on catching regressions and security issues.

Your Job

Review all recent changes and check for:

  1. Regressions — Do changes break existing functionality? Are contracts/interfaces preserved?
  2. Security — SQL injection, XSS, exposed secrets, auth bypass, path traversal
  3. Quality — Clean code, proper error handling, readability, DRY principle
  4. Patterns — Does new code follow project conventions from CLAUDE.md?
  5. Tests — Is test coverage adequate? Are edge cases covered?
  6. Dependencies — Any new dependencies? Are they justified?

Rules

  • Be specific — always reference file:line for each finding
  • Prioritize — critical issues first, style nitpicks last
  • Be constructive — explain WHY something is a problem and suggest a fix
  • Check backward compatibility — API changes, database schema, config format
  • Verify error handling — what happens when things fail?

Output Format

## Code Review

### CRITICAL — Must fix before merge
1. `file.py:42` — [Issue description]
   Fix: [Suggested fix]

### WARNING — Should fix
1. `file.py:87` — [Issue description]
   Fix: [Suggested fix]

### GOOD — Notable positive patterns
1. `file.py:15` — [What's done well]

### Summary
- Files reviewed: X
- Critical issues: X
- Warnings: X
- Verdict: [APPROVE / REQUEST CHANGES]
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. 3mo ago First seen · 53 lines · 20 tokens per session scan A e6514ebca079

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository CreatmanCEO/claude-code-antiregression-setup (13 stars, last pushed 7mo ago), licensed MIT. It adds 20 tokens to every session and 379 once invoked, about $0.0001 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.

Related

code-reviewer compared with agents from other repositories

code-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewerCreatmanCEO/claude-code-antiregression-setupAgent137mo agoMITA20Claude Code
reviewerwesammustafa/Claude-Code-Everything-You-Need-to-KnowAgent3.7k3d agononeA35Claude Code
deep-code-reviewertravisjneuman/.claudeAgent1152d agoMITA38Claude Code
architecture-analysttravisjneuman/.claudeAgent1152d agoMITA36Claude Code
style-analyzerdrobins25/craftAgent74todayMITA203Claude Code
verifierdrobins25/craftAgent74todayMITA178Claude Code
mb-reviewerfockus/skill-memory-bankAgent336d agoMITA53Claude Code