Get pull requests reviewed, fixed, and approved with Claude Ship

Find out what Claude Ship's three agents do, then run /ship on a change of your own and turn on Code Review, PR Steward, and an approval policy for a repository.

  • Intermediate
  • 6 steps
  • By The Rundown University

Claude Ship takes a GitHub pull request through review, fixes, and an approval decision. Code Review finds problems, PR Steward pushes fixes, and Claude Approvals applies an approval policy your team writes. You'll run /ship on a change of your own, then turn on all three for one repository. Code Review is generally available; PR Steward and Claude Approvals are in beta.

Before you start

  • A repository on GitHub that you can push to
  • Claude Code in a terminal, and the GitHub CLI
  • For steps 4 to 6: the Owner role on a Claude Team or Enterprise plan
  • About 30 minutes

Want to learn more about building and shipping software with AI? Watch the recording.

Step by step 6 steps

  1. Step 1 of 6

    Get Claude Code ready for /ship

    /ship runs in Claude Code in a terminal, inside your own copy of the repository. It needs recent versions of three tools and a GitHub sign-in.

    Actions

    • In a terminal, run claude update, then claude --version. You need v2.1.330 or later.
    • Install the GitHub CLI, version 2.63 or later, from cli.github.com.
    • Run gh auth login and sign in with the GitHub account that can push to the repository.
    • Run git --version, and update git if it's older than 2.38.
    • Go to your local clone of the repository and run claude.
    • Type / and check that /ship is in the menu.

    Further explanation

    /ship runs in your own session, so its work counts against your own Claude Code usage, not your organization's usage credits. Since v2.1.283, Claude Code sessions start in auto mode, which lets Claude work on the pull request without stopping at every prompt. If yours starts in another mode, press Shift+Tab to change it. Cloud sessions don't have /ship.

    If it didn't work

    • /ship isn't in the menu: It's rolling out from November 23, 2026. Quit Claude Code and start it again, because a new feature can take a second start to show. If it's still missing, ask your admin whether it's turned off for your organization.
    • Claude can't push fixes later: Your GitHub CLI is older than 2.63. Update it, then run gh auth login again.
    • You're on Windows: On native Windows, /ship reviews your change, but it can't keep watching the pull request afterward. Work on the feedback yourself.

  2. Step 2 of 6

    Run /ship on a finished change

    /ship commits your change, opens the pull request, and reviews it. It doesn't ask you to confirm first, so check what's going in before you press Enter.

    Actions

    • Run git status, and delete or stash any new file you don't want in the pull request.
    • Look inside those files for secrets, like API keys. /ship only catches files whose names suggest a secret, such as .env.
    • If you made the change with Claude, stay in that same session, so Claude can write the commit message from your conversation.
    • Type /ship and press Enter.
    • Read the line ending Esc to cancel that appears before the commit, and again before the push. Press Esc to stop, or wait a few seconds to go on.
    • When the line starting /ship started for names your pull request, open it on GitHub.
    Claude Code after /ship: it has started on pull request #483, reviews the change, then watches the pull request for up to 7 days in this session. /ship stop ends the watch. Image: Anthropic.
    Claude Code after /ship: it has started on pull request #483, reviews the change, then watches the pull request for up to 7 days in this session. /ship stop ends the watch. Image: Anthropic.

    Further explanation

    On the default branch, /ship commits to a new branch and switches you to it. It reviews at high effort; type /ship medium or /ship low for a lighter review. For a draft, another base branch, or your pull request template, open the pull request yourself, then run /ship. Anyone who can see the pull request can read the commit message Claude writes.

    If it didn't work

    • You want to undo the commit before it's pushed: Press Esc, then run git reset HEAD~1. That removes the commit and keeps your files.
    • Nothing was committed or pushed: In a private repository, a file named like a secret, such as .env, stops /ship. In a public one, commit your work on a branch first. Then run /ship again.
    • It reviewed the change but opened no pull request: /ship opens pull requests only on github.com, and not from forks. Open the pull request yourself, then run /ship again.

  3. Step 3 of 6

    Steer the watch, then merge it yourself

    After the review, Claude watches the pull request for up to seven days. It works on failing checks, merge conflicts, and reviewers' comments, and pushes fixes under your name.

    Actions

    • To see the findings before Claude acts on them, send the message below while the review is still running.
    • Keep the session open and in the foreground, the computer awake, and the branch checked out.
    • To start your next change, open a second clone of the repository and a new Claude Code session there.
    • Type /tasks to check that the watch is running. It's listed as a task starting with /steward --tend.
    • When Claude says the checks pass and the comments are answered, read the pull request and merge it yourself.
    • To end the watch early, type /ship stop.

    Ask Claude to check with you first

    From now on, don't push code changes or reply to reviewers without asking me first. Show me the review findings and wait.

    Further explanation

    While Claude works on its own, Claude Code stops it from merging, approving, turning on auto-merge, or force-pushing. Those limits don't cover everything. The watch uses your GitHub sign-in, so if auto-merge is on, a fix Claude pushes can let GitHub merge. Code from the base branch, or pushed to your branch by others, can also run on your computer with your credentials. Run a watch only where you trust everyone who can push there. Type /ship terms to see the full list of limits.

    If it didn't work

    • The watch stopped: Pressing Esc, switching branches, running /clear, or closing the session ends it. Type /steward to start it again.
    • Claude stops at every prompt: The session isn't in auto mode. Press Shift+Tab to switch to it, then type /steward.
    • Claude ignores a bot's comments: It reads comments from people with write access and from Claude's own bot. Type /steward + and the bot's name, like /steward +my-lint-bot.

  4. Step 4 of 6

    Turn on Code Review for a repository

    Steps 4 to 6 are for an Owner of your Claude organization. Code Review reviews every new pull request in the repositories you choose, on Anthropic's servers, with no workflow files to add.

    Actions

    • On claude.ai, go to Organization settings > Claude Ship, turn on the switch under Review, and click Turn on.
    • If Connect GitHub opens, click Connect and authorize Claude.
    • If your repository isn't in Add a repository, click Install GitHub App, pick the GitHub organization, choose the repository, and approve the permissions.
    • Select the repository and click the button that adds it.
    • In Choose what Claude does on these repositories, leave Code review selected, clear Steward, and click Turn on.
    • To start with fewer reviews, click Edit on the repository's row and set Review runs to Once after PR creation.
    • Open a pull request that isn't a draft, and wait a few minutes for a check named Claude Code Review.
    A Code Review finding on a pull request: a red finding on the changed lines of src/api/retry.ts, the fix it suggests, and Why this was flagged, with how it verified the problem. Image: Anthropic.
    A Code Review finding on a pull request: a red finding on the changed lines of src/api/retry.ts, the fix it suggests, and Why this was flagged, with how it verified the problem. Image: Anthropic.

    Further explanation

    There are three review levels: Quick, Standard (the default), and Deep, which takes longest and costs most. Reviews bill your organization's usage credits by tokens, so set a limit in Organization settings > Usage, under Services, in the Claude Code Review row. Anyone with write access can ask for a review on a pull request by commenting @claude review.

    If it didn't work

    • There's no Claude Ship page: You need the Owner role on a Team or Enterprise plan. Claude Ship isn't available with Zero Data Retention, the HIPAA configuration, or customer-managed encryption keys.
    • Your repository isn't listed: The Claude GitHub App can't reach it. An owner of the GitHub organization has to install the app on that repository.
    • No check appears: Automatic reviews skip drafts and pull requests from forks. Comment @claude review on the pull request to start one.

  5. Step 5 of 6

    Add PR Steward to the repository

    PR Steward does what the /ship watch does, but in the cloud, on your team's pull requests, billed to your organization. It pushes without asking, so set GitHub's branch rules first.

    Actions

    • In GitHub, add a ruleset on the default branch that requires a pull request with at least one approval, and dismisses stale approvals when new commits are pushed.
    • Check that the Claude GitHub App isn't on that ruleset's bypass list.
    • On the Claude Ship page, under the Steward switch, set Runs for to Listed users only and enter a few GitHub usernames.
    • Click the Steward switch, then Turn on.
    • Go to Organization settings > Usage, and under Services, set a monthly limit in the PR Steward row.
    • Back on Claude Ship, click Edit beside the repository, set Steward to Manual (@claude steward), and click Change beside Steward spend cap to set a cap.
    • On a test pull request, comment @claude steward. Check that the claude-pr-steward-watching label and a comment headed Claude PR Steward appear.
    PR Steward on a pull request: it adds the claude-pr-steward-watching label, confirms a Code Review finding, pushes a fix, says how to undo it, and all checks pass. Image: Anthropic.
    PR Steward on a pull request: it adds the claude-pr-steward-watching label, confirms a Code Review finding, pushes a fix, says how to undo it, and all checks pass. Image: Anthropic.

    Further explanation

    PR Steward works on failing checks, merge conflicts, people's review comments, and the findings Code Review marks Important. It's designed not to approve or merge. After each push, it comments with what it changed and which commit to revert to undo it. Steer it by commenting @claude with an instruction. PR Steward has no spend limit of its own until you set one. When its fixes match what your reviewers would do, set the repository to On, so it starts on every new pull request.

    If it didn't work

    • Nothing happens after @claude steward: The comment has to come from someone with write access who's listed in Runs for. PR Steward also skips pull requests from forks and ones a bot opened.
    • The page says Steward cannot start on pull requests: Your usage credits have run out. Add credits or raise the limit on the Usage page.
    • A fix wasn't what you wanted: Comment @claude stop, then revert the commit its last comment names.

  6. Step 6 of 6

    Add an approval policy in observe mode

    Claude Approvals reads a policy file in the repository and reports who still has to approve each pull request. In observe mode it only reports, so you can compare its calls with your reviewers' before it blocks anything.

    Actions

    • On a new branch, create .claude/approvals.yml in the repository's root folder, and paste in the starter policy below.
    • Open a pull request with only that file, and merge it once Claude comments that it found the policy file valid.
    • Open another pull request into the default branch, not as a draft.
    • Find the Claude Approvals check. Its title starts with (observe mode) and says what your policy would decide.
    • Over your next few pull requests, compare each check's title with what your reviewers decided.

    A starter policy that lets Claude approve when its review passes

    # .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 }
    A fuller approvals.yml from Anthropic: most code needs two people, or one when Claude's review passes; Claude approves docs on its own once its review passes; billing code needs two people who aren't its authors, one of them from payments. Image: Anthropic.
    A fuller approvals.yml from Anthropic: most code needs two people, or one when Claude's review passes; Claude approves docs on its own once its review passes; billing code needs two people who aren't its authors, one of them from payments. Image: Anthropic.

    Further explanation

    Observe mode is still billed, because this policy starts a Code Review at each push. Keep claude/code_review in your policy, or automatic Code Reviews stop for the files it covers. Once enforced, a pull request that passes Claude's review needs no one but its author, so decide first which paths should always need a second person. To enforce it, delete the mode: observe line and merge that, comment @claude approvals rerun on open pull requests, then make Claude Approvals a required check in GitHub.

    If it didn't work

    • A failed check says This change breaks a policy file: The file has a mistake. Fix it in the same pull request and push again.
    • No Claude Approvals check appears: Check that the policy file is on the default branch, and that the new pull request isn't a draft.
    • You're the only person with write access: Add a second person before you enforce this policy. Otherwise the check can't pass on some changes, such as one in the .claude folder.

