CLClaude Lessons Try the free lessons

Claude Lessons / Guides

Claude Ship Explained: Code Review, PR Steward, and Claude Approvals

Most writing about "Claude reviewing your pull requests" describes one thing: a bot that leaves comments. That is now the smallest piece of a much larger system. Claude Ship is the umbrella for three separate agents that take a GitHub pull request through review, fixes, and an approval decision — and they have genuinely different identities, different billing, and different blast radii. Code Review comments. PR Steward pushes commits. Claude Approvals can post an approving review. The difference between a useful rollout and an unreviewed change landing on your default branch is mostly a matter of knowing which agent is allowed to do what, in which order to switch them on, and which three settings quietly let a merge happen with nobody looking. This guide covers all of it.

Illustration of a change being reviewed, fixed and approved before it merges

What Claude Ship actually is

Claude Ship is not a product you install. It is the name for a set of agents that help get a team's GitHub pull requests ready to merge, configured together from one page: Organization settings → Claude Ship, which needs the Owner role in your Claude organization. Three agents live there:

Together they can take a pull request through review, fixes and an approval decision without someone shepherding each step. What actually merges is still decided by your settings and your GitHub branch rules — none of the three agents is a merge button, and PR Steward is explicitly designed not to approve or merge anything.

If you already use Code Review: its settings moved to the Claude Ship page. Nothing about your reviews changed, but the place you configure them did.

The three agents at a glance

The useful way to hold these apart is by what each is permitted to write, because that is what determines how much care the rollout needs.

Agent Status What it writes What starts it
Code Review Generally available Inline comments, a summary, and a check run. Never code. Opening or pushing to a pull request where reviews run automatically, or @claude review from someone with write access
PR Steward Public beta Commits to your branch, plus replies to review comments Opening, reopening or marking a PR ready (mode On), a push to a PR it hasn't started on, or @claude steward / the claude-pr-steward-watching label (mode Manual)
Claude Approvals Public beta A Claude Approvals check, a comment with its reasoning, and — where the policy allows — an approving review A policy file at .claude/approvals.yml merged onto the default branch

Note the third row's trigger. Code Review and PR Steward are switched on by an Owner in the Claude organization. Claude Approvals is switched on by anyone who can merge a policy file onto the default branch, once the prerequisites are met. An Owner can turn Approvals off for the whole organization, and it then stays off even when a policy file merges — but that asymmetry is worth knowing before you assume approvals policy is an admin-only lever.

All three agents use AI and may miss bugs, security vulnerabilities or other issues. None of them is a substitute for the branch protection you would want anyway.

Claude Ship vs. /ship, /steward and auto-fix

This is the single most confusing thing about the current lineup, because the names collide. There is an agent called PR Steward and a command called /steward, and they are not the same thing. The distinction is identity and billing:

Claude Ship agents /ship, /steward, auto-fix
Who sets it up An organization Owner, per repository Any developer, in their own session
Acts on GitHub as The Claude GitHub App (or your own app on GitHub Enterprise Server) You, through your gh and git sign-ins
Where it runs A cloud session on Anthropic's infrastructure Your own machine, in your Claude Code session
Billed to Your organization's usage credits Your own usage
Scope Whole repositories, every qualifying PR One pull request, the one you are working on

The two layers also interlock defensively. If PR Steward is already working on a pull request, a /steward watch will not start on it, and an auto-fix request against that pull request fails outright. You cannot accidentally have both pushing to the same branch.

Agent 1: Code Review

Code Review is the oldest and most conservative of the three: it is generally available, and it never touches your code. Several agents read each change alongside the surrounding code in parallel, then a verification step checks each candidate finding against the code and filters out false positives. What survives is deduplicated, ranked by severity, and posted as inline comments on the lines concerned, with a summary and a check run.

That verification pass is the part worth internalising, because it changes how you should read the output: findings are meant to be few and real rather than exhaustive. A review by itself does not approve or block a pull request — but its result does count toward approvals in a repository whose Claude Approvals policy reads it, which is how the three agents chain together.

Two behavioural details that trip teams up:

The comment commands give you per-pull-request control: @claude review for one review, @claude review always, @claude review once, @claude review pause, @claude review stop and @claude review off. If you already write project rules for Claude, the same instincts apply here — see our CLAUDE.md best practices guide for how to write instructions that an agent actually follows.

Agent 2: PR Steward

