# Claude Ship explained: agents that review, fix and approve GitHub pull requests by policy

On 23 November 2026 Anthropic launched Claude Ship, three agents that take a GitHub pull request through review, fixes and an approval decision. The interesting part is not the review itself but the policy file that decides when a machine may approve code.

Coding agents now write code faster than teams can read it. Anthropic said as much when it launched Claude Ship on 23 November 2026: "On the Claude Code team, Claude writes most of our code." The bottleneck has moved from writing a change to reviewing, fixing and approving it. Claude Ship is Anthropic's answer: three cooperating agents that sit on a GitHub pull request (PR) and push it toward a merge, plus a `/ship` command for developers working locally.

This matters beyond one vendor. Claude Ship lets an AI agent post an *approving* review, governed by a policy file in the repository. That moves a question many teams have avoided into plain YAML: which changes may a machine approve, and which always need a person? Below: how each agent works, what the policy file says, how billing scales, and how to roll it out safely.

If you are new to the idea of software that plans and acts on its own, our overview of [agentic AI](/topics/agentic-ai) explains the term: an agentic system is an LLM in a loop that calls tools, observes results and decides its next step, rather than answering one prompt and stopping.

## What happened

### Anthropic launches Claude Ship for GitHub pull requests (23 November 2026)

Anthropic announced Claude Ship as a beta on 23 November 2026. It bundles three agents:

- **Code Review**, which is generally available. It reviews a PR against the surrounding codebase and posts ranked findings.
- **PR Steward**, in public beta. It pushes commits that address failing checks, merge conflicts and review comments.
- **Claude Approvals**, in public beta. It applies an approval policy that the team writes as a file in the repository.

A fourth piece, the `/ship` command in [Claude Code](/tools/claude-code), lets a developer commit, push, open a PR, get a review and start a "watch" that keeps fixing feedback, all from a local terminal. Claude Ship is available on Claude Team and Enterprise plans for GitHub repositories. It is not available to organisations with Zero Data Retention, the HIPAA configuration, or customer-managed encryption keys.

Anthropic's announcement reports two internal figures, which are company claims rather than independent measurements: on the Claude Code team, merged PRs "more than doubled" from June to September, and over the same period the share of reverted changes fell by more than 40%. TechCrunch quoted the blog post's framing that "most teams want a person to approve every change", which is why the product is built around a configurable policy rather than blanket auto-approval.

### Promotional credits and pricing model (23 November 2026)

Usage is billed on tokens through an organisation's usage credits, separately from plan-included usage. There is no flat price per review. Eligible Enterprise organisations can claim at least $10,000 in Claude Ship credits, usable within 30 days of claiming, with a claim deadline of 15 January 2027.

## How the three agents divide the work

Think of a PR as a parcel moving through a sorting centre. Code Review is the scanner that flags damaged parcels. PR Steward is the repair desk that fixes what the scanner found. Claude Approvals is the dispatcher who checks the shipping rules and decides whether the parcel can leave, or needs a supervisor's signature. The loading dock, meaning the actual merge, stays with GitHub's branch rules.

| Agent | Status | What it reads | What it can write | What it never does |
|---|---|---|---|---|
| Code Review | Generally available | Diff plus surrounding code, read-only | Inline comments, a summary, a "Claude Code Review" check run | Approve or block the PR; build or run code |
| PR Steward | Public beta | Failing checks, conflicts, review comments, Important findings | Commits to the PR branch, replies to comments | Approve or merge |
| Claude Approvals | Public beta | The policy file on the default branch, classifier answers, approvals | A "Claude Approvals" check; an approving review when policy allows | Override GitHub branch protection |
| `/ship` (local) | Rolling out in Claude Code | Your local change, PR state | Commit, push, open PR, fixes under your identity | Merge, approve, force-push (blocked during unattended turns) |

### Code Review: find, verify, rank, post

The documentation describes a four-stage pipeline that runs on Anthropic infrastructure:

