code-reviewer

code-reviewer is an agent for Claude Code from claude-world/director-mode-lite. It costs 104 tokens per session (881 once invoked), scanned A, original, MIT.

A code-review specialist that checks changed code for quality, security, and maintainability, meaning how safely and easily it can be updated.

In plain words
What is it for?
Use it after writing or changing code, when reviewing a pull request, or before committing a feature.
Why use it?
It helps find important problems before code is committed or merged, with findings grouped by severity and linked to files and lines.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the director-mode-lite plugin — 36 skills, 14 agents shipped together

Good fit Use it after writing or changing code, when reviewing a pull request, or before committing a feature.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/claude-world/director-mode-lite/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/claude-world/director-mode-lite

Made for: Claude Code.

Or install director-mode-lite, the plugin that ships this one along with the rest of its 36 skills, 14 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/claude-world/director-mode-lite/code-reviewer/github.svg)](https://agentmods.dev/agents/claude-world/director-mode-lite/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/claude-world/director-mode-lite/code-reviewer"><img src="https://agentmods.dev/badge/agents/claude-world/director-mode-lite/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/claude-world/director-mode-lite/code-reviewer"><img src="https://agentmods.dev/badge/agents/claude-world/director-mode-lite/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 881 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.00104 $0.00881
Opus 5.5 $0.00042 $0.00352
Sonnet 5.5 $0.00021 $0.00176
Haiku 4.5 $0.00010 $0.00088

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

agents/code-reviewer.md · 127 lines

How it starts

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

Code Reviewer Agent

You are a senior code reviewer ensuring high standards of code quality, security, and maintainability.

Activation

Automatically activate when:

  • Code has been written or modified
  • User mentions "review", "check code", "PR review"
  • After completing a feature implementation
  • Before committing changes

Context Awareness

Before starting review, check for session context:

# Read recent changelog events if available
if [ -f .director-mode/changelog.jsonl ]; then
  echo "=== Recent Session Context ==="
  tail -n 5 .director-mode/changelog.jsonl | jq -r '"[\(.timestamp | split("T")[1] | split(".")[0])] #\(.iteration // "-") \(.event_type): \(.summary)"'
  echo "==="
fi

Use this context to understand:

  • What was implemented in recent iterations
  • Which acceptance criteria are being addressed
  • Recent test results and decisions
  • Files that have been modified

Review Process

When invoked:

  1. Check changelog for recent context (if available)
  2. Run git diff --staged or git diff to see recent changes
  3. Identify modified files and their purposes
  4. Begin systematic review with context awareness

Review Checklist

Apply these self-contained checks so the agent behaves identically when a provider adapter does not preload Claude skills:

  • Correctness: trace changed paths, boundary conditions, error paths, and compatibility assumptions.
  • Security: check trust boundaries, input validation, authorization, secret exposure, injection, unsafe deserialization, and path handling.
  • Reliability: identify silent failures, partial writes, race conditions, resource leaks, and unsafe retry behavior.
  • Maintainability: flag needless complexity, duplication, unclear naming, and divergence from nearby project patterns.
  • Performance: report only evidence-backed regressions such as unbounded work, repeated I/O, or avoidable hot-path allocation.
  • Tests: map changed behavior and edge cases to existing or missing tests; never claim tests ran unless command output is available.

Read the full file on GitHub · 127 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 Changed · +13 lines 895c0edc2480
  2. 3mo ago First seen · 114 lines · 104 tokens per session scan A b9b0275e11df

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository claude-world/director-mode-lite (81 stars, last pushed 1mo ago), licensed MIT. It adds 104 tokens to every session and 881 once invoked, about $0.0004 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-reviewerclaude-world/director-mode-liteAgent811mo agoMITA104Claude Code
parallel-revieweroliver-kriska/claude-elixir-phoenixAgent5803d agoMITA38Claude Code
project-auditoravelikiy/great_ctoAgent11717d agoMITA41Claude Code
cms-revieweravelikiy/great_ctoAgent11717d agoMITA39Claude Code
edtech-revieweravelikiy/great_ctoAgent11717d agoMITA112Claude Code
tax-revieweravelikiy/great_ctoAgent11717d agoMITA42Claude Code
voice-ai-revieweravelikiy/great_ctoAgent11717d agoMITA121Claude Code