PR Steward is the one that changes your working day, because it is the one that pushes code. With it on, you open a pull request and start your next change while Steward works through the failing checks, conflicts and review comments that arrive after you have moved on. It picks up a problem on GitHub, works on it in a cloud session, and reports back on the pull request.

While it is watching a pull request, the PR carries the claude-pr-steward-watching label, and Claude pushes commits and replies to comments without asking first. Here is what it takes on:

Problem What PR Steward does
A failing check Attempts a fix when the cause is in code the pull request touches
A merge conflict Attempts to merge the base branch in and resolve the conflicts
A person's review comment Attempts small, specific changes and replies. May reply without pushing when the request is large or about the design
A review bot's finding Works on findings that Code Review marks Important. For other bots, works on lint findings and bugs
The Claude Approvals check Where the check waits on something a commit can fix, such as open Code Review findings, works on that. Where it waits on people's approvals, leaves it alone

The scoping in the first row is the most important line in the table. PR Steward attempts a failing check only when the cause lies in code the pull request touches — it is not a general-purpose CI repair bot, and a flaky unrelated test is not its job.

What PR Steward skips, by default: drafts, pull requests from forks, pull requests a bot opened, and authors without write access to the repository. An Owner can change a repository's setting to include drafts.

PR Steward has no spend limit of its own until you set one. This is the single most expensive default in the Claude Ship lineup. Setting one takes an Owner role, and it is worth doing before you flip a repository to On.

Controlling PR Steward

There are three levels of control, and knowing which one you have access to saves a lot of flailing.

Per pull request (anyone with write access). Remove the claude-pr-steward-watching label, or comment @claude stop. To start it in a Manual repository, comment @claude steward or add the label.

For all your own pull requests (you). The PR Steward section in your own Settings → Code (or Settings → Claude Code) turns it off or limits it on the pull requests you open later. There is also an Act on its own choice, which opts your pull requests in even in a repository set to Manual.

Per repository (an Owner). On the Claude Ship page, Edit beside a repository opens the Steward menu with four start modes:

ModeWhen PR Steward starts
Manual (@claude steward)When someone with write access comments @claude steward or adds the claude-pr-steward-watching label
OnWhen a qualifying pull request is opened, reopened or marked ready for review — and at the next push to an open one it hasn't started on before
On (including drafts)The same, plus draft pull requests
OffPR Steward doesn't start in the repository

Start at Manual. The docs recommend it explicitly, and it is the right call: you get the agent on demand, on pull requests you choose, while you learn what its commits look like. There is also an Excluded users list, by GitHub username, under the Steward switch.

One easy-to-miss trigger in On mode: Steward starts not only on new pull requests but at the next push to an open one it hasn't started on before. Flipping a repository to On therefore reaches into pull requests that were already open, as soon as someone pushes to them.

What a PR Steward session can reach

Because PR Steward commits code as an app rather than as a person, it is worth being precise about its access. A session acts as the Claude GitHub App (or, on GitHub Enterprise Server, as the app your organization created) and runs in a cloud session.

Anthropic's service refuses a defined set of requests from a PR Steward session even though its app token could technically make them: approving a pull request, changing branch protection, rulesets or statuses, writing check runs, and deleting a branch. That is the mechanism behind "Steward is designed not to approve or merge" — it is enforced server-side, not merely by prompt. You should still use branch protection to require the approvals you want, because that is what governs the merge itself.

Agents that push commits reward people who read diffs

PR Steward's commits land without asking. The skill that makes that safe is not configuration — it is the habit of reading a diff for what changed rather than skimming for reassurance. That is one of the core habits the lessons drill, with real changes to inspect.

Start the free lessons

Agent 3: Claude Approvals

Claude Approvals is the most powerful and the most misunderstood of the three, because it is the only one that can post an approving review. Mechanically it is a check on GitHub pull requests that reports who still has to approve, following a policy file in your repository.

To evaluate a pull request, Approvals reads the policy from the default branch, finds the rules that apply, takes the strictest, and counts approvals. You see:

A title that starts with (observe mode) means the policy was not enforced when the check ran. Observe mode is where you should start: the check reports what your policy would decide without gating anything. Be aware that observe mode is still billed — the reviews and classifier runs a policy starts are real work.

The point of all this is graduated review: more people on risky changes, fewer on routine ones. Billing code can need two people; test fixtures can need one person once Code Review passes. That is the shape worth aiming for, and it is not something CODEOWNERS alone can express.

