Use a Custom API in Claude Code: settings.json Setup
Connect Claude Code to CodingPass via ANTHROPIC_BASE_URL and verify routing with /status.
Launched November 23, 2026, Claude Ship pairs generally available Code Review with PR Steward and Claude Approvals in beta—plus a local /ship command for Claude Code. Here is how the loop works, what it costs, and where teams hit friction.
On November 23, 2026, Anthropic launched Claude Ship, a three-agent workflow designed to clear the pull request bottleneck created by AI-written code. Instead of stopping at diff comments, Claude Ship connects Code Review (generally available), PR Steward (public beta), and Claude Approvals (public beta) into a single GitHub PR pipeline—and ships a local /ship command for individual developers in Claude Code.
Anthropic built this internally first. In its engineering breakdown, the company reported that Claude now writes roughly 90% of Claude Code's own codebase, while daily changes in Anthropic's monorepo jumped from about 2,500 in May to more than 30,000 in September 2026. On the Claude Code team, layering automated review into the PR loop helped more than double merged PRs between June and September while cutting the revert rate by more than 40%.
Bottom line: Managed Claude Ship requires a Claude Team or Enterprise plan on GitHub and bills every review, steward fix, and policy classifier separately against organization usage credits—with no flat per-PR cap unless admins set one. Organizations with Zero Data Retention (ZDR), HIPAA configurations, or customer-managed encryption keys cannot enable it. Individual developers and teams outside those constraints can still run local /ship, /steward, and /code-review in Claude Code v2.1.330+ on any plan or API key, or pair Claude Code with a fixed-budget multi-model API plan like CodingPass.
Per the Claude Ship documentation, the managed service splits post-PR work into three distinct roles while leaving final merge enforcement to your GitHub branch protection rules:
@claude or pause it with @claude stop..claude/approvals.yml policy file—acting like a programmable CODEOWNERS. It can approve routine changes autonomously when policy conditions pass, or escalate sensitive paths to multiple human reviewers.In our view, the genuinely new piece here is not AI diff review—GitHub Copilot, CodeRabbit, and custom GitHub Actions already comment on PRs. The real shift is policy-as-code approval. Separating low-risk refactors and docs fixes from high-risk billing, auth, or infrastructure paths lets senior engineers stop rubber-stamping routine diffs and spend their review budget on architecture and scope.
Anthropic's internal numbers are striking: PRs receiving substantive review comments rose from 16% to 54%, single-round pass rates climbed from 65% to 78%, and mean review rounds to pass dropped from 2.08 to 1.32.
Just as revealing is the failure mode Anthropic documented while tuning the system. When an agent writes code and another agent reviews it, nitpicks stop being cheap—a human waves off a minor comment in seconds, whereas an agent commits a fix and triggers another review pass. Anthropic noted one internal CLI PR ran through more than 50 review-and-fix rounds overnight before an engineer intervened, and git blame showed roughly 59% of flagged lines had been present since pass one. To make review converge, the team added a three-round cap, switched later passes to diff-only re-reviews, and deduplicated prior findings.
Developer discussions on Hacker News following the launch surfaced three practical concerns worth weighing before rolling Claude Ship out org-wide:
mode: observe in .claude/approvals.yml bills for classifier tokens and any claude/code_review checks it invokes./ship slash command in Claude Code found that the bundled /ship command overrides it with no granular per-skill toggle.In our view, managed Claude Ship is strongest when you treat it as a governed CI gate on select repositories—starting with Once after PR creation or Manual (@claude review) and a hard monthly spend limit—rather than flipping After every push on across an entire GitHub organization on day one. (Eligible Enterprise organizations can offset pilot costs with Anthropic's promotional $10,000+ Claude Ship credit offer, claimable through January 15, 2027 and valid for 30 days after claiming.)
.claude/approvals.yml and local /ship CLIobserve modeTo test policy-driven approvals on a Team or Enterprise repository without blocking merges, commit .claude/approvals.yml to your default branch in observe mode. This starter policy from the official policy reference requires two human approvals by default, drops to one human plus Claude's approval when Code Review passes, and locks down changes to .claude/ itself:
version: 1mode: observerules: - purpose: "A change takes two people. When Claude's review passes, one is enough and Claude approves." paths: ["**"] verdict: { claude: comments, seats: 2 } override: - { if: "claude/code_review = pass", verdict: { claude: approves, seats: 1 } } - purpose: "A change to the review rules takes two people." paths: ["**/.claude/**"] nested: inherit verdict: { claude: comments, seats: 2 }Once you trust the verdicts reported on pull requests, remove mode: observe and require the Claude Approvals status check in GitHub branch protection. Remember that PR Steward has no spend limit until you configure one in claude.ai/admin-settings/usage.
/ship, /steward, or /code-review locally (any plan or API key)You do not need a Claude Team or Enterprise seat to automate your own PR loop. Update to Claude Code v2.1.330+, GitHub CLI (gh) 2.63+, and git 2.38+, sign in with gh auth login, and run the local commands inside your repository:
# Verify prerequisitesclaude --versiongh --versiongit --version # Inside a Claude Code session:# 1. Commit, push, open a PR, run local /code-review, and watch CI/comments (up to 7 days)/ship # 2. Skip review and start watching an already-open PR/steward # 3. Local review only (reads CLAUDE.md; supports --fix, --comment, and effort levels)/code-review high --commentBecause /ship and /code-review execute inside your local Claude Code session, they bill against your regular Claude Code subscription or custom API key. When acting autonomously during a watch, Claude Code blocks merge, approve, auto-merge, and force-push commands, though commits and comments still post under your own gh and git identity.
If you want a lightweight CI or cross-model review step using a custom provider, you can also invoke non-interactive Claude Code (claude -p) with your CodingPass settings.json (see our Claude Code settings.json setup guide):
claude -p "/code-review medium main...HEAD"/ship vs CodingPass API Workflows| Dimension | Managed Claude Ship (GitHub App) | Local Claude Code (/ship & /code-review) | CodingPass API-backed workflow (Claude Code / OpenCode / Codex) |
|---|---|---|---|
| Plan & eligibility | Claude Team or Enterprise on GitHub; excludes ZDR, HIPAA, and CMEK orgs | Any Claude Code plan or API key; requires CLI v2.1.330+, gh 2.63+, git 2.38+ | Individual Go / Plus / Pro or Team Pass; standard Base URL + API key |
| Automation scope | Cloud Code Review, PR Steward auto-fixes, and .claude/approvals.yml policy gate | Local PR open, /code-review, and 7-day watch loop; no automated approvals | Local /ship and /code-review, headless CI claude -p, or multi-agent pipelines |
| Model diversity | Anthropic-managed Claude models only | Claude models (default) or whatever provider settings.json points to | 25 models (Claude, GPT, open-weight) for cross-model authoring and review |
| Billing & cost cap | Variable token billing via org usage credits; separate from seat allowances | Counts toward your normal Claude Code plan or API spend | Metered at official API rates against a fixed monthly allowance from $10/mo; no surprise charges |
| Config files read | REVIEW.md, CLAUDE.md, and .claude/approvals.yml | CLAUDE.md (ignores REVIEW.md) | CLAUDE.md and your CI/agent prompts across any Git host (GitHub, GitLab, Bitbucket) |
If your team wants cross-model separation—writing features with Claude Opus 5.5 or Sonnet 5.5 and reviewing diffs with GPT-6.2 or an open-weight model—or simply wants predictable monthly spend without separate usage-credit overages, connecting Claude Code or OpenCode to CodingPass keeps all 25 models under one fixed allowance (see All models and Usage limits).
| Workload / scenario | Recommended choice | Why or trade-off |
|---|---|---|
| High-volume GitHub org on Claude Enterprise (no ZDR/HIPAA) | Managed Claude Ship (pilot with mode: observe + spend cap) | Turnkey .claude/approvals.yml policy enforcement and PR Steward; eligible orgs can test with $10,000+ promo credits |
| Solo developer or small team wanting PR automation today | Local /ship and /code-review in Claude Code | Works on any plan or API key with zero Team/Enterprise seat requirement; requires keeping a local CLI session |
| Teams needing cross-model review to avoid single-vendor blind spots | CodingPass API + Claude Code / Codex / OpenCode | Author with one model family and review with another across 25 models on a fixed monthly allowance |
| ZDR, HIPAA, CMEK, or GitLab-hosted repositories | Self-hosted CI (claude -p) or local /code-review --comment (via glab) | Managed Claude Ship is GitHub-only and unavailable under ZDR, HIPAA, or CMEK restrictions |
/ship work on individual plans or custom API keys like CodingPass?Yes. Unlike managed Claude Ship (which requires Claude Team or Enterprise on GitHub), /ship, /steward, and /code-review run inside your local Claude Code session and bill against your regular plan or configured API endpoint. You need Claude Code v2.1.330+, gh 2.63+, and git 2.38+.
mode: observe in .claude/approvals.yml still consume usage credits?Observe mode only prevents Claude Approvals from blocking merges—it still evaluates every rule on open PRs. Per Anthropic's billing docs, custom classifiers consume tokens and any rule referencing claude/code_review triggers a billed Code Review run, even while in observe mode.
No. Managed Claude Ship supports GitHub repositories only and is explicitly unavailable for organizations using Zero Data Retention, HIPAA configurations, or customer-managed encryption keys. GitLab teams can instead run local /code-review --comment (which posts notes via the glab CLI in Claude Code v2.1.257+) or wire claude -p into GitLab CI/CD.
CodingPass Go starts at