Claude Code Code Review: /code-review vs Managed PR Reviews
Claude Code code review comes two ways: the managed Code Review for Team and Enterprise on GitHub, and /code-review on any plan. Setup, flags, severity, cost.
- Claude reviews code through two main entry points: Code Review, a managed service an Owner turns on for GitHub repositories on Team and Enterprise plans, and the /code-review command, which anyone can run in a Claude Code session on any plan.
- /code-review reviews the changes on your current branch for correctness bugs and reports in the conversation. --fix applies the findings, --comment posts them to a GitHub PR or GitLab merge request.
- Code Review never approves or blocks a pull request, its check run never fails, and it has no flat per-review price: it is billed on token usage through usage credits.
Claude can review your code through two main entry points. One is Code Review, a managed service that an Owner of your Claude organization turns on for GitHub repositories. The other is the /code-review command, which anyone can type in a Claude Code session on any plan. This guide compares the options, then covers using /code-review, setting up Code Review, reading what it posts on a pull request, its limits, and how it sits next to GitHub Actions.
On 2026-10-28 our test environment (macOS) reported Claude Code 2.1.312 from claude --version, and we read the docs the same day. We did not run /code-review in a session, set up Code Review, or open a pull request for this article (not run). Everything about behavior below comes from the docs.
Ways to get a review
| Option | What starts a review | Where it runs | Who can use it |
|---|---|---|---|
| Code Review | Pull request activity, as each repository is set, or an @claude review comment | Anthropic infrastructure | Organizations on Team or Enterprise with GitHub repositories, once an Owner turns it on |
/code-review | You run the command on your branch | Your Claude Code session | Anyone, on any plan |
| Ultrareview | You start it from Claude Code | A cloud sandbox | Requires signing in with a claude.ai account |
| Claude in your own CI (GitHub Actions or GitLab CI/CD) | Your pipeline’s events | Your own CI runners | Anyone with a Claude API key or cloud provider credentials |
| Your own reviewer, as a subagent or skill | You or Claude invoke it in a session | Wherever you run Claude Code | Anyone who writes one |
Source: https://code.claude.com/docs/en/code-review, checked 2026-10-28
Reviewing locally with /code-review
/code-review reviews the changes on your branch, looks for correctness bugs, and reports what it found in your conversation. Depending on your model and effort level, it also covers reuse, simplification and efficiency cleanups. It works on any plan and counts toward your plan’s usage or API billing like the rest of the session. /review is an alias.
/code-review
With no target, it reviews your branch’s commits ahead of its upstream branch plus uncommitted changes. Without an upstream, it compares against main, or against the previous commit. To review something else, type a target after the effort level and any flags:
| To review | Type |
|---|---|
| Your last 15 commits | /code-review HEAD~15..HEAD |
| One branch against another | /code-review main...my-feature |
| A single commit | /code-review abc1234^..abc1234 |
| A pull request by number | /code-review 1234 |
| A file or directory | /code-review src/auth |
Flags and arguments:
--fix: after the review, Claude applies the findings to your working tree. Edits go through your permission mode--comment: posts the findings as inline comments on a GitHub pull request, or as a single note on a GitLab merge request (v2.1.257 or later, through theglabCLI)--max-findings <n>,allordefault: changes how many findings are reported (v2.1.288 or later). Later reviews reuse the value until you passdefault- An effort level from
lowtomax, as in/code-review high. Atlowthe review reports only the findings it is most confident in; frommediumup it broadens coverage. With no level typed, it reuses the last level you typed, even from an earlier session ultra: runs the deeper ultrareview in the cloud./code-review ultra --fixapplies its findings when they come back
The review runs as a background subagent with its own context window, so it doesn’t fill your conversation. A background review applies its --fix edits outside your session’s checkpoints, so /rewind restores only files Claude had already edited in the conversation; revert the rest with git. The review follows your CLAUDE.md but doesn’t read REVIEW.md, which configures the managed service.
Neighboring commands: /simplify reviews for cleanup only and applies its fixes, and /security-review checks the diff for security vulnerabilities.
Source: https://code.claude.com/docs/en/code-review-local, checked 2026-10-28 Source: https://code.claude.com/docs/en/commands, checked 2026-10-28
For how slash commands and skills work in general, see Claude Code Slash Commands: Cheat Sheet and Custom Commands.
Setting up Code Review for an organization
Check that your organization qualifies:
- Plans: Team and Enterprise. The feature table marks Pro and Max ✗ and Team and Enterprise ✓
- Code hosts: GitHub, including GitHub Enterprise Server and GitHub Enterprise Cloud with data residency
- Not available: organizations with Zero Data Retention enabled or the HIPAA configuration applied (it isn’t covered under Anthropic’s BAA), and, for now, organizations using customer-managed encryption keys (CMEK)
- Cloud providers: you still need a Claude organization on one of these plans if your developers use Claude Code through Amazon Bedrock, Google Cloud’s Agent Platform or Microsoft Foundry
Source: https://code.claude.com/docs/en/code-review, checked 2026-10-28 Source: https://code.claude.com/docs/en/feature-availability, checked 2026-10-28
An Owner of the Claude organization does the setup in Admin settings > Claude Code on claude.ai. No workflow files go into your repositories.
- Click the Allow code review switch in the Code review section
- Connect your GitHub account when the Connect GitHub dialog opens
- Install the Claude GitHub App, pick the GitHub organization and repositories, and approve the permissions. This needs an owner of the GitHub organization
- Select repositories and click Continue. Adding one needs write access to it from the GitHub account you connected
- Click Finish in the Code review is set up dialog. Closing it any other way leaves Allow code review off
- Open a test pull request that isn’t a draft and look for a check run named Claude Code Review within a few minutes
Each repository starts at After every push, which runs the most reviews. The other Review runs options are Once after PR creation and Manual (@claude review). The review level is Quick, Standard (the default) or Deep, set for the organization and overridable per repository. Automatic reviews skip drafts and pull requests from forks.
Source: https://code.claude.com/docs/en/code-review-setup, checked 2026-10-28
What it costs
Code Review has no flat per-review price. It is billed on token usage through usage credits, separately from your plan’s included usage, and billed to the organization rather than to the developer. The cost of each review scales with the review level, the size of the change, the complexity of the surrounding code, and how many candidate issues need verification; After every push multiplies it by the number of pushes. A monthly spend limit for the Claude Code Review service is set at claude.ai/admin-settings/usage, and reviews are skipped when it, the organization limit or the credit balance runs out. The docs publish no per-review dollar amount, and we did not measure one (unverified).
Source: https://code.claude.com/docs/en/code-review-costs, checked 2026-10-28
For Claude Code pricing outside Code Review, see Claude Code Pricing 2026: What It Really Costs.
Reading findings on a pull request
Findings arrive as inline comments on the lines concerned, with a summary in the review body, each marked with a severity:
| Marker | Severity | Meaning |
|---|---|---|
| 🔴 | Important | A bug that should be fixed before merging |
| 🟡 | Nit | A minor issue, worth fixing but not blocking |
| 🟣 | Pre-existing | A bug in the codebase that this PR didn’t introduce |
The Claude Code Review check run concludes as neutral, or as skipped after some pushes that change no files, and never as a failure. With nothing found, its title reads Code review found no issues. To clear a finding, resolve its thread or push a fix; a reply alone doesn’t dismiss it.
Comment commands:
| Command | What it does |
|---|---|
@claude review (or @claude review once) | One review now, without subscribing to later pushes |
@claude review always | A review now, plus reviews on later pushes |
@claude review stop (or off, pause) | Ends the push subscription without starting or canceling a review |
Post the command as a new top-level PR comment, on one line at the start. You need write, maintain or admin permission on the repository, comments from bots don’t start reviews, and the PR must be open. In a repository set to After every push, a comment can’t stop reviews.
Source: https://code.claude.com/docs/en/code-review-pull-requests, checked 2026-10-28
What a review won’t do
No findings doesn’t mean the code is safe. The docs say an AI review can miss bugs, security vulnerabilities or other issues. Code Review never approves or blocks a pull request, so the merge decision stays with your team. It works from reading the diff and the surrounding code, without building or running anything, and its repository access inside a review is read-only. Why passing tests aren’t proof either is in Green Tests Prove Nothing, and how many review rounds to run is in When to Stop AI Code Review.
Source: https://code.claude.com/docs/en/code-review, checked 2026-10-28
Code Review vs the GitHub Action
Code Review is a managed service on Anthropic infrastructure; the Claude Code GitHub Action runs Claude on your own CI runners. If a repository also runs the Action in interactive mode with its default @claude trigger phrase, an @claude review comment starts the Action too. To keep them apart, set the Action’s trigger_phrase input to a different phrase.
Source: https://code.claude.com/docs/en/code-review-pull-requests, checked 2026-10-28
Setting up the Action is covered in Claude Code GitHub Actions: Setup, @claude and Security.
Related articles
- Claude Code GitHub Actions: Setup, @claude and Security
- Claude Code Slash Commands: Cheat Sheet and Custom Commands
- Claude Code Pricing 2026: What It Really Costs
- Green Tests Prove Nothing
- When to Stop AI Code Review
- Claude Code Ultrareview: Cost, Limits and How to Run It: free runs, usage-credit pricing, PR posting and
claude ultrareviewin CI. - Claude Code in CI, Headless and Production: how to run Claude Code unattended, plus permissions and keys in CI.
Summary
- There are two main entry points: the managed Code Review an Owner turns on, and
/code-reviewon any plan. - Code Review is for Team and Enterprise on GitHub, and isn’t available with ZDR, the HIPAA configuration or CMEK.
/code-reviewtakes a target,--fix,--comment,--max-findings, an effort level andultra.- Findings carry 🔴 Important, 🟡 Nit or 🟣 Pre-existing, and the check run never fails.
- Code Review is billed on token usage through usage credits, with no flat per-review price.
- No findings isn’t proof of safety; the merge decision stays with your team.
FAQ
- Which plans include Claude Code Review?
- Team and Enterprise. Pro and Max don't include it. It also isn't available to organizations with Zero Data Retention, the HIPAA configuration, or customer-managed encryption keys. The /code-review command works on any plan.
- How much does Claude Code Review cost per review?
- There is no flat per-review price. Reviews are billed on token usage through usage credits, separately from the plan's included usage, and the cost scales with the review level and the size of the change.
- What do the red, yellow and purple markers mean in Claude Code Review?
- Red is Important, a bug to fix before merging. Yellow is Nit, a minor issue that isn't blocking. Purple is Pre-existing, a bug already in the codebase that the PR didn't introduce.
- How do I trigger a Claude code review with a comment?
- Post @claude review as a new top-level PR comment, on one line at the start. You need write, maintain or admin permission, and comments from bots don't start reviews. @claude review always also subscribes the PR to reviews on later pushes.
- Can /code-review fix the bugs it finds?
- Yes. /code-review --fix asks Claude to apply the findings to your working tree, and the edits go through your permission mode. Some of those edits aren't undone by /rewind, so revert them with git.