This has nothing to do with the permission prompts in a Claude Code session. If you landed here looking for whether Claude asks before running a command, you want permission modes and auto mode instead.

The policy file, key by key

You write the policy as a list of rules in .claude/approvals.yml. The canonical starter looks like this:

# .claude/approvals.yml
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]

Every line is doing something specific. The top-level keys:

KeyRequiredValuesDefaultWhat it does
versionYes1, as a bare number—Schema version
rulesYesList of rules—Rule order does not matter — the strictest applies
modeNoenforce, observeenforceHolds for every rule in the file. Note the default is enforce — you must ask for observe
nestedNooverwrite, inheritoverwriteWhether rules stay in force under policy files in subdirectories
runNosequential, parallelsequentialWhether a rule's classifiers start in turn or together
localsNoMap of names to values—Values to reuse across rules, with use

mode defaults to enforce. Omitting it does not give you a dry run; it gives you a live policy. Write mode: observe explicitly for a trial.

Inside a rule, the three keys that carry the weight are paths, if and verdict.

paths: which files the rule matches

Glob syntax, with a few sharp edges:

A rule worth copying early: paths: ["**/.claude/**"] matches the files under any .claude/ directory — which includes the policy file itself. Guarding the policy with the policy is how you stop someone relaxing the rules in the same pull request that needs them.

if: conditions on facts about the pull request

A rule can read facts, so routine changes can ask for less. The available facts include:

FactExampleWhat it counts
pr/files_changed, pr/files_added, pr/files_removed"pr/files_changed > 50"Counts over the whole pull request
pr/diff_lines"pr/diff_lines <= 20"Changed lines in the whole pull request
rule/files_changed and siblings"rule/files_changed = pr/files_changed"Counts among the files this rule's paths match
pr/authors"ALL pr/authors = bot:dependabot"Accounts that wrote or pushed a commit, plus the opener
pr/opened_by"pr/opened_by = acme/release"The account that opened the pull request
pr/approved_by"ANY pr/approved_by = acme/security"People with write access who approved the current diff. Authors and bots are excluded. Also takes = empty
pr/base"pr/base = 'release/**'"The branch the pull request targets

A condition can also read a classifier's answer — a model's judgment on a question you define, such as how risky the change is, or Code Review's own verdict. Classifier runs are billed.

A condition cannot read CI results. There is no fact for "tests passed". Keep CI as its own required check in GitHub; do not try to express it in the policy. The rule/files_changed = pr/files_changed idiom is also worth noting: it is how you say "this rule covers the entire pull request", which matters because a relaxed rule should not apply when the PR also touches something else.

verdict: what the rule asks for

FieldValuesMeaning
claude approves, comments, blocks approves: Claude may post an approving review once the check passes, if every applying rule says so and every changed file is covered. comments: Claude does not approve. blocks: the check fails no matter who approves
seats 0 to 16, or a list of up to eight sets How many people must approve. A bare N is shorthand for [{ count: N, from: humans }]. Refused alongside blocks
max_age A whole number plus s, m, h or d, from 1m to 83d How long an evaluation's results count. After that the check fails with Results are older than the policy allows

How seats and approvals are counted

seats accepts a list of sets, not just a number, and the set vocabulary is where the real expressiveness lives:

SetWho it means
humansEvery person, authors included. A machine user — an account a script or agent drives — counts as a person. The claude account that Claude's cloud sessions commit as does not
botsEvery bot and GitHub App, Claude's apps and github-actions included
everyonehumans and bots together. Written alone, with no brackets
nobodyNobody. Valid under findings only
ana-acmeOne login. In a condition, put it in single quotes
acme/paymentsA team in the repository's GitHub organization
bot:dependabotOne bot, with no [bot] suffix. bot:claude means Claude's apps
"!pr/authors"Takes accounts away. Quote it, and place it beside an item without !

The line to read twice is humans → "authors included". That single detail is responsible for most policies that look stricter than they are, and it leads directly to the next section. If you want a reviewer who is not the author, you need "!pr/authors" in the set — asking for seats: 1 does not get you that.

How a pull request merges with nobody looking

