Use your Claude Code subscription to power code reviews. No API key needed, no separate billing. The agent explores your codebase like a senior developer.
npm install -g @anthropic-ai/claude-codeRequires Node.js 18+.
claude auth loginFollow the browser prompt to sign in with your Anthropic account.
claude --versionThe extension auto-detects your installation. Check Settings → Models — CLI status shows "Installed v2.x.x".
Toggle "Claude CLI" ON in Settings → General → Models.
The extension spawns a Claude Code subprocess in your project directory
Claude receives the PR diff and a system prompt with review instructions
The agent explores your codebase — reads files, searches for usages, runs linter
A real-time activity log shows what the agent is doing at each step
The agent produces a structured review with issues, quality scores, and AC verification
Results appear in the review panel alongside any other enabled models
The extension includes an MCP server that gives the agent access to project-specific tools. Enabled by default — the agent decides which tools to use based on the PR context.
Runs your project's linter and feeds structured results to the agent
Reports which lines are covered by tests
Shows existing teammate comments so the agent avoids duplicates
Finds test files related to changed code
| Mode | Time | Cost | Depth |
|---|---|---|---|
| API (Claude Sonnet) | 5-15 sec | ~$0.01-0.05 | Diff + extracted context |
| CLI Agent | 5-25 min | Subscription | Full codebase exploration |
For very large PRs (48+ files, 2600+ lines), reviews may take 5-8 minutes. The activity log shows progress throughout.
Claude CLI works alongside other providers. Switch between setups using Review Profiles.
Claude CLI only — maximum depth, one coherent review
Claude CLIAgent depth plus Gemini's large context window or GPT's reasoning
Claude CLI + Gemini or GPTClaude API for quick PRs, toggle CLI on for complex changes
Claude API (Sonnet) + CLI on demand| Scenario | Behavior |
|---|---|
| Claude Code not installed | Falls back to Claude API (if key configured) |
| Authentication expired | Falls back to Claude API + shows "run claude login" prompt |
| CLI process crashes | Falls back to Claude API |
| Agent times out (10 min) | Shows error with suggestions, no retry |
| No API key + no CLI | Shows error with setup instructions |
claude --version to verify installationclaude auth login to re-authenticateEnable Claude CLI in Git AutoReview and start getting deeper reviews today.
Install Free