Plugins and integrationsReviewed · Anthropic

Code Review plugin for Claude Code

Code Review is a Claude Code plugin that uses several AI agents to review GitHub pull requests. It is for developers and teams who already use Claude Code and GitHub. The main catches are that it needs the GitHub CLI, it needs a separate inline-comment tool to post issues on the pull request, and its cost per review is not stated. The /code-review command skips closed, draft, trivial or already-reviewed pull requests. It then runs four agents in parallel: two check the changes against CLAUDE.md guideline files and two Opus agents look for bugs. Further agents check the bug agents' findings, and anything that fails this check is dropped. Results print to the terminal. With --comment, the plugin also posts either a no-issues summary or inline comments on the pull request.

Researched 12 Nov 2026

In short.

Code Review is a Claude Code plugin that uses several AI agents to review GitHub pull requests automatically. It is for developers and teams who already use Claude Code and GitHub. The main catches are that the evidence shows neither its accuracy nor its running cost, and its README and command file disagree in places. The selected scope is a four-file plugin folder pinned at revision e37d307bd9f85dab6fea5dfb5e3dc146753b2d2d. The command file sets out these steps: a haiku agent checks whether the pull request needs review, a haiku agent lists the relevant CLAUDE.md files, a sonnet agent summarises the changes, and four review agents run in parallel. Validation agents then check the issues raised by the two bug agents; the file does not explicitly say whether the two CLAUDE.md reviewers' findings are validated. Unvalidated issues are dropped. Results print to the terminal and, with --comment, are also posted to the pull request. The evidence gives no running cost, accuracy, false-positive rate, adoption figures or test results, and none of these were tested for this report.

Researched and written by an AI model and checked by a second AI model. How it works

Selected scope: the complete plugin folder plugins/code-review at revision e37d307bd9f85dab6fea5dfb5e3dc146753b2d2d. It consists of .claude-plugin/plugin.json, commands/code-review.md, README.md and LICENSE (Apache 2.0). Related notice: the repository root LICENSE (Apache 2.0) was captured and read, but it sits outside the selected folder. Excluded: other folders and plugins in the repository, pages linked from the README (such as the GitHub CLI installation page), the GitHub and Claude Code products themselves, and any change after the pinned revision. Untested: the plugin was not installed, executed or run against any pull request. Agent behaviour, output quality, cost, the inline-comment tool, handling of tool failures and the README's scoring claims are all unverified. The example comment comes from the README and was not generated for this report.

The overview

Identity

The resource is the Code Review plugin, in the plugins/code-review folder of the anthropics/claude-plugins-official repository, pinned to revision e37d307bd9f85dab6fea5dfb5e3dc146753b2d2d. Its manifest (.claude-plugin/plugin.json) gives the name code-review, version 1.0.1, and the description 'Automated code review for pull requests using multiple specialized agents with confidence-based scoring'. The manifest names Anthropic as author.

The identity details do not fully agree. The README ends with 'Version 1.0.0' and names Boris Cherny as author, while the manifest says 1.0.1 and Anthropic. The evidence does not say which is current or who maintains the plugin day to day. Unknown: release date, number of users, and whether the 'confidence-based scoring' in the manifest is the mechanism the command file actually implements (see Mechanism).

Assessment

On the evidence this is a complete, substantive plugin rather than a stub. It has a manifest, a step-by-step command specification of 7,329 bytes, and a README of 7,703 bytes covering usage, requirements, configuration, troubleshooting and best practices. The command specification is detailed enough to show which agents run, which models they use and what gets posted.

The main weakness is that the evidence shows intent, not performance. Nothing in the captured files reports accuracy, precision, a benchmark, a test run or a comparison with human review. The README's statement that the threshold filters out false positives is the author's description, not a measured result. The README and command file also differ in several places (listed under Limitations). The command file describes behaviour in more operational detail, but neither file has been run for this report.

Users

The intended users are developers and teams who use Claude Code with GitHub pull requests (PRs). The README recommends running it on all PRs with meaningful changes, on PRs touching critical code, on PRs from several contributors, and on PRs where guideline compliance matters. It advises against urgent hotfixes that must merge immediately, and says closed, draft, trivial and already-reviewed PRs are skipped automatically.