Claude Approvals makes it easy to write a policy that reads as careful and behaves as a rubber stamp. These are the documented ways a pull request can merge when nobody but its author has looked at it:

  1. The check isn't required. The Claude Approvals check blocks a merge only where you make it a required check in GitHub — and normally not in observe mode. A failing-looking check that nothing requires stops nothing.
  2. The policy asks for nobody else. Because the author can fill a seat, seats: 1 means nobody else has to look. With seats: 0, a pull request a bot wrote can merge with no person involved at all.
  3. GitHub counts Claude's approval. Where a GitHub branch rule requires one approval, Claude's approving review can be that approval.
  4. Claude approves with nothing having reviewed. A rule with claude: approves starts no Code Review by itself. Unless the rule reads a classifier or requires Code Review to pass, Claude can approve a change that nothing has read.

Now add automation. If you use GitHub auto-merge or a merge queue with a policy that doesn't require a person's approval, a change can merge without anyone acting at all. The combination of claude: approves, a branch rule satisfied by one approval, and auto-merge is a fully autonomous path from "bot opens PR" to "code on the default branch". That may be exactly what you want for dependency bumps. Decide it on purpose.

The mitigation the docs point to is to let Claude approve only when Code Review passes — wire the review into the rule rather than trusting approves on its own. Start in observe mode, read the check titles for a week, and only then enforce. Our security best practices guide covers the same instinct applied to local sessions.

The trap: a policy file stops automatic reviews

This is the single most surprising interaction in Claude Ship, and it bites during exactly the cautious rollout you were trying to do.

Adding an approvals policy can stop your automatic Code Reviews. Where every file a pull request changes lies under a policy file, automatic reviews normally stop unless a rule for those files names claude/code_review. This holds in observe mode as well as when the policy is enforced — so a trial that was meant to change nothing silently turns off the review you already relied on.

The fix is one line, and it is why the starter policy above carries it:

    advisory: [claude/code_review]

List claude/code_review under advisory in the rules matching those paths and automatic reviews continue. If you take one thing from this guide into your first policy file, take this: add the advisory line before you merge the policy, not after someone notices the reviews stopped.

Turn-on order, and why turn-off order reverses

Turn the agents on one at a time, in one repository, in this order:

  1. Code Review — connect GitHub, install the Claude GitHub App, choose repositories, set when reviews run.
  2. PR Steward — and set the start mode to Manual (@claude steward) first. Set a spend limit; it has none until you do.
  3. Claude Approvals — in observe mode, with the advisory line.

Turn them off in the reverse order:

  1. Claude Approvals
  2. PR Steward
  3. Code Review

The reversal is not symmetry for its own sake. An approvals policy can start billed Code Reviews in a repository where Code Review itself is switched off. Disable Code Review first and you leave a policy quietly spending your organization's usage credits on reviews you thought you had turned off. Approvals goes first, always.

Two more things that do not switch off when you expect. Turning off the three agents leaves /ship and /steward available to developers; those are turned off separately, for the organization. And if you turn off usage credits in Organization settings → Usage, an agent that is still on keeps running and keeps billing — the credit switch is not an off switch for the agents.

What each agent costs

Every agent is billed on token usage through your organization's usage credits, separately from your plan's included usage. The shapes differ:

Eligible Enterprise organizations can claim promotional Claude Ship credits; the terms, amount and dates live in Anthropic's support documentation rather than the product docs. If you are modelling the cost of agentic work more broadly, our token usage and costs guide covers the levers that actually move the number.

Doing all of this locally instead

You do not need an organization rollout to get most of the value. There is a local counterpart to each agent, and the commands run in your own session against your own usage.

What you wantUse
A review alone, in your terminal/code-review
A deep multi-agent review in the cloud/code-review ultra (ultrareview)
Open a PR, review it, then work the feedback/ship
Work the feedback on an already-open PR, no review first/steward
Fixes as feedback arrives, from a cloud sessionAuto-fix, or /autofix-pr
Agents across whole repositories, billed to the orgClaude Ship

/ship and /steward require Claude Code v2.1.330 or later, the GitHub CLI 2.63 or later signed in with gh auth login, and git 2.38 or later. With an older gh, Claude cannot push fixes; with an older git, it leaves base-branch merges to you. Both commands run only from the CLI in a local clone — cloud sessions do not have them.

/ship takes your finished change, commits and pushes it, opens the pull request as you, reviews it with /code-review, and then starts a watch: ongoing work on failing checks, conflicts, comments and its own findings. /steward skips the commit and the review and starts the watch directly.

