
Ci babysit
Runs one bounded round on a draft PR: fixes red CI, merges base conflicts, answers reviews
Ci babysit is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 7
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Ci babysit
Ci-babysit performs a single, capped pass over a draft pull request the agent opened. Each run reads the PR state and check results, pulls the logs of failing checks, reproduces failures locally before editing, and commits minimal fixes on the agent's own branch. It also merges the base branch in when it conflicts and works through new review comments using a companion review-handling flow. Designed to be repeated by a loop command, it keeps retry counts and recorded lesson links in a small state file so later rounds do not repeat work.
The skill is built with hard limits: it never merges, never marks a PR ready for review, never force pushes, and never posts top-level comments or reviews. It stops after a few fix attempts per round and reports failures it cannot reproduce locally, such as CI-only problems involving secrets or services. It is meant to run under the user's own GitHub CLI login rather than from a cloud routine or GitHub App.
It depends on two companion commands, ai-work and ai-verify, plus the resolve-merge-conflicts and review-pr-comments skills. If those commands are missing, the skill tells the user the setup is incomplete and stops.
When your agent uses it
One round of watching a draft PR the agent opened: read CI status, fix red checks on the agent's own branch, merge the base in when it conflicts, and handle review comments with the review-pr-comments flow. Built to run under /loop. Never merges, never marks ready. Use when the user says "babysit this PR", "watch CI", "fix the red build on my draft PR".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (5 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ai-essentials plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add tonyghiani/ai-essentials
/plugin install ai-essentials@ai-essentialsOr copy only this skill to ~/.claude/skills/ci-babysit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ci-babysit &&
cp -R "$tmp/skills/ci-babysit" ~/.claude/skills/ci-babysit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ci-babysit inside it instead.
Copy the skill folder to ~/.agents/skills/ci-babysit to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ci-babysit &&
cp -R "$tmp/skills/ci-babysit" ~/.agents/skills/ci-babysit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ci-babysit inside it instead.
Copy the skill folder to ~/.cursor/skills/ci-babysit to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ci-babysit &&
cp -R "$tmp/skills/ci-babysit" ~/.cursor/skills/ci-babysit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ci-babysit inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/tonyghiani/ai-essentials.git --path skills/ci-babysitOr copy the folder to ~/.gemini/skills/ci-babysit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ci-babysit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ci-babysit &&
cp -R "$tmp/skills/ci-babysit" ~/.copilot/skills/ci-babysit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ci-babysit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.gitThen copy ai-essentials/skills/ci-babysit into your agent's skills folder as ci-babysit. Agents that support SKILL.md read one folder per skill.
What it does
- Red check repair
- Reads failing CI logs, reproduces the failure locally, and commits a minimal fix to the agent's branch.
- Base conflict merging
- Merges the base branch into the PR branch and resolves conflicts by intent when the PR is conflicting.
- Review comment handling
- Triages new review comments and hands them to the review-pr-comments flow for replies and resolution.
- Bounded retry limits
- Caps fix attempts per round and repeated failures, then stops and reports for the user.
- Safety guardrails
- Refuses to merge, mark ready, force push, or touch default branches or non-agent branches.
- Lesson recording
- Logs general rules from accepted review comments with routing to the appropriate memory or lint target.
Good for
- Watch my draft PR and fix whatever CI check is failing
- Merge main into my draft branch because it has conflicts
- Respond to the new review comments on my agent-opened PR
- Run another round of checks on this PR until everything is green
Ci babysit FAQ
When does Ci babysit trigger?
It triggers when the user says things like "babysit this PR", "watch CI", or "fix the red build on my draft PR".
Can Ci babysit merge or mark the PR ready?
No. It never merges, never marks the PR ready, never force pushes, and never pushes to a default branch.
What does Ci babysit need to run?
It runs locally with the user's own gh login and calls the ai-work and ai-verify commands. If those are not installed, it stops.
What happens if a failure only occurs in CI?
If the failure cannot be reproduced locally, the skill reports the log excerpt and stops rather than guessing a fix.
How do I install Ci babysit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ci-babysit to use it in all your projects, or to .claude/skills/ci-babysit in one project. Or install the ai-essentials plugin, which includes it: /plugin marketplace add tonyghiani/ai-essentials, then /plugin install ai-essentials@ai-essentials.
Does Ci babysit run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Ci babysit?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Ci babysit?
The closest alternatives to Ci babysit are Babysit, Iterate PR, Fix ci, Fix ci and Babysit.
Where this comes from
- Description: from the skill's own SKILL.md.
More from tonyghiani/ai-essentials

Lets an agent read your GitHub queue at day's end and draft a morning triage report
- Open source
- 7 GitHub stars
- Developer tools

Finds untranslated UI strings and i18n patterns that break translation in code
- Open source
- 7 GitHub stars
- Developer tools

Writes pull request descriptions from a fixed summary, screenshots and testing template
- Open source
- 7 GitHub stars
- Developer tools

Guides an agent through resolving merge conflicts by intent, then verifying and pushing
- Open source
- 7 GitHub stars
- Developer tools

Triages PR review comments, then implements, replies to and resolves them
- Open source
- 7 GitHub stars
- Developer tools

Guides the agent through a test-first loop: failing test, then minimal implementation
- Open source
- 7 GitHub stars
- Developer tools




