
Babysit
Keeps an open PR green by fixing CI, conflicts and easy review comments
Babysit is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 5.1K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Babysit
Babysit has the agent take over a pull request after it has been opened. It reads the PR state through the gh CLI, sorts problems into priority order (merge conflicts first, then failing checks, then review comments), and hands each to a related fix skill. Review feedback is only acted on when the requested change is mechanical; anything involving a judgement call or unclear intent is left open and answered in a reply instead.
The skill runs in a loop paced by the Claude Code loop skill. It polls active CI runs, checks on a heartbeat while waiting for a reviewer, and stops once the build is green and comments are resolved, or after three fix-push-recheck rounds. It also includes a fallback path for Claude Code cloud sessions, where gh commands are refused and a bundled watcher script reads the PR over the REST API instead. Hard rules forbid history rewrites without user approval, skipping hooks, editing test expectations to force a pass, and marking checks as optional.
It expects an authenticated gh CLI and a PR number, and it depends on sibling skills such as fix-ci, fix-merge-conflicts and get-pr-comments being available. Inside the poteto-mode workflow, a separate Babysit playbook takes precedence over this standalone entry point.
When your agent uses it
Watch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting.
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 (6 KB) on GitHub on 1 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 pstack plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claudeOr copy only this skill to ~/.claude/skills/babysit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/babysit &&
cp -R "$tmp/plugins/pstack/skills/babysit" ~/.claude/skills/babysit &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/babysit inside it instead.
Copy the skill folder to ~/.agents/skills/babysit to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/babysit &&
cp -R "$tmp/plugins/pstack/skills/babysit" ~/.agents/skills/babysit &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/babysit inside it instead.
Copy the skill folder to ~/.cursor/skills/babysit to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/babysit &&
cp -R "$tmp/plugins/pstack/skills/babysit" ~/.cursor/skills/babysit &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/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/michael-denyer/pstack-claude.git --path plugins/pstack/skills/babysitOr copy the folder to ~/.gemini/skills/babysit yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/babysit:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/babysit &&
cp -R "$tmp/plugins/pstack/skills/babysit" ~/.copilot/skills/babysit &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/babysit inside it instead.
Get the folder:
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.gitThen copy pstack-claude/plugins/pstack/skills/babysit into your agent's skills folder as babysit. Agents that support SKILL.md read one folder per skill.
What it does
- PR state triage
- Reads mergeability, review decision, check rollup and comments, then orders the work by priority.
- CI failure repair
- Routes failing checks to a fix-ci workflow that finds the root cause and pushes a fix.
- Merge conflict handling
- Sends dirty branches to a conflict-resolution skill and only force-pushes branches that are not shared.
- Selective review handling
- Applies mechanical review edits with the quoted comment in the commit message and defers judgement calls.
- Paced re-check loop
- Uses the loop skill to poll CI, wait on reviewers and catch new comments at set intervals.
- Cloud session fallback
- Reads PR status through a bundled REST-based watcher when gh pr commands are refused.
Good for
- Keep my open pull request green until it can be merged
- Fix the failing CI checks on this PR and push the changes
- Resolve the easy review comments on my branch and reply to the rest
- Resolve merge conflicts on my PR branch
- Summarise what is still broken on this PR after several fix attempts
Babysit FAQ
When does Babysit trigger?
When there is an open PR and the user wants it kept green, or when they invoke /babysit directly. It does not run for subagents that open a PR, and inside a poteto-mode run the Babysit playbook takes over.
What does Babysit need to run?
It uses the gh CLI to read PR state. In a Claude Code cloud session where gh is refused, it reads through the REST API using a watcher script from the installed pstack plugin.
Will Babysit force-push or rewrite history?
Only on branches it owns and that are not shared. If a rebase or force-push looks necessary on a shared branch, it asks the user first.
What happens to review comments that need a decision?
It leaves them unresolved and replies with what it would have done, and it pauses to ask the user with AskUserQuestion when the next fix requires a design choice.
How do I install Babysit in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/babysit to use it in all your projects, or to .claude/skills/babysit in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.
Does 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 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 Babysit?
The closest alternatives to Babysit are Fix ci, Iterate PR, PR improver, Make PR easy to review and PR address feedback.
Where this comes from
- Description: from the skill's own SKILL.md.
More from michael-denyer/pstack-claude

Makes the agent read pstack's poteto-mode skill first and follow its routing
- Open source
- 5.1K GitHub stars
- Developer tools

Has the agent restate your goals and the problem you're solving in its own words
- Open source
- 5.1K GitHub stars
- Productivity

Prototype 2-3 competing designs and compare them before committing to one
- Open source
- 5.1K GitHub stars
- Developer tools

Sketches types, signatures and module layout before the agent writes code
- Open source
- 5.1K GitHub stars
- Developer tools

Runs parallel candidate attempts at a task, then merges the best parts into one artifact
- Open source
- 5.1K GitHub stars
- Developer tools

Drafts a personal working-style skill from your past agent conversations
- Open source
- 5.1K GitHub stars
- Developer tools



