Anthropic has released a practical guide for developers on using the newly launched Claude Ship agents to automate the tedious post-pull-request workflow. The update introduces three specific agents—Code Review, PR Steward, and Claude Approvals—designed to minimize context switching by handling CI failures, merge conflicts, and reviewer comments without human intervention. While Code Review is generally available, the PR Steward and Claude Approvals features remain in beta, signaling a cautious rollout for autonomous code maintenance.
The Local Workflow: /code-review and /ship
The core of the update lies in two new CLI commands that run within the user's local session. The /code-review command analyzes committed changes for correctness bugs, offering effort levels from 'low' to 'ultra.' The 'ultra' setting runs deeper analysis in the cloud but requires a separate login and may incur additional billing. For broader automation, the /ship command commits pending changes, pushes the branch, creates a PR, and then watches the PR for up to seven days. During this watch period, the agent actively fixes failing checks and addresses review comments, though it requires the user's machine to remain awake and logged into the GitHub CLI.
Autonomous Maintenance and Escalation Logic
The PR Steward agent, accessible via the /steward command, focuses on existing PRs by resolving conflicts and fixing checks without re-running the initial code review. Anthropic has implemented strict escalation logic to prevent agent hallucination from derailing development. If the agent fails to resolve a specific issue after three attempts, it stops and escalates the problem to the human author. This 'three-strike' rule applies to both local watches and the cloud-based PR Steward, ensuring that complex architectural debates or security issues remain under human control rather than being auto-merged by a confused bot.
Team Integration and Approval Policies
For teams, the guide emphasizes the importance of configuration files like CLAUDE.md and REVIEW.md to standardize agent behavior. Developers can define house rules in .claude/skills/steward/SKILL.md, such as instructions to regenerate lockfiles or ignore flaky tests. The Claude Approvals feature allows for policy-driven merging, where agents can count as 'approvals' in branch protection rules. However, Anthropic advises starting in 'observe mode' to audit the agent's decisions against human reviewer behavior before enforcing automated approvals, warning that text in PRs can potentially sway the AI's judgment.
Key Takeaways
- The
/shipcommand automates the entire PR lifecycle, including committing, pushing, reviewing, and watching for up to 7 days. - Agents use a 'three-strike' rule: they attempt to fix an issue three times before escalating to the human author.
- The 'ultra' review mode runs in the cloud and may incur separate billing costs distinct from standard plan usage.
- Team-wide automation requires admin privileges to enable PR Steward and configure approval policies in
.claude/approvals.yml.
The Bottom Line
This is a pragmatic shift from 'AI as a copilot' to 'AI as a janitor,' handling the grunt work of CI maintenance so developers can stay in flow. The real value isn't in the code generation, but in the autonomous resolution of the friction points that break developer focus.