Beginners need to be comfortable with Git and GitHub, install and log in to the GitHub CLI (gh), and understand what a PR is. The plugin is more useful when a repository has CLAUDE.md files, which hold project guidelines for Claude. The README calls these optional but recommended. Experienced developers can change behaviour by editing the command file; the README suggests adding security, performance, accessibility or documentation agents. The evidence mentions only GitHub, so suitability for other code hosts is unknown.

Capabilities

The plugin adds one slash command, /code-review, with an optional --comment flag. When a pull request passes the eligibility check, the command first prints a summary of findings to the terminal. If nothing was found, it prints 'No issues found. Checked for bugs and CLAUDE.md compliance.' Without --comment, the run stops there. With --comment, what happens next depends on the result. If no issues survive validation, the command posts a summary comment using gh pr comment. If issues survive, it posts one inline comment per unique issue using the inline-comment tool, with confirmed set to true. The command file does not specify an extra summary comment in that case. If the eligibility check stops the run, nothing is reviewed or posted.

The review looks for two kinds of problem: bugs introduced by the change, and breaches of rules in CLAUDE.md files that cover the changed files. The command file tells agents to flag only high-signal findings. These are code that will fail to compile or parse, code that will definitely produce wrong results, and clear CLAUDE.md violations where the exact rule broken can be quoted. Style concerns, subjective suggestions and problems that depend on specific inputs are excluded, as are pre-existing issues and anything a linter would catch. Pull requests generated by Claude are reviewed too.

The command file's allowed-tools header lists these entries: Bash(gh issue view:*), Bash(gh search:*), Bash(gh issue list:*), Bash(gh pr comment:*), Bash(gh pr diff:*), Bash(gh pr view:*), Bash(gh pr list:*), and mcp__github_inline_comment__create_inline_comment. Of these, gh pr comment and the inline-comment tool post content to GitHub. The gh search entry is not limited to issues. The header lists no command for editing repository files or pushing commits, and the captured files describe no such step. The evidence does not show how strictly the header binds each delegated agent, and this was not verified. Unknown: whether any later version can do more.

Using it

Requirements

The evidence lists these requirements: Claude Code, a Git repository with a GitHub remote, and the GitHub CLI (gh) installed and logged in with 'gh auth login' (README). The command file also lists a tool named mcp__github_inline_comment__create_inline_comment. It is used only to post inline comments, which happens when --comment is set and issues survive validation. Terminal-only runs and the no-issues summary comment, which is posted with gh pr comment, do not use it. The 'mcp__' prefix suggests a Model Context Protocol tool, but the captured files do not say how this tool is supplied, installed or authenticated. This is a gap for anyone who wants issues posted as inline comments.

The command file assigns haiku, sonnet and Opus models to specific steps. The evidence does not say which Claude plan, API access or model tier is needed, or whether users can change the model choices without editing the command. Minimum versions of Claude Code and the GitHub CLI are not stated. Unknown.

Mechanism

The command runs in numbered steps. Steps 1 to 5 explicitly hand tasks to agents with named model tiers: steps 1, 2 and 3 each launch one agent, step 4 launches four agents in parallel, and step 5 launches one validation agent per issue. Steps 6 to 9 (filtering, output, drafting the comment list and posting) do not specify any further agents or model tiers. The command file does not say how many underlying model requests each agent makes. Stage 1: a haiku agent checks whether the PR is closed, is a draft, does not need review (for example an automated or obviously correct trivial change), or already has a Claude comment. If any of these is true, the run stops. The command file says Claude-generated PRs are still reviewed. Stage 2: a haiku agent lists the file paths of the relevant CLAUDE.md files (the root file and any in directories containing changed files). Stage 3: a sonnet agent summarises the changes.

