babysit-ci
Skill1 starsChanged 21 days agoMITView on GitHub
Watches a PR's checks and fixes failures. Use for $babysit-ci, \"watch CI\", \"fix CI\", \"get checks green\", or a PR with failing or pending checks; not a bare merge request.
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Read checks with gh pr checks <pr> --json name,bucket,state,workflow,link.
- Very specific: line 30
Caused by this PR: if the failing command is cheap to run locally, reproduce the failure first and rerun it after the change.
- Distinctive: line 32
After any push, restart at step 2.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Babysit CI
Mode
- watch: inspect and report. No edits, pushes, or reruns.
- fix ("fix CI", "get checks green"): scoped fixes and pushes. Never merge.
- Ambiguous request: watch.
Loop
- Find the PR:
gh pr view <pr> --json number,url,headRefName,headRefOid. No PR given: pass the branch fromgit branch --show-current. - Read checks with
gh pr checks <pr> --json name,bucket,state,workflow,link. Judge the PR by this output alone: Actions runs are only part of it, since apps and status contexts report here too. - Diagnose failures before waiting on anything. Each failing check gets one root error: the earliest log line that names a cause; errors after it often follow from it.
- Actions check: take the run id from its link;
gh run view <run-id> --log-failed. - External check: open its link and find the step or service that failed.
- Actions check: take the run id from its link;
- Pending checks: run
gh pr checks <pr> --watch --fail-fastas a long-running command if this runtime supports one and keep diagnosing meanwhile; otherwise run it in the foreground. - Watch mode: once the watcher exits, reread the checks and the head SHA, report, and stop. Fix mode continues below.
Fix
Sort each failure before touching code:
- Not from this PR's diff: see whether the default branch already passes that check. If it does,
git fetch originandgit merge origin/<default>bring the fix in; this PR carries no patch for it. - Flake: one rerun (
gh run rerun <run-id> --failed), and cite the evidence: it passed on rerun with no change, or it is a known flake (say where it is recorded). - Caused by this PR: if the failing command is cheap to run locally, reproduce the failure first and rerun it after the change. One cause per push. Stage explicit paths. Never pass
--no-verify.
After any push, restart at step 2. A push can trigger workflows the old list lacked or retire ones it showed, so check state read before the push is stale.
Stop, report, and ask before continuing
- 3 fix pushes done.
- The same failure survives a fix: switch to
$fable-mode, rethink the cause, and name the fix tier. - The fix needs secrets, infra, permissions, or a user decision.
Before calling it green
Re-read headRefOid; if it moved, run the loop on the new head. A missing, skipped, or unavailable expected check does not pass; list it.
Each fix push leaves a head without the pre-merge review. State that in the report. Rerunning the cross-vendor $claude-review uses the user's Claude subscription and needs their OK.
A CI quirk that cost a retry goes to pitfalls via $recall.
Report
- Each iteration: check → first root error line → link → fix applied.
- Final: status and PR URL, or blocked plus the next action.
Other versions7 projects use a version of this.
Word for word · 4
- ryanportfolio/Corewise.Academy★ 1100% same
- ryanportfolio/savetokens★ 1100% same
- ryanportfolio/STK★ 1100% same
- ryanportfolio/HarnessFirmware.com★ 0100% same
Edited · 0
None found.
Wrote their own version · 3
- CliMA/Oceananigans.jl★ 1.4ksame name
- NumericalEarth/Breeze.jl★ 87same name
- xmtplabs/convos-ios★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use compact-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkillcompact-review
Use on /compact-review or right before /compact: review the session and return copy-ready custom instructions for /compact that keep what matters. Does not run /compact.
Also in 4 projects that use this
In this repository85 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- addskillSkill
- adopt-repoSkill
- advocateSkill
- apply-firmwareSkill
- arenaSkill
- astra-reviewSkill
- brainstormingSkill
- broSkill
- cache-loopSkill
- cavemanSkill
- claude-reviewSkill
- codex-reviewSkill
- dareSkill
- deep-planSkill
- design-prototypesSkill
- enhance-promptSkill
- external-reviewSkill
- fable-modeSkill
- forge-repo-ui-skillSkill
- handoff-auditSkill
- impartial-reviewSkill
- init-projectSkill
- labSkill
- long-horizonSkill
- optimize-contextSkill
- opus-fullreviewSkill
- perf-loopSkill
- recallSkill
- redesign-conceptsSkill
- refineSkill
- serversSkill
- session-hubSkill
- showpieceSkill
- sync-starterSkill
- whySkill
- wow-loopSkill
- wrapupSkill
- writing-plansSkill
- writingSkill
- addskillSkill
- adopt-repoSkill
- advocateSkill
- apply-firmwareSkill
- arenaSkill
- astra-fullreviewSkill
- astra-reviewSkill
- babysit-ciSkill
- brainstormingSkill
- broSkill
- cache-loopSkill
- cavemanSkill
- claude-reviewSkill
- codex-fullreviewSkill
- codex-image-genSkill
- codex-reviewSkill
- coordinateSkill
- dareSkill
- deep-planSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