1. **Find**: several agents examine the diff and the surrounding code in parallel.
2. **Verify**: a verification step checks each candidate finding against the code and drops false positives.
3. **Rank**: remaining findings are deduplicated and ranked by severity.
4. **Post**: inline comments, a review summary and a check run go back to GitHub.

By default it targets correctness, "bugs that would break production", not formatting or test coverage. Teams tune it with `REVIEW.md` and `CLAUDE.md` files, and `REVIEW.md` is read from the base or default branch, never from the PR's own changes. That detail is a quiet but important defence: a PR cannot rewrite its own review instructions. Admins choose a review level per repository: Quick (fastest, cheapest), Standard (the default) or Deep (slowest, most expensive). Admins do not choose the model; Code Review picks it.

The verify step is the same idea as [LLM-as-judge](/tools/llm-as-judge) evaluation: generate candidates cheaply, then spend effort checking them, trading tokens for fewer noisy comments.

### PR Steward: the repair loop

PR Steward starts when a PR is opened, reopened or marked ready, in repositories where an Owner switched it on. It skips drafts, forks, bot-opened PRs and authors without write access by default. While it watches a PR, the PR carries the `claude-pr-steward-watching` label, and it pushes commits and replies without asking first. It works on four kinds of trouble:

- a failing check, when the cause is in code the PR touches;
- a merge conflict, by merging the base branch in;
- a person's review comment, with small, specific changes (it may reply without pushing when the request is large or about design);
- a Code Review finding marked **Important**, and lint findings or bugs from other bots.

Developers stop it with `@claude stop` or by removing the label. The steward is "designed not to approve or merge pull requests", so the separation of duties is deliberate: the agent that writes the fix is never the agent that signs off. This mirrors the classic [human-in-the-loop](/tools/human-in-the-loop) principle of not letting one actor both change and approve a control.

### Claude Approvals: approval as code

Claude Approvals is the genuinely new part. It reads `.claude/approvals.yml` from the default branch and reports a "Claude Approvals" check that says who still has to approve. The starter policy from the documentation is short enough to read in full:

```yaml
# .claude/approvals.yml
version: 1
mode: observe
rules:
  - 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 }
```

Each rule names `paths` and a `verdict`. The verdict has two parts: `claude`, which is `approves`, `comments` or `blocks`, and `seats`, the number of people who must approve (0 to 16). An `override` replaces the verdict while its `if` condition is true. Conditions can read pull-request facts such as `pr/files_changed`, `pr/diff_lines`, `pr/authors` and `pr/base`, or classifier answers such as `claude/code_review = pass`.

## How the policy engine decides, with a worked example

The rule that matters most is "strictest wins". Approvals collects the verdicts of every rule that applies to every changed file, then takes the strictest: `blocks` outranks `comments`, which outranks `approves`, and every rule's seats must be filled. In practice this behaves like a set of locks on one door: each rule adds a lock, and the door opens only when every lock is satisfied.

Two more details change outcomes:

- **The author can fill a seat.** On a PR opened by someone with write access, the author counts as one seat without approving. So `seats: 1` can be met by the author alone, and `seats: 2` means the author plus one more person. To exclude authors you write `seats: [{ count: 1, from: [humans, "!pr/authors"] }]`.
- **Protected files.** The policy file itself, everything under `.claude/classifiers/`, a root `REVIEW.md`, `CODEOWNERS`, `.gitmodules`, `.gitattributes`, symlinks and submodule pointers are built-in protected files. A change to them normally needs at least one person. The docs advise writing explicit rules for other sensitive files such as `.github/`, `CLAUDE.md`, `AGENTS.md` and `.mcp.json`, because they are not protected by default.

Now walk through three PRs under the starter policy once `mode: observe` is removed (enforced):