That's the whole workflow

Mark it complete to keep your progress. Common questions follow.

Keep learning with Rundown Pro

Guides stay free. This is what Rundown Pro adds:

  • Every course and recording
  • The Rundown Certified Operator program
  • Member perks

$29/mo, cancel anytime

Frequently asked questions

Should I use /ship or turn on Claude Ship for a repository?

Use /ship for your own pull requests. It runs in your Claude Code session, on your computer, and counts as your own usage. Turn on Claude Ship for a repository when you want Code Review, PR Steward, and Claude Approvals working on everyone's pull requests without anyone typing a command. Those run in the cloud, follow settings an admin controls, and bill your organization's usage credits.

Will Claude merge my pull request?

No. The /ship watch and PR Steward are designed not to approve or merge. Claude Approvals can post an approving review where your policy allows it, and GitHub can count that review as a required approval. What merges always follows your branch rules, so check auto-merge and merge queues before you rely on a policy that needs no other person.

Who can use Claude Ship?

Organizations on Claude Team and Enterprise plans, with repositories on GitHub. As of November 24, 2026, Code Review is generally available, and PR Steward and Claude Approvals are in beta. Claude Ship isn't available to organizations with Zero Data Retention, the HIPAA configuration, or customer-managed encryption keys. /ship is rolling out in Claude Code from November 23, 2026.