Several details here are genuinely easy to get wrong:

A watch runs code on your computer. Run one only where you trust everyone who can merge to the base branch or push to your branch — any of them can get programs run on your machine with your credentials. This is the same threat model our sandboxing guide covers, and it is a good reason to run watches inside a boundary.

Ultrareview (/code-review ultra, with /ultrareview as an alias where available) is a research preview that launches a fleet of reviewer agents in a cloud sandbox. It needs a claude.ai login — an API key alone will not do — and it is unavailable on Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry, and to organizations with Zero Data Retention, the HIPAA configuration, or customer-managed encryption keys; in those cases /code-review ultra falls back to a local review. Claude never starts an ultrareview on its own.

Where Claude Ship is not available

Compliance posture rules the agents out entirely in some organizations, and the boundaries differ slightly per agent:

Common mistakes

FAQ

What is Claude Ship?

Claude Ship is the umbrella name for three Claude agents that work on your team's GitHub pull requests: Code Review, which reads each change and comments inline on problems it finds; PR Steward, which pushes commits to fix failing checks, merge conflicts and review feedback; and Claude Approvals, which is a pull request check that applies an approval policy you write in .claude/approvals.yml. They are configured together under Organization settings, Claude Ship, and you turn them on one at a time. Code Review is generally available; PR Steward and Claude Approvals are in public beta. All three require a Claude organization on a Team or Enterprise plan.

Is PR Steward the same as the /steward command?

No, and the difference matters for billing and for identity. PR Steward is an organization-level agent: it acts on GitHub as the Claude GitHub App, runs each job in a cloud session, and bills your organization's usage credits. The /steward command runs in your own Claude Code session on your own machine, uses your gh and git sign-ins so its work appears under your name, and counts against your personal usage. The same split applies to auto-fix. If PR Steward is already working on a pull request, a /steward watch will not start on it, and an auto-fix request on that pull request fails.

Can Claude Approvals merge a pull request with no human review?

Yes, in several configurations, which is why the policy deserves care. The Claude Approvals check only blocks a merge where you make it a required check in GitHub, and normally not in observe mode. A rule with seats: 1 can be satisfied by the author alone, because an author can fill a seat; seats: 0 lets a bot-written pull request merge with nobody looking. Where a GitHub branch rule requires one approval, Claude's own approving review can be that approval. And a rule with claude: approves starts no Code Review by itself, so Claude can approve a change that nothing has reviewed — pair it with a classifier or require Code Review to pass first. Combining any of these with GitHub auto-merge or a merge queue is how a change merges with no person acting.

Why did my automatic Code Reviews stop after I added an approvals policy?

Because an approvals policy takes over which pull requests get reviewed automatically. Once .claude/approvals.yml is on the default branch, where every file a pull request changes lies under a policy file, automatic Code Reviews normally stop unless a rule for those files names claude/code_review. This holds both in observe mode and when the policy is enforced, so it can surprise you during a trial run. The fix is to list claude/code_review under advisory in the rules that match those paths, which is why the starter policy in the docs includes an advisory line.

What order should I turn the Claude Ship agents on and off in?

Turn them on in the order Code Review, then PR Steward, then Claude Approvals, one agent at a time in one repository. Turn them off in the reverse order: Approvals first, then PR Steward, then Code Review. The reversal is not cosmetic. An approvals policy can start billed Code Reviews even in a repository where Code Review itself is switched off, so disabling Code Review first leaves a policy quietly spending your usage credits. Note also that turning the three agents off leaves the /ship and /steward commands available to developers; those are turned off separately.

How do I stop PR Steward on a single pull request?

Remove the claude-pr-steward-watching label from the pull request, or comment @claude stop on it. While PR Steward is watching, that label is present and Claude pushes commits and replies to comments without asking first. To keep it away from your pull requests generally, use the PR Steward section of your own Settings, under Code or Claude Code. An organization Owner has broader controls on the Claude Ship page: a per-repository start mode of Manual, On, On including drafts, or Off, plus an Excluded users list by GitHub username.

The agents raise the ceiling. You still set the bar.

Code Review finds what it finds. PR Steward fixes what it can. Neither knows what your change was supposed to do. The judgment that makes agentic review worth having — writing a reviewable change, reading a diff properly, deciding what "done" means — is a skill, and it is what the free lessons practice.

Start the free lessons