babysit

babysit is a skill for Claude Code, Codex from OutThisLife/brooklyn-skills. It costs 70 tokens per session (719 once invoked), scanned A, original, MIT.

A watch-and-react workflow for an open pull request or merge request, which is a proposed code change awaiting checks and review.

In plain words
What is it for?
Watching CI checks, restarting stuck or flaky jobs, fixing branch-caused failures, and handling new review threads. It can also enable automatic merging when explicitly requested.
Why use it?
It removes the need to repeatedly check whether automated tests, build jobs, or review comments have stalled or changed. It keeps responding until the request is green or merged.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Watching CI checks, restarting stuck or flaky jobs, fixing branch-caused failures, and handling new review threads. It can also enable automatic merging when explicitly requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outthislife/brooklyn-skills/babysit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OutThisLife/brooklyn-skills --skill babysit
Clone the repo
git clone --depth 1 https://github.com/OutThisLife/brooklyn-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for babysit

README.md
[![agentmods](https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/babysit/github.svg)](https://agentmods.dev/skills/outthislife/brooklyn-skills/babysit)
Your own site
<a href="https://agentmods.dev/skills/outthislife/brooklyn-skills/babysit"><img src="https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/babysit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for babysit

Your own site · 80×15
<a href="https://agentmods.dev/skills/outthislife/brooklyn-skills/babysit"><img src="https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/babysit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 719 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.00719
Opus 5.5 $0.00028 $0.00288
Sonnet 5.5 $0.00014 $0.00144
Haiku 4.5 $0.00007 $0.00072

Measured 1mo ago against content hash 333373e91e41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

babysit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/babysit/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 333373e91e41
  2. 2mo ago First seen · 63 lines · 70 tokens per session scan A d97496189231

Subscribe to this mod's changes

babysit is a skill published in the GitHub repository OutThisLife/brooklyn-skills (209 stars, last pushed 7d ago), licensed MIT. It adds 70 tokens to every session and 719 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.