What does Claude Ship cost?

Each agent bills your organization's usage credits by tokens, apart from your plan's included usage. The cost depends on how many pull requests it covers, how big they are, the review level, and how often reviews run. Admins can set spend limits for Code Review and PR Steward. Claude Approvals has no base charge, but the reviews and classifiers a policy starts are billed, even in observe mode. /ship counts as your regular Claude Code usage. Eligible Enterprise organizations can claim at least $10,000 in Claude Ship credits by January 15, 2027; terms apply.

Is /steward the same as PR Steward?

No. /steward starts a watch in your own Claude Code session, on your own open pull request, with no review first. It uses your usage. PR Steward is the agent an admin turns on for a repository: it runs in the cloud as the Claude GitHub App and bills your organization. Where PR Steward is already working on a pull request, /steward doesn't start a watch.

How do I stop Claude on one pull request?

For a /ship watch, type /ship stop in the session that runs it. For PR Steward, comment @claude stop on the pull request, or remove the claude-pr-steward-watching label. To stop Claude Approvals from blocking merges without turning it off, put mode: observe back in the policy file.

Can Claude Ship miss problems?

Yes. Anthropic says Claude Ship uses AI and may miss bugs, security vulnerabilities, or other issues. Keep your CI as its own required check, because a policy can't read CI results, and keep a person on the code that matters most, like billing or security.

Where can I learn more about building software with AI?

Want to learn more about building and shipping software with AI? Watch our recording, Intro to Vibe Coding. Nate Grahek shows how to plan a build, pick the right tools, Claude Code among them, and ship it safely.