Skip to content
Agentmart
Submit a tool

babysit

Watch an open PR/MR until it's green or merged — poll checks, kick stalled CI, rerun flakes, catch late review threads.

Skill by OutThisLife

IndexedMIT★ 206
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/outthislife-babysit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Watch an open PR/MR until it's green or merged — poll checks, kick stalled CI, rerun flakes, catch late review threads. Use for /babysit, "babysit it to green", "watch it", "keep an eye on CI", or any stay-on-it ask after a PR handoff.

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/babysit

What's inside

Skill name
babysit
Description
Watch an open PR/MR until it's green or merged — poll checks, kick stalled CI, rerun flakes, catch late review threads. Use for /babysit, "babysit it to green", "watch it", "keep an eye on CI", or any stay-on-it ask after a PR handoff.
License
MIT
Instructions
55 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Babysit

Stay on the PR after handoff until it's actually done. Being asked to babysit
IS the ask to poll — but report state changes only, no heartbeats, no
per-poll narration.

## Loop

1. Snapshot: `gh pr view <N> --json
   state,mergeable,mergeStateStatus,reviewDecision,statusCheckRollup,autoMergeRequest`
   plus `gh pr checks <N>`.
2. Poll inside bounded shell loops (a single `for` with `sleep 30`–`60`
   between iterations), not one message per check. Keep watcher scripts, logs, and state outside disposable worktrees, and use a stable working directory; other sessions may remove a merged PR's worktree while its watcher is running. If a watcher fails, recheck the service directly and resume only the remainder of the original deadline. A failed monitor is not a failed deployment.
3. React by cause:
   - **CI never started** → kick it:
     `git commit --allow-empty -m "chore: kick CI" && git push`.
   - **Red caused by this branch** → fix it (the `pr-ready` loop), push,
     resume watching on the new SHA.
   - **Flake / infra red** → rerun the failed jobs; repeat until green. Note
     the flake in one line with the run link.
   - **New review threads** → handle per `pr-ready` (fix or reply, verify
     resolved via the forge API), resume.
4. Repeat until done. A push or rerun is progress, not an exit.

## Merging

Arm automerge only when the user explicitly asks to merge or enable automerge.
"Make CI green", "babysit", and "watch it" authorize checks and repairs, not
merging. End at green with threads resolved unless merge authorization is explicit.

## CI quirks

- `gh run rerun` refusing with "already running" → cancel the run first,
  then rerun.
- A cancelled run showing "no checks reported" is pending, not red — wait
  for it to re-report before calling it either way.
- Rollup gates ("All required checks pass") go red because a leaf did —
  diagnose the leaf failure, never the gate.

## Done when

Re-query the forge — don't trust that a push went green or a rerun stuck.
Merged, or every check green with no unresolved threads. Fail closed: any
red or open thread means keep watching. Wrap up with the PR/MR link and what
the watch consumed — reruns used, kicks, fixes pushed.

## Scope

- **In:** watching an open PR, kicking stalled CI, rerunning flakes, small
  branch-caused fixes, late review threads.
- **Out:** opening or refreshing the PR (`pr-update`, `cpr`), full
  rebase/red-CI overhauls (`pr-ready`), other people's PRs (`pr-triage`),
  merging unasked.

From OutThisLife/brooklyn-skills, MIT.

More from OutThisLife/brooklyn-skills

Signals

Stars
206
Forks
6
Open issues
0
Last commit (this folder)
Sep 25, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from OutThisLife

Cite this page

babysit skill. Agent Mart. https://agentmart.dev/skills/outthislife-babysit (last updated 2026-10-24)