babysit-pr

babysit-pr is a skill for Claude Code from jcottam/agent-resources. It costs 118 tokens per session (1,667 once invoked), scanned A, original, MIT.

A workflow for repeatedly handling comments on an existing pull request, which is a proposed code change awaiting review. It checks bot and human feedback, fixes valid issues, commits the changes, and pushes them back to the branch.

In plain words
What is it for?
Use it after a non-draft pull request exists to process review threads, apply fixes, and update the branch; it does not open or merge pull requests.
Why use it?
It removes the need to watch the pull request and respond to each new review comment manually. It stops after up to three review rounds or when no open comments remain.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-resources plugin — 14 skills shipped together

Good fit Use it after a non-draft pull request exists to process review threads, apply fixes, and update the branch; it does not open or merge pull requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jcottam/agent-resources/babysit-pr
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 jcottam/agent-resources --skill babysit-pr
Clone the repo
git clone --depth 1 https://github.com/jcottam/agent-resources

Made for: Claude Code.

Or install agent-resources, the plugin that ships this one along with the rest of its 14 skills.

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-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/jcottam/agent-resources/babysit-pr/github.svg)](https://agentmods.dev/skills/jcottam/agent-resources/babysit-pr)
Your own site
<a href="https://agentmods.dev/skills/jcottam/agent-resources/babysit-pr"><img src="https://agentmods.dev/badge/skills/jcottam/agent-resources/babysit-pr/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-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/jcottam/agent-resources/babysit-pr"><img src="https://agentmods.dev/badge/skills/jcottam/agent-resources/babysit-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 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.
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.00118 $0.01667
Opus 5.5 $0.00047 $0.00667
Sonnet 5.5 $0.00024 $0.00333
Haiku 4.5 $0.00012 $0.00167

Measured 13d ago against content hash 4001e69e8a60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

babysit-pr 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 13d 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/engineering/babysit-pr/SKILL.md · 158 lines

How it starts

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

Babysit PR

Babysit review comments on the current branch's pull request. Bugbot comes first: wait for its review, fix each valid finding, commit, and push. Handle every other open comment too, from human reviewers and other bots. Repeat for up to three rounds, or until nothing new is open.

Do not use this skill to open a PR (/ship), write a human review (/review-pr), or squash history (/squash-branch). Use it only after a non-draft PR exists and the job is to loop on review comments. Do not merge.

1. Find the PR

  • Use the PR the user named. Otherwise, find the open PR for the current branch.
  • Find the host with git remote -v:
    • Azure DevOps (dev.azure.com): find the PR with az repos pr list --source-branch <branch>. Read threads through the ado MCP server or az devops invoke --area git --resource pullRequestThreads .... Never use gh.
    • GitHub: use gh pr view, and gh api for review comments, review bodies, and issue (top-level) comments.
    • Cursor Origin: use the cursor-origin tools.
  • If the repo has a ship skill (for example .agents/skills/ship/SKILL.md), follow its "After review" section for thread replies and statuses.
  • If there is no PR, or the PR is a draft, stop and tell the user. Bugbot doesn't review drafts.

2. Check the branch

  • Check out the PR branch and run git pull --ff-only.
  • If there are uncommitted changes you didn't make, stop and ask before touching them.

3. Wait for Bugbot

Bugbot reviews again after every push. Before triaging, make sure it has finished reviewing the latest commit.

  • If its check or review is still running, check again every 15 seconds. Use AwaitShell or a short sleep loop, not one long wait.
  • Wait up to 15 minutes per round. If Bugbot still hasn't finished, triage the other comments anyway, then stop and report that Bugbot didn't finish.
  • Bugbot's comments come from an author named "Bugbot" or "Cursor" (on GitHub, cursor[bot]).

Read the full file on GitHub · 158 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. 13d ago First seen · 158 lines · 118 tokens per session scan A 4001e69e8a60

Subscribe to this mod's changes

babysit-pr is a skill published in the GitHub repository jcottam/agent-resources (21 stars, last pushed 10d ago), licensed MIT. It adds 118 tokens to every session and 1,667 once invoked, about $0.0005 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-11-17.

Related

babysit-pr compared with skills from other repositories

babysit-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
babysit-prjcottam/agent-resourcesSkill2110d agoMITA118Claude Code
enable-reviewLandonSchropp/agent-toolkitSkill3todayMITA16Claude Code
review-gatetroykelly/claude-skillsSkill1210mo agononeA33Claude Code
antfu-create-prantfu/skillsSkill6.1k3d agoMITA54Claude Code, Codex
feature-publishomnigent-ai/omnigentSkill12ktodayApache-2.0A24Claude Code, Codex
artifactscloudflare/skillsSkill3.5k4d agoApache-2.0A66Claude Code
skill-changelogluongnv89/asmSkill976todayMITA53Claude Code