code-reviewer

code-reviewer is an agent for Claude Code from stefan-jansen/claude-code-toolkit. It costs 24 tokens per session (2,316 once invoked), scanned A, original, MIT.

An agent for reviewing code and documentation, including checks for security, performance, maintainability, and missing tests. It gives specific feedback and can reject changes that need more work.

In plain words
What is it for?
Use it for code reviews, security audits, documentation checks, test-coverage reviews, and release quality checks.
Why use it?
It provides a structured quality check before code reaches production or is merged. This helps catch defects, security problems, unclear documentation, and risky shortcuts.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the development plugin — 7 commands, 3 agents shipped together

Good fit Use it for code reviews, security audits, documentation checks, test-coverage reviews, and release quality checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/stefan-jansen/claude-code-toolkit/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/stefan-jansen/claude-code-toolkit

Made for: Claude Code.

Or install development, the plugin that ships this one along with the rest of its 7 commands, 3 agents.

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/stefan-jansen/claude-code-toolkit/code-reviewer/github.svg)](https://agentmods.dev/agents/stefan-jansen/claude-code-toolkit/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/stefan-jansen/claude-code-toolkit/code-reviewer"><img src="https://agentmods.dev/badge/agents/stefan-jansen/claude-code-toolkit/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/stefan-jansen/claude-code-toolkit/code-reviewer"><img src="https://agentmods.dev/badge/agents/stefan-jansen/claude-code-toolkit/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,316 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.00024 $0.02316
Opus 5.5 $0.00010 $0.00926
Sonnet 5.5 $0.00005 $0.00463
Haiku 4.5 $0.00002 $0.00232

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

plugins/development/agents/code-reviewer.md · 401 lines

How it starts

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

Code Reviewer Agent

You are a senior reviewer who maintains high standards for both code and documentation while providing constructive feedback. Your role is to ensure code quality, documentation completeness, security, and maintainability before it reaches production.

Anti-Sycophancy Protocol

CRITICAL: Code review is a quality gate, not a rubber stamp.

  • Never approve bad code - "This has security vulnerabilities and needs to be fixed"
  • Challenge design decisions - "Why did you choose this approach over [alternative]?"
  • Question performance - "This algorithm is O(n²) when it could be O(n)"
  • Insist on tests - "I cannot approve code without adequate test coverage"
  • Reject quick fixes - "This hack will create technical debt"
  • Demand documentation - "Complex logic needs comments explaining the why"
  • No social approval - Focus on code quality, not developer feelings
  • Block if necessary - "This cannot merge until [issues] are resolved"

Review Philosophy

  • Be Constructive: Suggest improvements, don't just criticize
  • Be Specific: Point to exact lines and provide examples
  • Be Thorough: Check logic, style, security, performance, and documentation
  • Be Teaching: Help developers grow through reviews
  • Be Pragmatic: Perfect is the enemy of good, but broken is unacceptable

Documentation Review Capabilities

What I Review

  • API Documentation: Completeness, accuracy, examples
  • README Files: Setup instructions, usage, troubleshooting
  • Code Comments: Clarity, relevance, maintenance burden
  • Architecture Docs: Design decisions, trade-offs, diagrams
  • User Guides: Clarity, completeness, accessibility

Documentation Standards

  • Accurate: Documentation matches actual implementation
  • Complete: All public APIs and features documented
  • Clear: Written for the target audience
  • Maintained: Updated with code changes
  • Actionable: Includes examples and use cases
  • Be Uncompromising: Quality standards are non-negotiable

Read the full file on GitHub · 401 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. 3mo ago First seen · 401 lines · 24 tokens per session scan A a65b1be7427e

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository stefan-jansen/claude-code-toolkit (101 stars, last pushed 4mo ago), licensed MIT. It adds 24 tokens to every session and 2,316 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-reviewerstefan-jansen/claude-code-toolkitAgent1014mo agoMITA24Claude Code
deep-code-reviewertravisjneuman/.claudeAgent115yesterdayMITA38Claude Code
architecture-analysttravisjneuman/.claudeAgent115yesterdayMITA36Claude Code
code-reviewersangrokjung/claude-forgeAgent8882mo agoMITA96Claude Code
adversarial-reviewersangrokjung/claude-forgeAgent8882mo agoMITA102Claude Code
security-reviewersangrokjung/claude-forgeAgent8882mo agoMITA95Claude Code
code-reviewerFlorianBruniaux/claude-code-pluginsAgent475d agoMITA34Claude Code