Dev & Engineering ✓ OpenAI · Official github-pull-requestci-monitoringcode-reviewmergeabilitygithub-cliworkflow-runs

PR Babysitter

Continuously track a GitHub pull request’s reviews, CI, and mergeability while handling safe fixes.

FollowSkills review · FSRS-2.0
Not recommended
57/ 100 5-point scale 2.9 / 5
Trust18 / 25 · 3.6/5

The skill explicitly restricts replies to human reviewers, limits thread mutation, requires branch-state checks, avoids destructive Git operations, and caps retries, showing meaningful control of permissions and external effects. It can still commit, push, rerun CI, and process GitHub data automatically without per-action confirmation, sensitive-log/data-flow disclosure, or a clear rollback procedure, so points are deducted.

Reliability8 / 20 · 2.0/5

The script, decision tree, and committed pytest tests cover review prioritization, pending reviews, continuous polling, and failed-job log endpoints, with diagnostic error paths described. However, nothing was executed; coverage is incomplete, and operation depends on gh, authentication, GitHub APIs, and live environment state. Several abnormal paths and termination behaviors are not fully proven, so the static score is capped below 10.

Adaptability11 / 15 · 3.7/5

Triggers, PR input forms, watch/once modes, and stop conditions are clearly described for GitHub PR maintenance. The skill nevertheless depends on GitHub CLI, GitHub network access, and English-oriented GitHub workflows; non-GitHub boundaries, Chinese interaction, and mainland-China reachability are not documented, so points are deducted.

Convention10 / 15 · 3.3/5

The material includes objectives, inputs, commands, workflow guidance, failure classification, review handling, mutation policy, references, and tests. The repository also supplies Apache-2.0 licensing, official provenance, and security policy. The skill lacks independent versioning, changelog, named maintenance responsibility, explicit installation/dependency notes, and fuller troubleshooting, so points are deducted.

Effectiveness6 / 15 · 2.0/5

The intended outcome is concrete: monitor PR state, surface reviews and CI failures, and conditionally fix or retry them. Source tests demonstrate several key behaviors, but no execution was performed, and real permissions, network, branch state, and review judgment materially affect results. Direct usability evidence is therefore limited and scored conservatively within the static cap.

Verifiability4 / 10 · 2.0/5

Source code, reference documents, and committed pytest tests provide auditable evidence for several decision paths. There are no executed results, dedicated CI results for this skill, or independent corroboration, so the static score is capped below 5.

Evidence confidence:Low Reviewed Jul 19, 2026 Reviewed revision 678157acaa81
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • The skill may automatically commit, push branch changes, and rerun failed CI during monitoring; confirm the worktree, target branch, GitHub permissions, and organizational approval requirements first.
  • Logs and GitHub API responses may contain code, review comments, or build information; the files do not specify redaction, retention, or access controls for sensitive data.
  • Core operation depends on gh, GitHub authentication, and continuous network access, which may be unreliable in mainland-China network environments.
  • The script and tests were not executed in this static review, so live API compatibility, recovery behavior, and polling behavior remain unverified.
See the full review method →

What it does & when to use it

PR Babysitter monitors a GitHub pull request after creation. It polls review comments, CI checks or workflow runs, and mergeability until the PR is merged, closed, or requires user help. It can diagnose branch-related failures, patch and push appropriate fixes, and retry likely flaky checks up to three times. It continues watching open PRs after they become green so new review feedback is surfaced promptly.

Runs the provided Python watcher in one-shot or continuous mode; reads pull-request, review, CI, workflow, and mergeability state; uses GitHub CLI commands to inspect failed runs, jobs, and logs; surfaces published review feedback; patches local code, commits, and pushes when a safe branch-related fix is appropriate; retries failed checks when the watcher recommends it, up to three times; stops when the PR is merged, closed, or blocked on user help.

  1. A developer wants continuous CI monitoring after opening a pull request.
  2. A contributor wants newly published review comments surfaced while waiting for approval.
  3. A maintainer needs to diagnose a test, compile, lint, typecheck, or snapshot failure connected to the PR branch.
  4. A developer wants likely transient checks retried when the watcher identifies them as flaky or unrelated to the branch.

Pros & cons

Pros
  • Covers review comments, CI checks, workflow runs, mergeability, and conflicts in one monitoring loop.
  • Distinguishes likely branch-related failures from infrastructure and external-service failures.
  • Supports up to three retries for likely flaky failures.
  • Keeps watching after a PR becomes green so late review feedback is not missed.
Limitations
  • Requires Python 3, GitHub CLI, network access, and suitable GitHub permissions.
  • The source provides no test results, supported-platform matrix, or separate skill installation instructions.
  • It does not automatically reply to human-authored review comments without explicit confirmation.
  • Permission problems, infrastructure failures, exhausted retries, and ambiguous review requests may require user intervention.