| PR | Files changed | Code Review result | Rules that apply | Strictest verdict | People needed beyond the author |
|---|---|---|---|---|---|
| A | `src/api/users.py` | pass | Rule 1 via override | claude approves, seats 1 | 0 (author fills the seat; Claude posts approval) |
| B | `src/api/users.py` | fail | Rule 1, base verdict | claude comments, seats 2 | 1 |
| C | `src/api/users.py`, `.claude/approvals.yml` | pass | Rule 1 via override for the code file; Rule 1 and Rule 2 for the policy file | comments beats approves; seats 2 | 1 |

Step by step for PR C: the code file gets `{approves, 1}` from the override. The policy file matches `"**"` too, so it also gets `{approves, 1}`, but it additionally matches `"**/.claude/**"`, which has no override and gives `{comments, 2}`. Strictest across all files: `comments` (because `comments` outranks `approves`) and 2 seats. Two seats minus the author's seat leaves one other human. Claude does not approve. That is exactly the protection you want: an attacker cannot relax the rules in the same PR that benefits from them. Note also that policy changes take effect only after they merge to the default branch; while in an open PR, the default-branch rules decide.

```chart
{"type": "bar", "title": "Extra human approvals needed under the enforced starter policy", "x": ["PR A: code, review pass", "PR B: code, review fail", "PR C: code + policy file, review pass"], "series": [{"name": "people needed beyond the author", "data": [0, 1, 1]}], "xlabel": "pull request", "ylabel": "approvals", "note": "Computed in the worked example above from the starter policy in Anthropic's Claude Approvals policy reference"}
```

PR A is the case to think hard about. With the starter policy enforced, a passing review plus the author's own seat means *no second human looks at the change*. The docs state the risk directly: if you use GitHub auto-merge or a merge queue with a policy that does not require a person's approval, "a change can merge without anyone acting". Whether that is acceptable depends on the path. For documentation or test fixtures it may be fine. For payments code it is not, which is why the docs show a stricter `locals` pattern for a payments directory that requires two humans, one from a payments team, with authors excluded.

## What it costs, and how to estimate it before rollout

There is no published per-review price. The cost of each review scales with the review level, the size of the change, the complexity of the surrounding code and how many candidate findings need verification. The number of reviews depends on the repository's "Review runs" setting:

- **Once after PR creation**: one review when the PR is opened, reopened or marked ready.
- **After every push**: one review per push. A repository added from the admin page starts here, which "runs the most reviews".
- **Manual (@claude review)**: no automatic reviews.

Anthropic's recommended estimation method is a pilot: set a spend limit, enable a few representative repositories on "Once" or "Manual", read the **Average cost** column per repository, then multiply by PRs per month, and by pushes per PR if you use "After every push". The arithmetic is simple enough to script. The figures below are an illustration with assumed inputs, not Anthropic numbers: a repository with 300 PRs a month, 3.5 pushes per PR, and a pilot average of $4.00 per review.

```python
def monthly_review_cost(avg_cost_per_review, prs_per_month, pushes_per_pr, mode):
    if mode == "once":
        reviews = prs_per_month
    elif mode == "every_push":
        reviews = prs_per_month * pushes_per_pr
    else:  # manual: only reviews someone asks for
        reviews = 0
    return reviews, reviews * avg_cost_per_review

for mode in ["once", "every_push", "manual"]:
    r, c = monthly_review_cost(4.00, 300, 3.5, mode)
    print(f"{mode:11s} reviews={r:7.1f} cost=${c:,.2f}")
# once        reviews=  300.0 cost=$1,200.00
# every_push  reviews= 1050.0 cost=$4,200.00
# manual      reviews=    0.0 cost=$0.00
```

The worked arithmetic: 300 PRs × $4.00 = $1,200. With every push, 300 × 3.5 = 1,050 reviews, and 1,050 × $4.00 = $4,200, so the default setting costs 3.5 times as much as "Once" for the same PRs.

```chart
{"type": "bar", "title": "Illustrative monthly Code Review cost by Review runs setting", "x": ["Once after PR creation", "After every push", "Manual"], "series": [{"name": "monthly cost", "data": [1200, 4200, 0]}], "prefix": "$", "xlabel": "Review runs setting", "ylabel": "US dollars per month", "note": "Computed with the script above using assumed inputs: 300 PRs a month, 3.5 pushes per PR, $4.00 average per review"}
```