Stage 4 runs four agents in parallel. Agents 1 and 2 are sonnet agents checking CLAUDE.md compliance, and each considers only CLAUDE.md files on the changed file's path or its parents. Agent 3 is an Opus agent that scans the diff alone for obvious bugs and must not flag anything it cannot validate without context outside the diff. Agent 4 is an Opus agent that looks for problems in the introduced code, including security issues and incorrect logic. All four receive the PR title and description.

Stage 5 launches parallel validation agents for each issue raised by agents 3 and 4. Each validator receives the PR title, the description and the issue, and confirms with high confidence that the issue is real. The step names Opus validators for bug and logic issues and sonnet validators for CLAUDE.md violations, and uses CLAUDE.md issues as an example. It does not explicitly say that findings from agents 1 and 2, the CLAUDE.md reviewers, are sent for validation. Stage 6 discards any issue not validated in stage 5, so how the CLAUDE.md reviewers' findings are handled is not clearly specified.

Stage 7 prints a summary to the terminal, and if --comment is not set the run stops. If --comment is set and no issues remain, the command posts a summary comment with gh pr comment reading 'No issues found. Checked for bugs and CLAUDE.md compliance.' and stops. If issues remain, steps 8 and 9 apply. The command first drafts a private list of planned comments, then posts inline comments with the inline-comment tool, one per unique issue. A committable suggestion is allowed only when committing it fully fixes the issue. No additional summary comment is specified for this branch.

Scoring differs between documents. The README describes a 0 to 100 confidence score per issue, a default threshold of 80, and an independent scorer for each issue. The command file has no numeric score or threshold; its filter is whether each issue passed validation. The README's configuration instruction (a line reading 'Filter out any issues with a score less than 80') does not appear in the captured command file. Which behaviour a given installed version uses is unknown.

Setup

The README says the plugin 'is included in the Claude Code repository' and is 'automatically available when using Claude Code'. It gives no separate install command, marketplace step or version pin for the claude-plugins-official repository. The evidence therefore does not establish how a user installs this exact revision. Unknown.

Before first use, install gh. The README gives 'brew install gh' for macOS and points to the GitHub CLI site for other systems; that site was not captured. Then run 'gh auth login' and confirm the repository has a GitHub remote. On a PR branch, run /code-review to print results to the terminal. The README examples do not show how a PR is chosen, and the command file refers to 'the given pull request' with a <PR> placeholder. How the PR is selected during a local run is not stated.

The documented ways to change behaviour are choosing between terminal-only output (the default) and posting with --comment, and editing commands/code-review.md to add or change agent tasks. The README also describes changing a confidence threshold by editing a line reading 'Filter out any issues with a score less than 80'. That line is absent from the captured command file, which filters by validation rather than a numeric score, so the threshold change the README describes cannot be made in this revision. The command file holds the instructions for every agent, so edits can change cost, behaviour and what gets posted. The evidence does not say how to configure the inline-comment tool.

Example

The README includes a sample PR comment with a '## Code review' heading, 'Found 3 issues:', and numbered items such as 'Missing error handling for OAuth callback (CLAUDE.md says Always handle OAuth errors)'. Each item is followed by a full-SHA GitHub link with a line range. This is an illustration of the output format, not the output of a real run. This report did not run the plugin to produce an example.

The link format rules matter. Links must use the full commit SHA, #L line notation, the same repository name as the code being reviewed, and at least one line of context before and after the cited lines. The command file gives a worked link on the anthropics/claude-code repository. Unknown: how a real review reads in practice, how often its findings are correct, and how long a review takes. The README says only that agents are slow on large PRs.

Assessment & evidence

Limitations

Behavioural claims are unmeasured. The captured files contain no test, benchmark or accuracy data, so the true false-positive and miss rates are unknown. The command file tells agents to assume every tool works and not to test tools. The evidence therefore does not show how the plugin behaves when gh fails, when login is missing, or when the inline-comment tool is unavailable.

The scope limits are part of the design. Agent 3 sees only the diff and must skip findings that need outside context. The high-signal rule excludes style, subjective advice and input-dependent possibilities, and pre-existing problems are excluded. A real bug that needs wider context may therefore be missed, and the evidence does not say how often that happens. It is also unclear whether findings from the two CLAUDE.md reviewers are validated, since step 5 explicitly sends only findings from agents 3 and 4 for validation, while step 6 drops anything unvalidated.

