How to hand off PR chores to Claude Ship

Once you open a pull request, the small chores start: a failing check, a review with six comments, a conflict after main moves. In a guide on the Claude Code blog, Anthropic’s Addy Osmani explains how to hand those chores to Claude on your own PRs. You don’t need admin rights for this. A few commands in the latest Claude Code are enough.
This builds on Claude Ship, which Anthropic just launched. It is three agents: Code Review, which is generally available, plus PR Steward and Claude Approvals, which are both in beta. Osmani says an agent usually handles this follow-up on the Claude Code team. When an author comes back, the PR has often been updated once already. He says that cuts context switching and keeps him in flow. You still decide what gets built and what the bar for merging is.
Start with a review
If you do only one thing, Osmani says, review your branch before you push it. Typing /code-review at the Claude Code prompt checks your branch’s commits and your uncommitted changes for correctness bugs. You can set the effort from low to max. Low shows only the findings Claude is most sure about. Higher levels show more, including some it is less sure about. Adding --fix applies the findings to your files. The ultra option runs a deeper review in the cloud, needs a claude.ai login and can be billed separately from your plan. His advice is to run the review a few times first, to learn what it catches and where it gets things wrong.
What /ship does
Typing /ship commits your pending changes, pushes them and opens the PR in your name. It then reviews the change and fixes the findings it judges valid. After that it watches the PR for up to seven days, working on failing checks, conflicts and review comments. It stops when the PR is merged or closed.
The first step surprises people. /ship commits as if you had run git add -A, so run git status first. It won’t commit files whose names look like secrets, or files that set rules, such as CLAUDE.md or anything in .github/. You have to commit those yourself. In a public repository it commits nothing for you.
Claude makes small fixes and hands bigger calls back to you, such as a request to redesign something or a security issue it couldn’t solve. It pushes at most three times for any one issue. After that it reports what it tried and leaves the decision to you. For a PR that’s already open and only needs to be seen through to merge, /steward 41 runs the watch without a new review. Osmani says red checks or a PR stuck in a conflict loop are good cases for it. A PR in the middle of a design debate is not, because that debate is yours to settle.
The catches of the watch
The watch runs on your machine, under your name, and it uses your quota. If you close the laptop, the watch stops. You need to be logged in with gh auth login, and it only watches PRs you opened. The branch must stay checked out, so if you move on to the next task, do it in a separate worktree. Unless you’re in auto mode, the watch pauses at every prompt until you answer. On Windows the watch doesn’t start at all. It keeps using model turns while you’re away, so the first time you try it, stay near the machine and check that usage is what you expect.
The bigger catch is trust. The watch merges the base branch into yours and runs commands like your tests. That means anyone who can land changes on the base branch can run commands on your machine. Claude is told never to merge, and Claude Code limits the git and gh commands it can run when you’re not there. But your test script still runs with your credentials. If auto-merge is on, a fix from the watch could be what lets GitHub merge. Your git hooks don’t run on the watch’s commits either, so any checks you rely on belong in CI and branch rules. Use the watch only on repos where you trust everyone who can land changes, and run /ship terms before the first time.
Writing it down for the team
After a few PRs you’ll start to see patterns: the same reviewer comment, a setup step Claude has to work out every time, a flaky check. Conventions for the code go in CLAUDE.md, which every one of these tools reads. Review-only rules go in REVIEW.md, which Code Review and PR Steward read but local /code-review does not. On Osmani’s team, a pattern has to show up on at least two PRs before it becomes a rule, and a person approves the PR that adds it. Old rules get deleted too.
An admin is needed only when a team wants agents doing this on all of its PRs automatically. Claude Ship as a team service is for Team and Enterprise plans on GitHub.
Up next
Tempted Claude reaches outside its sandbox
Hide a useful login outside an AI agent’s sandbox and recent Claude models reach out in 21-32% of Anthropic’s tests. Describing the sandbox rules cut that to about 2% or less. Have you ever told an AI agent which folders it must not touch?
Related stories
- Claude Ship: Claude can now approve your pull requests
- Nadella: Claude Code made IDEs fade in six months
- Makoto is a Claude Code plugin that blocks the agent’s false claims
- agentpeek keeps Claude Code sessions alive after you close the laptop
- Drawbridge: visual editing for Claude Code in the browser
- FleetView: a browser-based dashboard for parallel Claude Code agents
Comments
No comments yet. Be the first.
Join the conversation
Sign in to leave a comment. It appears after moderation.