Three billing details are easy to miss. First, PR Steward "has no spend limit of its own until you set one". Second, Approvals has no base charge, but classifier runs are billed, and a policy that reads Claude's review triggers a billed Code Review "even in observe mode". Third, turning off usage credits does not stop an agent that is on; the docs tell you to turn off Approvals first, then PR Steward, then Code Review. For broader budgeting patterns see our guide to [cost and latency budgets](/tools/cost-and-latency-budgets).

## Use cases and examples

**1. A platform team gating dependency bumps.** A team of six maintains an internal service that receives dozens of Dependabot PRs a month. They add a rule for lock files with `if: "ALL pr/authors = bot:dependabot AND claude/code_review = pass"` and `verdict: { claude: approves, seats: 0 }`, and keep `seats: 2` everywhere else. Setup: Code Review on "Once", Approvals in observe mode for two weeks. Result to measure: the observe-mode check shows which bumps *would* have auto-approved, so the team can compare that list with the bumps that later broke a build before enforcing.

**2. A payments directory with a mandatory owner.** A fintech repository uses the documented `locals` pattern, `payments_owner: { count: 1, from: [acme/payments, "!pr/authors"] }`, plus two humans. Result: any PR touching `services/payments/api/**` needs a payments team member who did not write the code, whatever Claude's review says, because the rule never uses `approves`.

**3. A solo developer using `/ship` on a feature branch.** A developer finishes a change with Claude Code v2.1.330 or later, GitHub CLI 2.63 or later and git 2.38 or later, in auto mode. `/ship` commits, pushes, opens the PR, runs a local review at the default `high` effort, then watches for up to seven days, fixing failed checks and replying to comments under the developer's own `gh` identity. During unattended turns Claude Code blocks commands that merge, approve, enable auto-merge or force-push. The developer still merges by hand.

**4. Reviewing the reviewers.** A team that already runs evaluation pipelines treats Code Review findings like any other model output: they log which findings developers resolved and which they dismissed, using the analytics page's "comments resolved" counts per repository, and compare Quick against Deep on one repository for a month. The same discipline we describe in [agent evaluation](/articles/agent-evaluation-trajectories-judges-benchmarks) applies: measure precision of findings, not volume.

## What it means in practice

Claude Ship turns approval policy into code that a machine evaluates, the same shift infrastructure teams made with policy-as-code for cloud permissions. The benefit is consistency: every PR is judged by the same versioned rules. The trap is that a permissive rule applies consistently too. Remember also that the headline internal metrics come from Anthropic's own, unusually AI-heavy team.

It also formalises a pattern coding agents have been converging on: one agent writes, another checks and a policy decides. We covered the orchestration side in [subagents in coding agents](/articles/subagent-orchestration-coding-agents) and the always-running side in [always-on AI agents](/articles/always-on-ai-agents). Claude Ship adds a governance layer and keeps GitHub branch protection as the final authority.

## What to do now

1. **Start with one repository.** Anthropic's own order is Code Review, then PR Steward, then Approvals, one agent at a time in one repository.
2. **Set spend limits first.** Set the Code Review monthly limit and a PR Steward limit before enabling either; the steward has none by default.
3. **Pick "Once after PR creation" for the pilot.** It gives one review per PR and a clean average cost to extrapolate from.
4. **Run Approvals in observe mode.** Keep `mode: observe` until you have compared what the policy would decide with what humans actually did.
5. **Protect the files that steer agents.** Write explicit rules with `nested: inherit` for `.github/`, `CLAUDE.md`, `AGENTS.md`, `.mcp.json` and the rest of `.claude/`.
6. **Audit auto-merge and merge queues.** Any rule whose verdict can reach zero extra humans plus auto-merge means unattended merges; decide that deliberately per path.
7. **Exclude authors on sensitive paths.** Use `"!pr/authors"` in seat sets where separation of duties matters.
8. **Track precision, not just volume.** Watch resolved versus dismissed findings per repository and revisit the review level after a month.