The documents disagree in several places, so confirm before relying on either one. The README describes a 0 to 100 score with an 80 threshold, a configuration line to change the threshold, and a fourth agent that analyses git blame and history. The command file has no score or threshold line, defines agent 4 as an Opus bug agent, and has no git blame step. On the no-issues case, the README says no comment is posted when no issue reaches the threshold. The command file instead posts a 'No issues found' summary comment with gh pr comment when --comment is set and a completed review finds nothing. The version (1.0.0 in the README, 1.0.1 in the manifest) and the author differ as well.

Platform and process limits: the evidence describes only GitHub and the GitHub CLI, and the README's install note refers to the Claude Code repository. With --comment, the command can post visibly to a live pull request. An eligible review that finds nothing gets a 'No issues found' summary comment, and a review with surviving issues gets inline comments. A pull request stopped by the eligibility check gets no comment. The skip rules rely on judgements such as 'trivial change that is obviously correct', which the captured text does not define.

Reasoning

The design pairs two kinds of check. Two agents compare the changes with the CLAUDE.md files that apply to them, and two Opus agents look for bugs, security issues and incorrect logic in the changed code. A validation stage then drops findings that a further agent does not confirm. The command file states each agent's model tier, the context it sees, what may and may not be flagged, and the comment format, so the intended behaviour can be read directly from the captured text.

The plugin is built to post fewer comments that are more likely to be right, rather than to catch everything. Agents may flag an issue only when they are sure it is real, the bug scan reads only the diff, and style and pre-existing issues are excluded. Its accuracy and running costs remain unknown. The evidence contains no comparison with human reviewers or other tools, so it is not established whether it finds more or fewer real problems than they do.

Alternatives

The evidence contains no comparison with other code review tools, linters or manual review, so this report does not rank the plugin against alternatives.

Within the plugin, the documented options are terminal-only output (the default) or posting with --comment, and adding or changing agent tasks by editing the command file. The README also describes a numeric threshold setting, but the line it says to edit is absent from the captured command file, so that option is not available as described in this revision. The captured files describe no other option. Readers who need review on a code host other than GitHub, or without the GitHub CLI, will need a different source; the evidence does not identify one.

Evidence

All captured files come from pinned revision e37d307bd9f85dab6fea5dfb5e3dc146753b2d2d:

- plugins/code-review/.claude-plugin/plugin.json (256 bytes): the manifest. - plugins/code-review/commands/code-review.md (7,329 bytes): the command specification and the most detailed source on behaviour. - plugins/code-review/README.md (7,703 bytes): documentation and usage. - plugins/code-review/LICENSE (11,358 bytes): the Apache 2.0 text. - LICENSE at the repository root: the same Apache 2.0 text, outside the selected folder.

Evidence strength: these are primary files supplied by the publisher, so they are reliable about what the plugin says it does. They are not evidence of how the plugin performs, what it costs or who uses it. Where the README and command file disagree, the command file gives the more detailed statement of behaviour, but neither was executed.

Access & freshness

Costs

Unknown. The captured files contain no price, subscription requirement, usage quota, or estimate of model calls, tokens or time per review. The licence grants royalty-free use of the plugin code, but it does not say what running the plugin costs.

The command file describes agent tasks, not model requests. For a pull request that passes the eligibility check, it specifies seven initial agent tasks: a haiku pre-check, a haiku CLAUDE.md path listing, a sonnet change summary, two sonnet CLAUDE.md compliance agents and two Opus bug agents. It then adds one validation agent for each issue raised by the two bug agents, naming Opus for bug and logic issues and sonnet for CLAUDE.md violations. If the first check finds the pull request closed, a draft, trivial or already commented on by Claude, the run stops after that check. The number of issues is not known in advance. The evidence also does not say how many model requests or tokens each agent task uses, so actual request counts, token use and cost are unknown. The README warns that agents are slow on large PRs and suggests splitting large PRs. None of this is priced in the evidence.

