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 1mo 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 1mo 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. 1mo 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 (12 stars, last pushed 5mo 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

Other agents, from other repositories

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

deep-code-reviewer

Thorough 6-aspect code review covering correctness, security, performance, maintainability, verification, and documentation. Use for comprehensive PR reviews or code quality audits.

travisjneuman/.claude · 38 tokens

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens

maze-architect

Route planner for perpendicular PR review. Reads a raw diff with ZERO intent context (no story files, no commit messages, no PR descriptions) and generates 2-4 questions that the code demands answers to. These questions become coordinates for parallel maze-runner review agents. The architect throws the frisbee blind …

drobins25/craft · 157 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

mb-reviewer

Code review agent for /mb work review-loop. Reads stage diff + pipeline.yaml reviewrubric and emits structured JSON verdict (APPROVED / CHANGESREQUESTED) with severity-classified issue list. Drives the severity-gate decision.

fockus/skill-memory-bank · 53 tokens