Skip to content
Code Guide

Code Review (Claude Code feature)

Availability: Research preview — Teams and Enterprise plans only. Not available on Free/Pro accounts, nor for organizations with Zero Data Retention (ZDR) enabled. Launched: March 9, 2026

Claude Code’s Code Review feature runs a multi-agent review on every GitHub pull request. A fleet of specialized agents examines the diff in the context of the full codebase, each looking for a different class of issue (logic errors, security vulnerabilities, edge cases, regressions), followed by a verification pass that filters false positives.

Findings are posted as inline PR comments on the specific lines where issues were found, tagged by severity. Reviews don’t approve or block PRs, so existing review workflows stay intact.


  1. Trigger fires (PR opened, push, or manual @claude review comment)
  2. Multiple agents analyze the diff and surrounding code in parallel on Anthropic infrastructure
  3. Each agent targets a different class of issue
  4. A verification step checks candidates against actual code behavior to remove false positives
  5. Results are deduplicated, ranked by severity, and posted as inline PR comments
  6. If no issues are found, Claude posts a short confirmation comment

Reviews complete in 20 minutes on average, scaling with PR size and complexity.

MarkerSeverityMeaning
🔴NormalA bug that should be fixed before merging
🟡NitMinor issue, worth fixing but not blocking
🟣Pre-existingA bug in the codebase not introduced by this PR

Each finding includes a collapsible extended reasoning section explaining why Claude flagged the issue and how it verified the problem.


An admin enables Code Review once for the organization and selects which repositories to include.

Go to claude.ai/admin-settings/claude-code and find the Code Review section. Requires admin access to both your Claude organization and permission to install GitHub Apps in your GitHub organization.

This begins the GitHub App installation flow.

Follow the prompts to install the Claude GitHub App on your GitHub organization. The app requests:

  • Contents: read and write
  • Issues: read and write
  • Pull requests: read and write

Code Review uses read access to contents and write access to pull requests. This permission set also supports GitHub Actions if you enable that later.

Choose which repositories to enable. If a repo is missing, ensure you granted the GitHub App access during installation. You can add more repositories later from the admin settings table.

For each repository, choose when reviews run:

TriggerWhen it runsCost profile
Once after PR creationOnce when PR opens or is marked readyLowest
After every pushOn every push to the PR branchHighest (multiplied by push count)
ManualOnly when someone comments @claude reviewControlled

After the @claude review comment, subsequent pushes to that PR trigger reviews automatically regardless of the configured trigger.

Manual mode is useful for high-traffic repos where you want to opt specific PRs into review, or only start reviewing when the PR is ready for review.


Comment @claude review on any open, non-draft PR to start a review immediately. Requirements:

  • Top-level PR comment (not an inline diff comment)
  • @claude review at the start of the comment
  • Owner, member, or collaborator access on the repository

If a review is already running, the request queues until the in-progress review completes.


Two files control what Claude flags. Both are additive on top of the default correctness checks.

Claude reads all CLAUDE.md files in your directory hierarchy. Newly-introduced violations are flagged as nit-level findings. Bidirectional: if a PR makes a CLAUDE.md statement outdated, Claude flags that the docs need updating too.

Use CLAUDE.md for guidance that also applies to interactive Claude Code sessions.

Add REVIEW.md to your repository root for review-only rules. Auto-discovered, no configuration needed.

# Code Review Guidelines
## Always check
- New API endpoints have corresponding integration tests
- Database migrations are backward-compatible
- Error messages don't leak internal details to users
## Style
- Prefer early returns over nested conditionals
- Use structured logging, not f-string interpolation in log calls
## Skip
- Generated files under `src/gen/`
- Formatting-only changes in `*.lock` files
- Migration files in `db/migrations/`

Use REVIEW.md for rules that would clutter CLAUDE.md for general sessions (linter conventions, skip lists, team-specific patterns).


Code Review is billed on token usage, separately from your plan’s included usage (via extra usage).

  • Average cost: $15–25 per review, scaling with PR size, codebase complexity, and the number of issues requiring verification
  • “After every push” multiplies cost by push count
  • To set a monthly spend cap: claude.ai/admin-settings/usage → configure limit for the “Claude Code Review” service
  • Monitor spend: claude.ai/analytics/code-review (daily PR count, weekly spend, per-repo breakdown)

For manual code review workflows (CLI, no Teams/Enterprise required):


  • Teams and Enterprise only — no Free/Pro access
  • Not available for organizations with Zero Data Retention (ZDR) enabled
  • GitHub only for the managed service (GitLab supported via CI/CD integration, not this feature)
  • Full-repo indexing latency on first activation for large repos
  • Anthropic internal stats: ~7.5 issues found per PR >1000 lines, <1% false positive rate — self-reported, not independently verified