Rights

The plugin folder includes the full Apache License, Version 2.0 text (plugins/code-review/LICENSE). Under §2, each contributor grants a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright licence to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense and distribute the work and such derivative works in source or object form. Under §3, each contributor also grants a perpetual, worldwide, non-exclusive, no-charge, royalty-free patent licence to make, have made, use, offer to sell, sell, import and otherwise transfer the work. This licence is irrevocable except as stated in that section. It applies only to patent claims licensable by that contributor that are necessarily infringed by its contribution(s) alone, or by its contribution(s) combined with the work they were submitted to. If you start patent litigation against any entity (including a cross-claim or counterclaim) alleging that the work, or a contribution incorporated in it, directly or contributorily infringes a patent, any patent licences granted to you under the licence for that work end on the date the litigation is filed.

Section 4 sets conditions for reproducing and distributing copies of the work or derivative works, in any medium, with or without modifications. You must give other recipients a copy of the licence and make any modified files carry prominent notices stating that you changed them. In the source form of any derivative work you distribute, you must keep all copyright, patent, trademark and attribution notices from the work's source form, except notices that do not pertain to any part of the derivative work. If the work includes a NOTICE text file, any derivative works you distribute must include a readable copy of its attribution notices, again leaving out any that do not pertain. The copy must appear in at least one of three places: a NOTICE text file distributed as part of the derivative works; the source form or documentation, if provided along with the derivative works; or a display generated by the derivative works, if and wherever such third-party notices normally appear. The NOTICE contents are for information only and do not modify the licence. Section 5 says that, unless you explicitly state otherwise, any contribution you intentionally submit to the licensor for inclusion in the work is under the terms of this licence, without additional terms or conditions. It also says nothing in the licence supersedes or modifies any separate licence agreement you may have executed with the licensor regarding such contributions. Section 6 grants no permission to use the licensor's trade names, trademarks, service marks or product names, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file. Sections 7 and 8 provide the work 'AS IS' without warranties and limit contributor liability.

The captured notice does not name a copyright holder. Its appendix still contains the template line 'Copyright [yyyy] [name of copyright owner]'. The repository root LICENSE is the same Apache 2.0 text and was captured as a related notice outside the selected folder. No NOTICE file appears in the captured plugin files, so the NOTICE condition has no captured file to apply to. Unknown: the copyright holder and year, and whether any third-party notices apply. The manifest's author field (Anthropic) and the README's author name (Boris Cherny) are attribution facts and do not settle who holds copyright.

This is a description of the captured text, not legal advice.

Freshness

The captured content is from revision e37d307bd9f85dab6fea5dfb5e3dc146753b2d2d and was captured on 12 November 2026. The source URL points at the main branch, but this report covers only the pinned revision. Any later change on main is not covered.

The evidence gives no commit date, release date or maintenance record, so the plugin's age and recency are unknown. The captured files show no deprecation, abandonment or replacement notice. The version mismatch (1.0.1 in the manifest, 1.0.0 in the README) may mean the README lags the manifest, but the evidence does not confirm this.

Actions

Read commands/code-review.md at the pinned revision before adopting the plugin. Where it differs from the README, treat the command file as the description of behaviour.

Before using --comment on a shared repository, run the plugin without the flag on a non-critical pull request. Compare the output with your own review and confirm that gh is logged in. If you want issues posted as inline comments, also confirm the inline-comment tool is available, because the captured files do not say how it is supplied. With --comment, expect a 'No issues found' summary comment when an eligible review finds nothing and inline comments when issues survive validation. Expect no comment when the eligibility check stops the run.

Estimate the cost on your own account and model usage before rolling it out to a team, because the evidence gives no figure. Check the upstream repository for changes after revision e37d307. Before redistributing the files, confirm the copyright holder and any NOTICE obligations.

Evidence for this report

LICENSEnotice · checked 2026-11-12
plugins/code-review/LICENSEnotice · checked 2026-11-12
plugins/code-review/README.mdselected · checked 2026-11-12
plugins/code-review/commands/code-review.mdselected · checked 2026-11-12