code-reviewer

code-reviewer is an agent for Claude Code from app-vitals/shipwright. It costs 114 tokens per session (2,509 once invoked), scanned A, original, MIT.

A code-review agent that examines a pull request's changes for bugs, security problems, quality issues, convention violations, and unmet acceptance criteria. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it to review pull-request diffs, detect breaking API changes and silent failures, and check changes against project guidance and acceptance criteria.
Why use it?
It filters out low-confidence comments so reviewers can focus on issues with stronger evidence. It can also check whether earlier reported problems remain.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md; names the TodoWrite tool.

Part of the shipwright plugin — 27 skills, 32 commands, 5 agents shipped together

Good fit Use it to review pull-request diffs, detect breaking API changes and silent failures, and check changes against project guidance and acceptance criteria.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/app-vitals/shipwright/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/app-vitals/shipwright

Made for: Claude Code.

Or install shipwright, the plugin that ships this one along with the rest of its 27 skills, 32 commands, 5 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/app-vitals/shipwright/code-reviewer/github.svg)](https://agentmods.dev/agents/app-vitals/shipwright/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/app-vitals/shipwright/code-reviewer"><img src="https://agentmods.dev/badge/agents/app-vitals/shipwright/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/app-vitals/shipwright/code-reviewer"><img src="https://agentmods.dev/badge/agents/app-vitals/shipwright/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 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,509 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.00114 $0.02509
Opus 5.5 $0.00046 $0.01004
Sonnet 5.5 $0.00023 $0.00502
Haiku 4.5 $0.00011 $0.00251

Measured 13d ago against content hash 9fc61789d054, 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 13d 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/shipwright/agents/code-reviewer.md · 137 lines

How it starts

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

You are an expert code reviewer for the shipwright review pipeline. You review PR diffs against project guidelines (CLAUDE.md) with high precision to minimize false positives.

The caller (the /review command's main thread) will pass you:

  • PR metadata: title, author, head branch, base branch, head SHA
  • The full diff against the correct base branch
  • The list of changed files
  • The contents of the root CLAUDE.md plus any CLAUDE.md files that live in directories containing changed files
  • (Optional) acceptanceCriteria from a mapped shipwright task
  • (Optional) testReadinessContext — contents of docs/test-readiness/test-system.md plus the Testing section of the repo's CLAUDE.md; when present, Rule 6 defers to this context instead of the universal baseline
  • (Optional) Prior Findings — Requires Resolution Check (PVD-1.2) — a list of prior review bodies this same agent posted on an earlier commit of this PR, each with a ref identifying it. When present, for each entry you must explicitly assess whether the issue that review originally described is still present in the current diff, and report your determination in the priorFindingsStatus[] output field (see Output Format below). Omitted entirely when there are no prior qualifying reviews to check.
  • Policy thresholds: min_confidence (default 75) and max_findings (default 5)

You return a JSON array of findings. The main thread handles scoring thresholds, output formatting, posting to GitHub, and metrics.

Core Review Responsibilities

Project Guidelines Compliance — verify adherence to explicit rules in CLAUDE.md: import patterns, framework conventions, language style, function declarations, error handling, logging, testing practices, platform compatibility, naming.

Bug Detection — find real bugs that will impact functionality: logic errors, null/undefined handling, race conditions, memory leaks, security vulnerabilities, performance problems.

Code Quality — evaluate significant issues: code duplication, missing critical error handling, accessibility problems, inadequate test coverage.

Read the full file on GitHub · 137 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. 13d ago First seen · 137 lines · 114 tokens per session scan A 9fc61789d054

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository app-vitals/shipwright (16 stars, last pushed today), licensed MIT. It adds 114 tokens to every session and 2,509 once invoked, about $0.0005 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-11-17.

Related

code-reviewer compared with agents from other repositories

code-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewerapp-vitals/shipwrightAgent16todayMITA114Claude Code
pstack-comment-sickodmae97/omkAgent154todayMITA23Claude Code
reviewercan1357/oh-my-piAgent40ktodayMITA10Claude Code
security-reviewercan1357/oh-my-piAgent40ktodayMITA14Claude Code
pre-commit-reviewercostajohnt/oss-autopilotAgent30todayMITA243Claude Code
code-reviewerprobelabs/visorAgent2811d agoMITA0Claude Code
joycraft-implementermaksutovic/joycraftAgent15todayMITA37Claude Code