Claude Ship: agents that review, fix and approve GitHub pull requests
Claude Ship adds three GitHub pull request agents: Code Review, PR Steward and Claude Approvals. What each does, what it needs, and the separate /ship command.
Published . Checked against Claude Code v2.1.331. This site is unofficial; the sources under each section are Anthropic's own pages.
What Claude Ship is
Claude Ship is a set of agents for a team's GitHub pull requests. Anthropic's docs name three, and each one has its own job:
- Code Review reads a change alongside the surrounding code and posts its findings as inline comments, ranked by severity. It is generally available.
- PR Steward works on failing checks, merge conflicts and review comments, and pushes commits with its fixes. It is in public beta.
- Claude Approvals is a pull request check that reports who still has to approve, following a policy file you write. It is in public beta.
Together they can take a pull request through review, fixes and an approval decision. Your settings and GitHub branch rules still decide what merges. Separately, the /ship and /steward commands do similar work from your own Claude Code session, on one pull request at a time.
Note
The docs warn that Claude Ship uses AI and may miss bugs, security vulnerabilities or other issues. A review with no findings doesn't mean the code is error free or secure.
Source: Claude Ship (opens in a new tab), Code Review (opens in a new tab), Get a pull request ready with /ship and /steward (opens in a new tab)
/ship and /steward in your terminal
/ship opens a GitHub pull request for your change if the branch doesn't have one, reviews it with /code-review, and then starts a watch: Claude keeps checking the pull request from your session, works on failing checks, conflicts, reviewers' comments and its own findings, and pushes fixes. You merge it yourself. /steward skips the pull request and review steps and starts the watch on a pull request you already opened.
- Claude Code v2.1.330 or later, run from the CLI in a terminal in your local clone. Cloud sessions don't have either command.
- The GitHub CLI 2.63 or later, signed in with
gh auth login, and git 2.38 or later. - A session that fetches feature flags: with
DISABLE_TELEMETRYset or a third party provider,/shipisn't available. - Auto mode if you want Claude to work unattended. In
bypassPermissionsmode no watch starts, and on native Windows no watch starts either.
Both commands run in your session, act under your gh and git sign-ins, and count against your own usage. Arguments include an effort level for the review (/ship low), a pull request number, +botname to also read that bot's comments, stop to end a watch and terms to show what Claude may do during one.
Warning
/ship doesn't ask for confirmation. It can commit all your uncommitted changes, new files included, push and open the pull request after a few seconds unless you press Esc. Run git status first, and look inside your files for secrets: it only checks file names such as .env. In a public repository it doesn't commit uncommitted work for you.
Source: Get a pull request ready with /ship and /steward (opens in a new tab), Troubleshoot /ship and /steward (opens in a new tab)
What a watch can and can't do
When Claude acts without a message from you, Claude Code blocks gh and git commands that merge or approve the pull request, turn on auto merge or force push. It also limits Claude to a short list of gh and git commands and refuses tools the watch doesn't need, such as connectors, WebFetch and WebSearch.
Those limits don't cover everything. If auto merge is already on, a fix Claude pushes can let GitHub merge. While Claude answers a message you type, the limits are off. And code from the base branch, from other people's pushes to your branch and from your own tests can run on your computer with your credentials, so the docs say to run a watch only where you trust everyone who can merge to the base branch or push to your branch.
A watch ends when the pull request is merged or closed, after seven days, when you press Esc or switch branch, or when the session ends. Type /ship stop to end one, and /steward to start it again. To keep repository instructions for watches, save .claude/skills/steward/SKILL.md; PR Steward reads the same file.
Source: Get a pull request ready with /ship and /steward (opens in a new tab)
The agents your organization turns on
Code Review runs on Anthropic infrastructure with read only access to the repository, and doesn't build or run your code. Several agents look at the diff in parallel, a verification step drops false positives, and the rest are ranked and posted with a check run named Claude Code Review. Anyone with write access can comment @claude review to start one. Without the service, /code-review gives a review in your session on any plan.
PR Steward acts as the Claude GitHub App in a cloud session and bills your organization. By default it skips drafts, forks, pull requests opened by bots and authors without write access. To stop it on one pull request, remove the claude-pr-steward-watching label or comment @claude stop. It is designed not to approve or merge, so use branch protection to require the approvals you want.
Claude Approvals reads a policy in .claude/approvals.yml. This one, from the docs, asks for two people on every change, keeps Claude from approving, and starts in observe mode, where the check only shows what the policy would decide:
version: 1
mode: observe
rules:
- purpose: "A change takes two people, and Claude doesn't approve."
paths: ["**"]
verdict: { claude: comments, seats: 2 }
advisory: [claude/code_review]The check blocks a merge only where you make it a required check in GitHub. The author can fill a seat, a rule with claude: approves can approve a change nothing has reviewed, and a policy file can stop automatic Code Reviews unless a rule names claude/code_review, as the advisory line above does.
Source: Code Review (opens in a new tab), PR Steward (opens in a new tab), Claude Approvals (opens in a new tab)
Who can use it, and what it costs
- Plans: Claude organizations on Team and Enterprise plans, for repositories on GitHub. An Owner turns the agents on in Organization settings, under Claude Ship.
- Not available with Zero Data Retention, the HIPAA configuration or customer managed encryption keys. Approvals has further limits.
- Billing: each agent is billed by tokens through the organization's usage credits, separately from the plan's included usage. Turning usage credits off doesn't stop an agent that is on.
- PR Steward has no spend limit of its own until an Owner sets one.
The docs suggest turning on one agent at a time in one repository: Code Review first, then PR Steward set to Manual, so it starts only when someone with write access comments @claude steward or adds the claude-pr-steward-watching label, then Approvals in observe mode. To turn Claude Ship off, go the other way: Approvals before Code Review, because a policy can start billed reviews where Code Review is off. That leaves /ship and /steward on; an administrator turns them off with skillOverrides for ship-local and steward in managed settings.
Source: Claude Ship (opens in a new tab), Set up PR Steward (opens in a new tab), Get a pull request ready with /ship and /steward (opens in a new tab)