How to install

Install Codex CLI using a README-supported method, such as curl -fsSL https://chatgpt.com/codex/install.sh | sh on macOS or Linux, powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" on Windows, or npm install -g @openai/codex and brew install --cask codex. The skill is bundled at .codex/skills/babysit-pr/SKILL.md; the source does not document a separate installation procedure for this skill.

How to use

Ask Codex to monitor or babysit an open GitHub PR, for example: “Monitor the PR for the current branch, watch CI and review comments, and keep polling until it is merged, closed, or blocked.” A PR number or URL may also be supplied. Supported commands include python3 .codex/skills/babysit-pr/scripts/gh_pr_watch.py --pr auto --once, python3 .codex/skills/babysit-pr/scripts/gh_pr_watch.py --pr auto --watch, and, only when indicated by the watcher, python3 .codex/skills/babysit-pr/scripts/gh_pr_watch.py --pr auto --retry-failed-now.

FAQ

Does it merge the pull request automatically?
The source says it watches until the PR is merged or closed, but does not state that it performs the merge itself.
What access does it need?
It uses GitHub CLI to read pull-request, check, workflow, and log data and may commit and push appropriate fixes; the exact permissions depend on the GitHub CLI setup.
How does it handle review comments?
It can act on published, actionable feedback by changing code, committing, and pushing. It does not post replies to human-authored comments without explicit confirmation.
Will it change code for every CI failure?
No. It patches only when logs connect the failure to the current branch. Transient infrastructure, network, or runner failures are treated as retry candidates when recommended, or may require user help.

More skills from this repository

All from openai/codex

Dev & Engineering ✓ OpenAI · Official

Codex Issue Digest

Turns recent openai/codex bugs and enhancement requests into focused, owner-ready digests.

Design & Frontend ✓ OpenAI · Official

Codex Image Generation

Generate, edit, and prepare practical raster image assets directly within a project workflow.

Dev & Engineering ✓ OpenAI · Official

Codex Plugin Builder

Scaffold, validate, and maintain standards-shaped plugins for Codex.

Dev & Engineering ✓ OpenAI · Official

Codex Skill Installer

Install curated or repository-hosted Codex skills without manually assembling their files and paths.

Dev & Engineering ✓ OpenAI · Official

OpenAI Official Docs Assistant

Provides current, official-source guidance for OpenAI products, APIs, Codex, and model migrations.

Dev & Engineering ✓ OpenAI · Official

Review Agent Code Review Skill

Find actionable regressions in code changes through a read-only, defect-first review.

Dev & Engineering ✓ OpenAI · Official

Codex Pull Request Editor

Professionally update one or more GitHub pull request titles and bodies around motivation, net changes, and verification.

Dev & Engineering ✓ OpenAI · Official

Remote Executor Integration Tests

Validate Codex integration behavior across local and remote execution environments.

Dev & Engineering ✓ OpenAI · Official

V8 Version Maintainer

Updates Codex’s pinned V8 versions and validates release-candidate and build-failure paths.

Dev & Engineering ✓ OpenAI · Official

Change Size Review Guide

Keep code changes reviewable by enforcing practical size limits and staging oversized work.

Dev & Engineering ✓ OpenAI · Official

Codex Path Types Guide

Choose Rust path types that preserve cross-platform URI handling and local filesystem behavior in Codex.

Dev & Engineering ✓ OpenAI · Official

Skill Creator Guide

A practical guide to designing, validating, and refining reusable Agent Skills.

Automation & Ops ✓ OpenAI · Official

CI Push Approval Assistant

Handle CI configuration push blocks and approval handoffs

Dev & Engineering ✓ OpenAI · Official

Code Review and Testing Guidance

Helps coding agents choose and structure tests for logic changes.

Dev & Engineering ✓ OpenAI · Official

Codex Bug Triage Assistant

Determines whether an openai/codex GitHub bug should be verified, clarified, or explained as expected behavior.

Dev & Engineering ✓ OpenAI · Official

Breaking Change Reviewer

Systematically detect compatibility risks across external integration surfaces before they reach users.

Dev & Engineering ✓ OpenAI · Official

Codex TUI Interactive Testing Guide

A focused workflow for launching Codex TUI and validating changes with trace logs.

Dev & Engineering ✓ OpenAI · Official

Context Governance

Keep coding-agent context incremental, cache-stable, and strictly bounded.

Dev & Engineering ✓ OpenAI · Official

Pull Request Code Review

Orchestrate a final pull request review and consolidate every actionable finding from specialized reviewers.

Related skills