Download for MacApple silicon, macOS 14+
Skill

babysit-pr

@openai Updated 2026-09-30

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks Codex to monitor a PR, watch CI, handle review comments, or keep an eye on failures and feedback on an open PR.

Install

With your agent

Install OMGSkills skill "openai/codex:babysit-pr" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/openai/codex /tmp/codex && ln -s /tmp/codex/.codex/skills/babysit-pr ~/.claude/skills/babysit-pr

From README

PR Babysitter Objective Babysit a PR persistently until one of these terminal outcomes occurs: The PR is merged or closed. A situation requires user help (for example CI infrastructure issues, repeated flaky failures after retry budget is exhausted, permission problems, or ambiguity that cannot be resolved safely). Optional handoff milestone: the PR is currently green + mergeable + review-clean. Treat this as a progress state, not a watcher stop, so late-arriving review comments are still surfaced promptly while the PR remains open. Do not stop merely because a single snapshot returns idle while checks are still pending. Inputs Accept any of the following: No PR argument: infer the PR from the current branch (--pr auto) PR number PR URL Core Workflow When the user asks to "monitor"/"watch"/"babysit" a PR, start with the watcher's continuous mode (--watch) unless you are intentionally doing a one-shot diagnostic snapshot.