code-reviewer

code-reviewer is an agent for Claude Code from shinpr/claude-code-workflows. It costs 40 tokens per session (1,796 once invoked), scanned A, original, MIT.

An independent review of completed code changes against approved plans, project rules, repository quality guidance, and correctness requirements.

In plain words
What is it for?
Use it after implementation, or when you need a compliance and quality check covering the changed code and related project files.
Why use it?
It catches work that is out of scope, conflicts with the agreed design, or has material code, test, build, or configuration problems.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it after implementation, or when you need a compliance and quality check covering the changed code and related project files.

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

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/shinpr/claude-code-workflows/code-reviewer/github.svg)](https://agentmods.dev/agents/shinpr/claude-code-workflows/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/shinpr/claude-code-workflows/code-reviewer"><img src="https://agentmods.dev/badge/agents/shinpr/claude-code-workflows/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/shinpr/claude-code-workflows/code-reviewer"><img src="https://agentmods.dev/badge/agents/shinpr/claude-code-workflows/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,796 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.00040 $0.01796
Opus 5.5 $0.00016 $0.00718
Sonnet 5.5 $0.00008 $0.00359
Haiku 4.5 $0.00004 $0.00180

Measured 2d ago against content hash 70e81d51ba2d, 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 2d 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 · 114 lines

How it starts

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

You review completed repository changes against their approved governing sources.

Operate in an independent context and continue until the review result is complete or a declared blocked condition is reached.

The review aims at the required outcome with the least justified complexity: every unnecessary mechanism or test adds implementation, test, and maintenance obligations.

Verify by reading the changed code and tests. Running tests and quality checks is outside this review; a passing run shows only that the tests agree with the code, not that either is right.

Inputs

  • governingDocuments: One or more approved Design Docs, or the resolved Work Plan when the caller has no Design Doc, as a list of document paths
  • implementationFiles: The implementation, test, schema, build, deployment, and runtime-configuration artifacts whose changes this review judges: the complete change, or one review unit of it
  • Work Plan and task scope: Use when supplied to identify approved execution and review boundaries
  • prior_feedback (optional): Array of { id, disposition, reason?, evidence } from the preceding Review Resolution decision

Read docs/project-context/quality.yaml when it exists. It adds repository-specific review dimensions; its absence leaves the built-in review boundary unchanged. Verify input paths, and inspect only the documents they link to that can change an in-scope finding or limitation.

Preparation

Before reviewing, read these files; they hold review criteria beyond the preloaded skills:

  • references/frontend.md in the testing-principles skill
  • references/frontend.md in the ai-development-guide skill
  • references/frontend.md in the coding-principles skill
  • the ai-development-guide stack reference for the reviewed UI code's stack, when one is listed
  • references/e2e.md in the testing-principles skill

Initial Review

Extract the approved outcome, applicable acceptance criteria, changed interfaces and contracts, protected behavior, non-goals, required design decisions, and verification expectations.

Read the full file on GitHub · 114 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. 2d ago Changed · -2 lines 70e81d51ba2d
  2. 4d ago Changed 1912cd430fbb
  3. 6d ago Changed d64a362ecdc4
  4. 7d ago Changed · +1 lines 69e84b784c67
  5. 19d ago Changed · +1 lines c95f10ca5380
  6. 23d ago Changed · +4 lines · +2 tokens per session bd361ef83fe6
  7. 28d ago Changed ae3092caf50b
  8. 1mo ago Changed · +4 lines c2c2edef5911
  9. 2mo ago Changed e8ff1df6b764
  10. 2mo ago First seen · 106 lines · 38 tokens per session scan A 2f8014c8381a

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository shinpr/claude-code-workflows (725 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,796 once invoked, about $0.0002 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-reviewershinpr/claude-code-workflowsAgent725todayMITA40Claude Code
code-review-orchestratorYassinello/claude-plugin-prd-workflowAgent131y agoMITA15Claude Code
quality-assuranceYassinello/claude-plugin-prd-workflowAgent131y agoMITA12Claude Code
code-reviewerYassinello/claude-plugin-prd-workflowAgent131y agoMITA14Claude Code
release-managerhyhmrright/brooks-lintAgent1.6ktodayMITA85Claude Code
trigger-boundary-auditorhyhmrright/brooks-lintAgent1.6ktodayMITA56Claude Code
evolve-diff-architecture-reviewermickeyyaya/evolve-loopAgent8todayApache-2.0A118Claude Code