Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
thedotmack avatar

Babysit

  • 3.4k installs
  • 89.6k repo stars
  • Updated August 4, 2026
  • thedotmack/claude-mem

babysit is a skill for monitoring pull requests until CI, reviews, and unresolved threads are clean for merge.

About

Babysit PR keeps watching a pull request until it is actually clean, not after a single status check. Workflow identifies PR number, branch, and base, confirms non-draft state, and inspects mergeability, checks, review decision, comments, and review threads. Pending checks poll on a thirty to sixty second cadence unless the user requests otherwise. New comments and unresolved threads are read with bot summaries verified against code. Real issues get focused commits, relevant tests, push, and loop back to monitoring. Stale review threads resolve only after verifying the latest head addresses the feedback. GitHub CLI gh pr view supplies coarse status while GraphQL paginates unresolved review threads with jq filters. Stop only when checks pass or are intentionally skipped, review decision is acceptable, no actionable comments remain, and no unresolved threads remain.

  • Poll CI and review threads until truly merge-ready.
  • GraphQL pagination for unresolved review threads.
  • Verify bot findings against latest head before fixing.
  • Resolve threads only after code or artifact verification.
  • Report evidence: SHA, checks, thread count, tests run.

Babysit by the numbers

  • 3,354 all-time installs (skills.sh)
  • +203 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #27 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

babysit capabilities & compatibility

Capabilities
pr status and mergeability inspection · ci check polling with practical cadence · unresolved review thread graphql pagination · focused fix commit and re verify loop · stale thread resolution with evidence checks · final evidence report with sha and check names
Works with
github
Use cases
code review · ci cd
Pricing
Free
From the docs

What babysit says it does

Stay with the PR until it is actually clean.
SKILL.md
Stop only when checks are passing or intentionally skipped
SKILL.md
Treat bot summaries as useful, but verify actionable findings against the code.
SKILL.md
npx skills add https://github.com/thedotmack/claude-mem --skill babysit

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3.4k
repo stars89.6k
Security audit2 / 3 scanners passed
Last updatedAugust 4, 2026
Repositorythedotmack/claude-mem

How do I keep watching a PR until all checks pass and review threads are resolved?

Monitor a pull request through CI, reviews, and unresolved threads until checks pass and merge criteria are met.

Who is it for?

Agents or developers babysitting active PRs with long CI or multi-round review feedback.

Skip if: Skip for local-only edits without a pull request or one-shot status glances.

When should I use this skill?

User asks to babysit, monitor, or keep checking PR comments, reviews, and CI until merge-ready.

What you get

Merge-ready PR with passing checks, acceptable review decision, and zero actionable threads.

  • merge-ready PR
  • resolved review threads

By the numbers

  • Default CI poll interval of 30-60 seconds

Files

SKILL.mdMarkdownGitHub ↗

Babysit PR

Stay with the PR until it is actually clean. Do not stop after one check pass if comments or review threads are still unresolved.

Workflow

1. Identify the PR number, branch, and base branch. 2. Confirm the PR is not draft and inspect mergeability, checks, review decision, comments, and review threads. 3. Watch pending checks until they finish. Poll at a practical interval, usually 30-60 seconds unless the user asks for a different cadence. 4. Read new comments and unresolved review threads. Treat bot summaries as useful, but verify actionable findings against the code. 5. Fix real issues in focused commits, run relevant tests/builds, push, and return to step 2. 6. Resolve stale review threads only after verifying the code or generated artifact now addresses the comment. 7. Stop only when checks are passing or intentionally skipped, review decision is acceptable, no actionable comments remain, and no unresolved review threads remain.

GitHub CLI Checks

Use gh pr view for the coarse status:

gh pr view <number> --json \
  number,state,isDraft,mergeable,mergeStateStatus,reviewDecision,headRefOid,statusCheckRollup,url

Resolve the repository owner/name before using GraphQL:

repo_json=$(gh repo view --json owner,name)
owner=$(jq -r '.owner.login // .owner.name' <<<"$repo_json")
repo=$(jq -r '.name' <<<"$repo_json")

Use GraphQL for unresolved review threads. Include pageInfo; omit cursor on the first page, then pass the previous endCursor with -f cursor="$cursor" while hasNextPage is true.

gh api graphql \
  -f query='query($owner:String!,$repo:String!,$number:Int!,$cursor:String){repository(owner:$owner,name:$repo){pullRequest(number:$number){reviewThreads(first:100,after:$cursor){pageInfo{hasNextPage endCursor}nodes{id,isResolved,isOutdated,path,line,comments(last:1){nodes{author{login},body,createdAt,url}}}}}}}' \
  -f owner="$owner" -f repo="$repo" -F number=<number>

Use this loop when a PR may have many review threads:

thread_query='query($owner:String!,$repo:String!,$number:Int!,$cursor:String){repository(owner:$owner,name:$repo){pullRequest(number:$number){reviewThreads(first:100,after:$cursor){pageInfo{hasNextPage endCursor}nodes{id,isResolved,isOutdated,path,line,comments(last:1){nodes{author{login},body,createdAt,url}}}}}}}'
cursor_args=()

while :; do
  page=$(gh api graphql -f query="$thread_query" -f owner="$owner" -f repo="$repo" -F number=<number> "${cursor_args[@]}")
  printf '%s\n' "$page" | jq -r '.data.repository.pullRequest.reviewThreads.nodes[]
    | select(.isResolved==false)
    | [.id,.path,(.line//""),(.isOutdated|tostring),(.comments.nodes[-1].author.login//""),(.comments.nodes[-1].body|gsub("\n";" ")|.[0:240])]
    | @tsv'

  jq -e '.data.repository.pullRequest.reviewThreads.pageInfo.hasNextPage' >/dev/null <<<"$page" || break
  cursor=$(jq -r '.data.repository.pullRequest.reviewThreads.pageInfo.endCursor' <<<"$page")
  cursor_args=(-f cursor="$cursor")
done

Filter unresolved threads with jq:

jq -r '.data.repository.pullRequest.reviewThreads.nodes[]
  | select(.isResolved==false)
  | [.id,.path,(.line//""),(.isOutdated|tostring),(.comments.nodes[-1].author.login//""),(.comments.nodes[-1].body|gsub("\n";" ")|.[0:240])]
  | @tsv'

Resolve a stale thread only when the fix is verified:

gh api graphql \
  -f query='mutation($threadId:ID!){resolveReviewThread(input:{threadId:$threadId}){thread{id,isResolved}}}' \
  -f threadId=<thread-id>

Operating Rules

  • Keep the watcher running while long checks are pending.
  • If a generated file is part of the distribution, verify the source and generated artifact agree before resolving comments.
  • If a bot reports an issue against stale code, confirm whether the thread is outdated or addressed in the latest head.
  • Before final reporting, do one fresh sweep of PR status, unresolved threads, recent comments, and local git status.
  • Report concrete evidence: latest commit SHA, check names and results, unresolved thread count, tests run, and any dirty local files left untouched.

Related skills

How it compares

Pick babysit for iterative PR babysitting through CI and review cycles rather than a single static code review pass.

FAQ

When stop watching?

When checks pass, review decision is acceptable, and no actionable unresolved threads remain.

How list unresolved threads?

Use gh api graphql reviewThreads with pagination and jq filters for isResolved false.

When resolve a review thread?

Only after verifying the latest commit or generated artifact addresses the comment.

Is Babysit safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.