# babysit-pr

> Claude/Codex skill by [@openai](https://omgskills.com/library/openai/index.md) · 106k stars · Updated 2026-08-17

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

```sh
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.

## Links

- HTML page: https://omgskills.com/skills/openai/codex/babysit-pr/
- GitHub: https://github.com/openai/codex
- Author: [@openai](https://omgskills.com/library/openai/index.md)

## More from this repo

- [code-breaking-changes](https://omgskills.com/skills/openai/codex/dot-codex/skills/code-review-breaking-changes/index.md) — Breaking changes
   - [@openai](https://omgskills.com/library/openai/index.md) · 123k stars
- [path-types](https://omgskills.com/skills/openai/codex/dot-codex/skills/path-types/index.md) — Choose Rust types for operating system paths across the Codex repository.
   - [@openai](https://omgskills.com/library/openai/index.md) · 114k stars
- [update-v8-version](https://omgskills.com/skills/openai/codex/dot-codex/skills/update-v8-version/index.md) — Used to update Codex's pinned \`v8\` / \`rusty\_v8\` versions, validate the release-candidate path, and investigate failed...
   - [@openai](https://omgskills.com/library/openai/index.md) · 106k stars
