Borrowing it
Nothing to install: this file belongs to b1rdmania/ghostclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/b1rdmania/ghostclaw/main/.claude/skills/pr-babysitter/SKILL.mdgit clone --depth 1 https://github.com/b1rdmania/ghostclawWrote 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.
[](https://agentmods.dev/skills/b1rdmania/ghostclaw/pr-babysitter)<a href="https://agentmods.dev/skills/b1rdmania/ghostclaw/pr-babysitter"><img src="https://agentmods.dev/badge/skills/b1rdmania/ghostclaw/pr-babysitter/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.
<a href="https://agentmods.dev/skills/b1rdmania/ghostclaw/pr-babysitter"><img src="https://agentmods.dev/badge/skills/b1rdmania/ghostclaw/pr-babysitter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.01233 |
| Opus 5.5 | $0.00026 | $0.00493 |
| Sonnet 5.5 | $0.00013 | $0.00247 |
| Haiku 4.5 | $0.00006 | $0.00123 |
Grade A, and why
pr-babysitter 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Babysitter
Automated PR monitoring that only spawns an agent when there's actual work to do. Uses the scheduler's pre_check feature to run a lightweight gh CLI check first — zero API credits burned when all PRs are clean.
Setup
1. Verify GitHub CLI
gh auth status
If not authenticated, run gh auth login.
2. Ask the user
Use AskUserQuestion for each:
- Which repos to watch? Accept either:
- Specific repos:
owner/repo1 owner/repo2 - All repos:
gh repo list --json nameWithOwner -q '.[].nameWithOwner'
- Specific repos:
- How often to check? Default: every 30 minutes (
*/30 * * * *) - What to watch for? Default: all of the below. Let user pick:
- Failing CI checks
- Unanswered review comments (especially from AI reviewers)
- Stale PRs (no activity for 48h+)
- Auto-fix? Should the agent attempt high-confidence fixes (typos, linting, simple test fixes) or always ask first?
3. Create the scheduled task
Build a pre_check script and prompt based on user choices. Example for watching specific repos:
cat > $GHOSTCLAW_IPC_DIR/tasks/pr-babysitter_$(date +%s).json << 'TASKEOF'
{
"type": "schedule_task",
"pre_check": "REPOS=\"owner/repo1 owner/repo2\"; for repo in $REPOS; do gh pr list --repo $repo --state open --json number,title,headRefName,statusCheckRollup,reviewDecision,updatedAt --jq '.[] | select(.statusCheckRollup == \"FAILURE\" or .reviewDecision == \"CHANGES_REQUESTED\" or (.reviewDecision == \"\" and (.statusCheckRollup == \"PENDING\" or .statusCheckRollup == \"\")))' 2>/dev/null; done",
"prompt": "You are a PR babysitter. These PRs need attention:\n\n{{pre_check_output}}\n\nFor each PR:\n1. Check CI status: `gh pr checks <number> --repo <repo>`\n2. Read review comments: `gh api repos/<owner>/<repo>/pulls/<number>/comments`\n3. If CI fails with a clear fix (linting, type error, simple test fix):\n - Clone the repo, checkout the branch, fix it, push\n - Comment on the PR: \"Fixed [issue] automatically\"\n4. If review comments are from AI reviewers and the suggestion is high-confidence:\n - Implement the change, push, reply to the comment\n5. If it needs human judgement:\n - Message me with: repo, PR number, what's wrong, what you think the fix is\n\nBe conservative. Only auto-fix things you're confident about. When in doubt, ask.",
"schedule_type": "cron",
"schedule_value": "*/30 * * * *",
"context_mode": "isolated",
"targetJid": "TARGET_JID"
}
TASKEOF
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.
- 3mo ago First seen · 92 lines · 64 tokens per session scan A 5522ffa06a0c
pr-babysitter is a skill published in the GitHub repository b1rdmania/ghostclaw (64 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 1,233 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.
pr-babysitter compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-babysitterb1rdmania/ghostclaw | Skill | 64 | 1mo ago | MIT | A | 64 | Claude Code |
| lobu-operatorlobu-ai/lobu | Skill | 240 | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| github-operationsdavidtoby/agent-skills | Skill | 11 | 16d ago | MIT | A | 74 | Claude Code, Codex |
| deployment-patternsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 41 | Claude Code, Kiro |
| githubHKUDS/nanobot | Skill | 51k | today | MIT | A | 19 | Claude Code, Codex |
| baby-sitlangchain-ai/open-swe | Skill | 11k | today | MIT | A | 30 | Claude Code, Codex |
| atmos-hookscloudposse/atmos | Skill | 1.4k | today | Apache-2.0 | A | 50 | Claude Code |