## Risks and open questions

**An approving bot is a new trust boundary.** If a set's `from` admits Claude, for example through `bots` or `everyone`, the docs warn that the check can pass with no person's approval. Many teams will copy example policies without reading that line.

**Reviews can miss things.** The docs state that Code Review "may miss bugs, security vulnerabilities, or other issues" and that a review with no findings does not mean the code is secure. A pass is evidence, not proof.

**Prompt injection through code and comments.** PR Steward reads review comments and acts on them. The design limits who it listens to (people with write access, named bots), but any agent that turns text into commits is a target. See our notes on [prompt injection defence](/tools/prompt-injection-defense).

**Local watches run code with your credentials.** The `/ship` docs warn that during a watch, code from the base branch, other people's pushes and your tests can run on your computer with your credentials. Only run a watch where you trust everyone who can merge to the base branch or push to your branch.

**Watch next:** whether Claude Approvals leaves beta with independent data on revert rates, whether GitHub and other coding-agent vendors standardise a policy format for machine approvals, and whether support arrives for organisations under Zero Data Retention and HIPAA.

## Frequently asked questions

### Can Claude Ship merge my code on its own?

None of the agents merges directly. PR Steward is designed not to approve or merge, and Code Review never approves or blocks. However, Claude Approvals can post an approving review, and if your branch rules plus auto-merge accept that, a change can merge without a person acting.

### What is the difference between `/ship` and Claude Ship?

`/ship` is a Claude Code command that runs in your own terminal session, acts as you through your `gh` and `git` sign-ins, and counts against your own usage. Claude Ship is the organisation-level set of agents that acts as the Claude GitHub App and bills the organisation's usage credits.

### How much does a Code Review cost?

Anthropic publishes no flat per-review price; it is billed on tokens and varies with review level, change size and code complexity. The recommended approach is a pilot: read the average cost per review on the admin page, then multiply by your PR and push volumes.

### Does observe mode cost money?

Yes. Approvals has no base charge, but classifier runs are billed, and a policy that reads Claude's review triggers a billed Code Review even in observe mode.

### Who can use it today?

Organisations on Claude Team or Enterprise plans with repositories on GitHub. It is not available with Zero Data Retention, the HIPAA configuration or customer-managed encryption keys.

## Summary

Claude Ship, launched on 23 November 2026, splits pull-request work across three agents: Code Review finds and verifies problems, PR Steward pushes fixes, and Claude Approvals applies a YAML policy that decides how many humans must approve and when Claude may approve. The policy engine takes the strictest verdict across all matching rules, counts the author as a seat, and protects its own policy file, so a permissive rule can still mean zero extra reviewers on some paths. Costs are token-based with no flat price, so a pilot on "Once after PR creation" with spend limits and observe mode is the sensible first step before any team lets a machine sign off on code.

## Sources

- [Anthropic: Introducing Claude Ship](https://claude.com/resources/articles/introducing-claude-ship)
- [Claude Code Docs: Claude Ship](https://code.claude.com/docs/en/claude-ship)
- [Claude Code Docs: Claude Approvals policy file reference](https://code.claude.com/docs/en/approvals-policy)
- [Claude Code Docs: Code Review](https://code.claude.com/docs/en/code-review)
- [Claude Code Docs: Code Review costs and usage](https://code.claude.com/docs/en/code-review-costs)
- [Claude Code Docs: PR Steward](https://code.claude.com/docs/en/pr-steward)
- [Claude Code Docs: Get a pull request ready with /ship and /steward](https://code.claude.com/docs/en/ship-command)
- [TechCrunch: Anthropic launches Claude Ship, letting AI agents review, fix, and approve code changes](https://techcrunch.com/2026/11/23/anthropic-launches-claude-ship-letting-ai-agents-review-fix-and-approve-code-changes/)
