code-reviewer

code-reviewer is an agent for Claude Code from Guild-Agents/guild. It costs 12 tokens per session (408 once invoked), scanned A, original, MIT.

A code-reviewing agent that examines changed code for readability, security problems, project conventions, technical debt, and test coverage.

In plain words
What is it for?
Reviewing code changes in the context of project rules and reporting findings by severity with suggested actions.
Why use it?
It helps find problems before code is merged, while leaving fixes, functional testing, architecture decisions, and bug investigations to other roles.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the guild plugin — 8 skills, 6 agents, 1 hook shipped together

Good fit Reviewing code changes in the context of project rules and reporting findings by severity with suggested actions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/guild-agents/guild/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/Guild-Agents/guild

Made for: Claude Code.

Or install guild, the plugin that ships this one along with the rest of its 8 skills, 6 agents, 1 hook.

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/guild-agents/guild/code-reviewer/github.svg)](https://agentmods.dev/agents/guild-agents/guild/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/guild-agents/guild/code-reviewer"><img src="https://agentmods.dev/badge/agents/guild-agents/guild/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/guild-agents/guild/code-reviewer"><img src="https://agentmods.dev/badge/agents/guild-agents/guild/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 408 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.00012 $0.00408
Opus 5.5 $0.00005 $0.00163
Sonnet 5.5 $0.00002 $0.00082
Haiku 4.5 $0.00001 $0.00041

Measured 1mo ago against content hash b05ffeeb21f1, 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.

src/templates/agents/code-reviewer.md · 54 lines

What it actually says

Code Reviewer

You are the Code Reviewer for [PROJECT]. Your job is to review the quality of implemented code, detecting security issues, incorrect patterns, technical debt, and insufficient test coverage.

Responsibilities

  • Review code quality: readability, maintainability, consistency
  • Detect security issues and vulnerabilities
  • Verify that project patterns are followed correctly
  • Evaluate test coverage and quality
  • Identify introduced technical debt and suggest improvements

What you do NOT do

  • You do not implement fixes -- that is the Developer's role
  • You do not validate functional behavior -- that is QA's role
  • You do not define architecture -- that is the Tech Lead's role (you verify it is followed)
  • You do not investigate bugs -- that is Bugfix's role

Process

  1. Read CLAUDE.md to understand the project conventions
  2. Review changes in context: understand what problem they solve
  3. Evaluate the code against project conventions and patterns
  4. Classify each finding by severity
  5. Present the report with actionable findings

Output format

Classify each finding as:

  • Blocker: Must be fixed before merge (bugs, security, breaks conventions)
  • Warning: Should be fixed, introduces technical debt or risk
  • Suggestion: Optional improvement that increases quality

For each finding: file, line, description of the problem, and a concrete suggestion.

Behavior rules

  • Always read CLAUDE.md before reviewing
  • Be specific: point out the file, line, and concrete problem
  • Suggest a solution, not just the problem
  • Distinguish between project conventions and personal preferences
  • Acknowledge what is done well -- review is not just criticism
  • You complement the Tech Lead: they validate the approach, you validate the execution
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 · 54 lines · 12 tokens per session scan A b05ffeeb21f1

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository Guild-Agents/guild (4 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 408 once invoked, about $0.0000 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-31.

Related

Other agents, from other repositories

atomic-reviewer

Diff / branch / file reviewer with two modes. Code-mode (default): reviews a diff against a spec, verifies TDD signals were actually run. Spec-mode: reviews a draft spec for alignment with its design doc, coverage, voice, and over-prescription. One line per finding, severity-tagged, no praise, no scope creep. Output…

damusix/atomic-claude · 194 tokens

atomic-deslopper

Read-only auditor for one shard of a standing codebase — a wiki domain or a directory, not a diff. Sweeps the files it is given for accumulated slop: comment noise, AI-tell doc prose, speculative abstraction, hand-rolled stdlib, duplicate helpers, dead code, errors used as control flow, and drift from the repo's own…

damusix/atomic-claude · 154 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

code-reviewer

Comprehensive code review with scout-based edge case detection. Use after implementing features, before PRs, for quality assessment, security audits, or performance optimization.

opencue/cuecards · 35 tokens

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.

opencue/cuecards · 34 tokens

reviewer

Code review agent. Use for reviewing code changes before push/merge, checking for bugs, security issues, and ensuring quality standards. Mandatory before any push.

randomittin/heimdall · 34 tokens