Harness Engineering 6 months ahead, in a few hours.

Claude Code code review: /code-review vs the Code Review service

Thomas Poulain · · Updated

Claude Code gives you two ways to get your code reviewed. The /code-review command reviews the changes on your branch inside your own session, on any plan, and looks for correctness bugs first. The Code Review service reviews pull requests in the GitHub repositories your organization turns it on for, on Anthropic’s infrastructure. It left research preview on October 15, 2026, for Team and Enterprise plans. Since November 23, 2026, it has been part of Claude Ship, alongside two beta agents that push fixes and handle approvals. The command has existed since v2.1.147 and has run as a background subagent since v2.1.218.

How deep the local review goes depends on the effort level, covered in the article on effort levels. If subagents are new to you, start with how subagents work in Claude Code.

How do I run /code-review in Claude Code?

Type the command in your session. With no target, it reviews your branch, plus your uncommitted changes. Since v2.1.329, on most models, it compares the whole branch against the repository’s default branch. Before that, it only reviewed the commits ahead of the upstream branch.

Since v2.1.328, on most models, the review reports only bugs and CLAUDE.md violations. It marks each finding Important, Pre-existing or Nit. For cleanups such as reuse, simplification and efficiency, run /simplify.

/code-review
/code-review --fix
/code-review --comment 1234

The review runs in a subagent with its own context window, so it doesn’t fill your conversation, and the findings show up when it’s done. --fix also asks Claude to apply the findings to your working tree, through your permission mode. --comment posts them as inline comments on the GitHub PR, or as one note on a GitLab merge request through the glab CLI (v2.1.257). /review has been an alias since v2.1.223.

Commit before you run --fix. A background review applies its edits outside your session’s checkpoints, so /rewind won’t undo all of them. Git can revert the rest.

How do I point the review at a PR, a branch or a folder?

Type the target after the effort level and any flags.

To reviewType
Your last 15 commits/code-review HEAD~15..HEAD
One branch against another/code-review main...my-feature
A pull request by number/code-review 1234
A file or directory/code-review src/auth

The review follows your CLAUDE.md, including in a non-interactive -p run.

Which effort level should the review use?

Pass a level right after the command, from low to max. At low, the review only reports the findings it’s most confident in, so you see fewer false positives. From medium through max, it widens its coverage.

/code-review high 1234
/code-review --max-findings all

When you don’t type a level, the review reuses the last one you typed, even from an earlier session. If you’ve never typed one, it uses the session’s current effort. Since v2.1.288, --max-findings <n> or --max-findings all replaces the usual cap on findings, and the choice sticks until you pass --max-findings default.

What does /code-review ultra do?

ultra starts ultrareview, a deeper review that runs in a cloud sandbox. A fleet of reviewer agents explores the change in parallel, and every finding is independently reproduced and verified. A run typically takes 15 to 25 minutes.

/code-review ultra 1234

Ultrareview is a research preview and needs a claude.ai sign-in. Pro and Max accounts get 3 free runs, once per account. After that, a review typically costs $5 to $25 in usage credits depending on the size of the change, and the launch dialog shows the estimate. In CI, claude ultrareview 1234 --trust-workspace waits for the review to finish and prints the findings to stdout. The flag arrived in v2.1.309, when the subcommand started requiring workspace trust.

How does the Code Review service work on GitHub?

An Owner of your Claude organization turns it on in Organization settings > Claude Ship and installs the Claude GitHub App. Several agents read the diff and the code around it, then a verification step filters out false positives. The review posts inline comments on the lines concerned and a check run named Claude Code Review. By itself, it doesn’t approve or block the pull request. With a Claude Approvals policy, its result can count toward approvals. That policy file, .claude/approvals.yml, also normally stops automatic reviews where no matching rule names claude/code_review.

Each repository’s Review runs setting decides when reviews run, and anyone with write access can also start one from a comment.

@claude review
@claude review always
@claude review stop

@claude review always subscribes the PR to a review on every push, until someone comments @claude review stop (v2.1.307). Since v2.1.304, the Owner picks the review level, Quick, Standard (the default) or Deep, for the whole organization or per repository. According to Anthropic’s announcement, most reviews now finish in 6 to 10 minutes, down from about 20 during the preview.

How much does Code Review cost?

There’s no published flat price per review. Code Review is billed on token usage through usage credits, separately from your plan’s included usage, and the bill goes to the organization. Cost depends on things like the review level and the size of the change. With After every push, the setting a newly added repository starts on, it scales with the number of pushes.

For a pilot, put a few repositories on Once after PR creation and read their average cost per review in the admin settings. Set a monthly spend limit for the service on the Usage page too. Eligible Enterprise organizations can claim $10,000 to $50,000 in Claude Ship credits by January 15, 2027, and the credits expire 30 days after you claim them. Since November 23, 2026, they also pay for PR Steward and Claude Approvals.

Should review rules go in CLAUDE.md or REVIEW.md?

The service reads both files. /code-review reads your CLAUDE.md and ignores REVIEW.md. Put rules that apply everywhere in CLAUDE.md, and keep REVIEW.md, at the repository root, for pull request review only.

# Review instructions

Report at most five Nits per review.

## Do not report

- Generated files under `src/gen/` and any `*.lock` file

Code Review reads REVIEW.md from the base or default branch, never from the pull request’s own changes. Merge the file before you expect it to take effect, and protect your default branch, or instructions that exclude files or cap nits won’t apply.

How many review rounds should you allow?

According to the Claude Code team, about 59% of what its reviewer kept flagging on later rounds was code that had been there since the first pass. The team capped review rounds and switched to re-reviewing only the new diff after the first few passes. The share of its internal PRs that pass after one review-and-fix round went from 65% to 78%. If you chain /code-review --fix runs, set yourself a similar cap.


Module 10, Team collaboration, shows how to write the team CLAUDE.md that every review follows, and the Writer/Reviewer pattern with two separate sessions. To replace the bundled review with your own code-review skill, see module 4, Skills, commands and plugins.

To see these articles more often on Google, add Harness Engineering to your preferred sources.

You might also like