code-review

code-review is a command for Claude Code from thevibeworks/claude-code-docs. It costs 5 tokens per session (1,686 once invoked), scanned A, a copy of code-review, MIT.

A command that reviews a pull request, meaning a proposed set of code changes, for bugs, project-rule violations, and other issues using multiple independent reviewers.

In plain words
What is it for?
Use it to summarize a pull request, inspect relevant instructions, and produce a list of review findings with reasons.
Why use it?
It provides several perspectives on a change before it is merged and accounts for the project's local guidance.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the code-review plugin — 1 command shipped together

Good fit Use it to summarize a pull request, inspect relevant instructions, and produce a list of review findings with reasons.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thevibeworks/claude-code-docs/code-review
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/thevibeworks/claude-code-docs

Made for: Claude Code.

Or install code-review, the plugin that ships this one along with the rest of its 1 command.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/thevibeworks/claude-code-docs/code-review/github.svg)](https://agentmods.dev/commands/thevibeworks/claude-code-docs/code-review)
Your own site
<a href="https://agentmods.dev/commands/thevibeworks/claude-code-docs/code-review"><img src="https://agentmods.dev/badge/commands/thevibeworks/claude-code-docs/code-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/thevibeworks/claude-code-docs/code-review"><img src="https://agentmods.dev/badge/commands/thevibeworks/claude-code-docs/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 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,686 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 100% copy Near-identical to another mod 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.00005 $0.01686
Opus 5.5 $0.00002 $0.00674
Sonnet 5.5 $0.00001 $0.00337
Haiku 4.5 $0.00001 $0.00169

Measured 1mo ago against content hash 3f02ea6eed99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-review 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.

Origin

This is a copy

100% identical to code-review — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

content/github/claude-plugins-official/plugins/code-review/commands/code-review.md · 111 lines

How it starts

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

Provide a code review for the given pull request.

Agent assumptions (applies to all agents and subagents):

  • All tools are functional and will work without error. Do not test tools or make exploratory calls. Make sure this is clear to every subagent that is launched.
  • Only call a tool if it is required to complete the task. Every tool call should have a clear purpose.

To do this, follow these steps precisely:

  1. Launch a haiku agent to check if any of the following are true:

    • The pull request is closed
    • The pull request is a draft
    • The pull request does not need code review (e.g. automated PR, trivial change that is obviously correct)
    • Claude has already commented on this PR (check gh pr view <PR> --comments for comments left by claude)

    If any condition is true, stop and do not proceed.

Note: Still review Claude generated PR's.

  1. Launch a haiku agent to return a list of file paths (not their contents) for all relevant CLAUDE.md files including:

    • The root CLAUDE.md file, if it exists
    • Any CLAUDE.md files in directories containing files modified by the pull request
  2. Launch a sonnet agent to view the pull request and return a summary of the changes

  3. Launch 4 agents in parallel to independently review the changes. Each agent should return the list of issues, where each issue includes a description and the reason it was flagged (e.g. "CLAUDE.md adherence", "bug"). The agents should do the following:

    Agents 1 + 2: CLAUDE.md compliance sonnet agents Audit changes for CLAUDE.md compliance in parallel. Note: When evaluating CLAUDE.md compliance for a file, you should only consider CLAUDE.md files that share a file path with the file or parents.

    Agent 3: Opus bug agent (parallel subagent with agent 4) Scan for obvious bugs. Focus only on the diff itself without reading extra context. Flag only significant bugs; ignore nitpicks and likely false positives. Do not flag issues that you cannot validate without looking at context outside of the git diff.

    Agent 4: Opus bug agent (parallel subagent with agent 3) Look for problems that exist in the introduced code. This could be security issues, incorrect logic, etc. Only look for issues that fall within the changed code.

    CRITICAL: We only want HIGH SIGNAL issues. Flag issues where:

    • The code will fail to compile or parse (syntax errors, type errors, missing imports, unresolved references)
    • The code will definitely produce wrong results regardless of inputs (clear logic errors)
    • Clear, unambiguous CLAUDE.md violations where you can quote the exact rule being broken

    Do NOT flag:

    • Code style or quality concerns
    • Potential issues that depend on specific inputs or state
    • Subjective suggestions or improvements

    If you are not certain an issue is real, do not flag it. False positives erode trust and waste reviewer time.

    In addition to the above, each subagent should be told the PR title and description. This will help provide context regarding the author's intent.

  4. For each issue found in the previous step by agents 3 and 4, launch parallel subagents to validate the issue. These subagents should get the PR title and description along with a description of the issue. The agent's job is to review the issue to validate that the stated issue is truly an issue with high confidence. For example, if an issue such as "variable is not defined" was flagged, the subagent's job would be to validate that is actually true in the code. Another example would be CLAUDE.md issues. The agent should validate that the CLAUDE.md rule that was violated is scoped for this file and is actually violated. Use Opus subagents for bugs and logic issues, and sonnet agents for CLAUDE.md violations.

  5. Filter out any issues that were not validated in step 5. This step will give us our list of high signal issues for our review.

  6. Output a summary of the review findings to the terminal:

    • If issues were found, list each issue with a brief description.
    • If no issues were found, state: "No issues found. Checked for bugs and CLAUDE.md compliance."

Read the full file on GitHub · 111 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. 1mo ago Changed · +18 lines 3f02ea6eed99
  2. 2mo ago First seen · 93 lines · 5 tokens per session scan A 7d5a0bc9a41b

Subscribe to this mod's changes

code-review is a command published in the GitHub repository thevibeworks/claude-code-docs (181 stars, last pushed today), licensed MIT. It adds 5 tokens to every session and 1,686 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to code-review, differing in 0 lines, and is treated as a copy.

Related

code-review compared with commands from other repositories

code-review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewthevibeworks/claude-code-docsCommand181todayMITA5Claude Code
auditdork-labs/dorkosCommand11todayMITA30Claude Code
reconciledork-labs/dorkosCommand11todayMITA10Claude Code
reviewdork-labs/dorkosCommand11todayMITA21Claude Code
createdork-labs/dorkosCommand11todayMITA6Claude Code
from-specdork-labs/dorkosCommand11todayMITA8Claude Code
curatedork-labs/dorkosCommand11todayMITA21Claude Code