Agent skill

Babysit

by simstudioai in simstudioai/sim

Drive a PR to a clean review (Greptile 5/5, zero open threads) — ships if needed, keeps it mergeable against staging, re-triggers both Greptile and cubic, fixes real findings, replies to and…

Apache-2.0Auto-check passed

Install Babysit

skills CLI
$ npx skills add simstudioai/sim --skill babysit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install simstudioai/sim babysit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/simstudioai/sim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/babysit .claude/skills/babysit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
babysit
GitHub stars
30k
Token cost
~2.9k tokens
SKILL.md length
1,634 words
Files
1
Skills in repo
40
Repo updated
First seen
Licence
Apache-2.0

At a glance

Drive a PR to a clean review (Greptile 5/5, zero open threads) — ships if needed, keeps it mergeable against staging, re-triggers both Greptile and cubic, fixes real findings, replies to and…

  • Works in 3 steps: The latest Greptile summary comment… → reviewThreads (GraphQL, see below) has… → Every check has finished and passed — gh…
  • Both Greptile and cubic
  • SKILL.md covers When to use, Inputs, Two reviewers and Definition of "clean", plus 4 more sections
  • Calls gh and git

What it does

Babysit is an agent skill from simstudioai/sim. Drive a PR to a clean review (Greptile 5/5, zero open threads) — ships if needed, keeps it mergeable against staging, re-triggers both Greptile and cubic, fixes real findings, replies to and resolves every thread, and loops until clean

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. The licence is Apache-2.0.

When your agent uses it

  • Both Greptile and cubic
  • Fixes real findings
  • Replies to and resolves every thread
  • Loops until clean

Example prompts

  • “/babysit”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. The latest Greptile summary comment reports Confidence Score: 5/5
  2. reviewThreads (GraphQL, see below) has zero threads with isResolved: false, from
  3. Every check has finished and passed — gh pr checks shows no fail and no

What it can do on your machine

Read from SKILL.md and the folder at commit 546d4e7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Babysit loads about 2.9k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 1,634 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from simstudioai/sim at commit 546d4e7, republished under its Apache-2.0 licence (© simstudioai). 1,634 words, ~2,897 tokens.

Download SKILL.mdSave it as .claude/skills/babysit/SKILL.md (or your agent's skills folder).
name
babysit
description
Drive a PR to a clean review (Greptile 5/5, zero open threads) — ships if needed, keeps it mergeable against staging, re-triggers both Greptile and cubic, fixes real findings, replies to and resolves every thread, and loops until clean

Babysit PRs

Owns a PR end-to-end through review: ship it, wait for the automatic review round, and if it isn't already clean, drive fix → reply → resolve → re-review cycles until Greptile reports 5/5 and there are zero open comment threads, keeping the branch mergeable against staging along the way. Two bots review this repo — Greptile and cubic — and they behave differently; see "Two reviewers" below. Designed to be run under /loop (no fixed interval — let it self-pace on review latency) so it survives across multiple wakeups in the same session.

When to use

  • The user says "babysit this PR", "keep working the reviews until it's clean", or similar
  • As the natural follow-up to /ship when the user wants the review loop automated rather than manually re-triggering reviews and answering comments themselves

Inputs

Needs a PR number. If none is given and there's no open PR for the current branch, run /ship first (which includes the origin/staging sync check — see .agents/skills/ship/SKILL.md) to create one.

Two reviewers

Both post inline threads that count toward "clean", and they need re-triggering separately:

Greptile (greptile-apps)cubic (cubic-dev-ai)
VerdictConfidence Score: X/5 in a summary commentno score — only inline threads
Summary commentedited in place across roundsfresh review per run
Re-trigger@greptile@cubic-dev-ai review this PR
Latency1–3 min1–3 min

Post both after every push, as two separate comments. Triggering only Greptile is the easy mistake: the PR then shows 5/5 with cubic's threads still open from an earlier commit, and its findings never get re-checked against the fix.

@cubic-dev-ai review this PR is the documented wording — @cubic alone does not trigger it.

cubic reviews the commit that was HEAD when its run started, so a thread can describe code the next commit already changed. Before treating a cubic finding as real, check whether the current HEAD still has the problem — a stale round is a reply-and-resolve, not a fix.

Definition of "clean"

All three must hold:

  1. The latest Greptile summary comment reports Confidence Score: 5/5
  2. reviewThreads (GraphQL, see below) has zero threads with isResolved: false, from either bot
  3. Every check has finished and passed — gh pr checks <n> shows no fail and no pending. A red run is not clean no matter what the reviewers say, and the lint/audit jobs routinely catch what a local run misses. A pending one is not clean either: it has not reported yet, and treating "not failing" as "passing" reports the PR clean before CI has had its say. Wait for it — the step-10 stop condition covers a check that never settles.

Do not stop early on "no new comments this round" alone — a thread can be open from an earlier round, and cubic often lands its first threads a round after Greptile's. Always check all three conditions freshly after every push.

Loop

  1. Check current state before doing anything, including whether the PR is still mergeable:

    bash
    gh pr view <n> --json mergeable
    gh pr checks <n> | grep -v skipping
    gh pr view <n> --json comments -q '[.comments[] | select(.author.login=="greptile-apps")] | last | .body'
    gh api graphql -f query='
    query { repository(owner: "<owner>", name: "<repo>") { pullRequest(number: <n>) {
      reviewThreads(first: 50) { pageInfo { hasNextPage endCursor } nodes { id isResolved path line
        comments(first: 5) { nodes { id databaseId author { login } body } } } } } } }'

    The score is a line inside the body of Greptile's latest comment (| last | .body), which it edits in place across rounds. reviewThreads(first: 50) is a single page — check pageInfo.hasNextPage. If true, don't stop yet: re-run the same query with after: "<endCursor>" and keep paging until hasNextPage is false before evaluating "clean." A PR with more than 50 threads is rare but stopping on a partial page would silently miss unresolved ones past the cutoff. The query returns both bots' threads. A ReviewThread has no author of its own — identity lives on its comments, so read the opener's at comments.nodes[0].author.login and do not add an author field at the thread level, which makes the query fail to compile. If mergeable is CONFLICTING, fix that first (step 2). If a check is failing, fix that too — treat it exactly like a review finding. If a check is still pending, do not evaluate "clean" at all: go to step 9 and wait for it. Otherwise, if Greptile is 5/5, every thread across all pages has isResolved: true, and every check has finished and passed, stop — report the outcome (see "Reporting" below) and skip the rest of this list.

  2. If the PR has a merge conflict, rebase rather than merge (step 6's rebase would discard a merge commit): git fetch origin staging && git rebase origin/staging, resolve each conflict and git rebase --continue until the rebase finishes. Then run step 6 (the sync check and the /ship gates), then steps 7–8: push with --force-with-lease and re-trigger review.

  3. If no review has run yet (fresh PR, no bot comments): both run automatically on PR open — confirm via gh pr checks <n> (look for Greptile Review and cubic · AI code reviewer) and wait for both before doing anything else. They finish at different times, so a PR that looks clean because only one has reported is not clean yet.

  4. If a review round has landed and it isn't clean: for every thread where isResolved: false, triage the finding on its own merits — this is the part that requires judgment, not a mechanical loop:

    • Real bug: fix it in the cleanest way available. Match the codebase's existing conventions for that kind of problem before inventing a new one (e.g. an SSRF-prone user-supplied-host fetch should use whatever validateUrlWithDNS/secureFetchWithPinnedIP pattern the rest of the codebase already uses for that exact situation — grep for a sibling integration solving the same problem first). Never patch around a finding with a workaround, a broad try/catch, or a suppression comment — fix the actual cause.
    • False positive: don't change code. Reply with the specific reason it doesn't apply (cite the type definition, the established pattern it matches, or the doc it follows) so the reviewer bot and a human skimming later both understand why it was left as-is.
    • Already fixed by an earlier finding in the same round: note that and resolve without a duplicate code change.
  5. Reply to every thread individually before resolving it — never resolve silently:

    bash
    gh api repos/<owner>/<repo>/pulls/<n>/comments/<databaseId>/replies -f body="<what was done and why>"

    Then resolve via GraphQL (needs the thread id from step 1, not the comment id):

    bash
    gh api graphql -f query='mutation { resolveReviewThread(input: {threadId: "<threadId>"}) { thread { isResolved } } }'
  6. Before pushing, re-run the full sync check from /ship step 2 — not just the log command, the whole check-and-recover flow (stash WIP pinned by SHA as /ship step 2 shows, rebase, verify the rebase didn't just cleanly replay stray commits, cherry-pick rebuild if it did or if it conflicted). A babysit loop spanning a long session is exactly the scenario where a branch can drift, and pushing review fixes on top of undetected drift is how an oversized PR happens even after the branch was fixed once. Then run /ship steps 4–6 on this round's diff — the cleanup and test gates, migration safety, and the regenerate + audit phases. A review-fix round is still a code change and can trip any of them just as easily as the original commit did.

  7. Commit and push the round's fixes as one commit — --force-with-lease whenever step 6's sync check rewrote history, which includes a plain git rebase origin/staging that completed with no conflicts, not only the cherry-pick rebuild path; both rewrite commits already published to the remote, so a plain git push can be rejected either way — then run /ship step 9's post-push verify — not just before the first push, every push in the loop:

    bash
    git fetch origin staging && git log --oneline --reverse origin/staging..HEAD
    gh pr view <n> --json commits -q '.commits[].messageHeadline'

    These two lists must describe the same commits. A review loop runs many pushes across many rounds; checking sync only before the push (step 6) and never after is how a bad push or a PR whose commit history quietly went stale between rounds goes unnoticed.

  8. Re-trigger both reviewers, each as its own PR comment — a combined comment does not reliably trigger both:

    bash
    gh pr comment <n> --body "@greptile"
    gh pr comment <n> --body "@cubic-dev-ai review this PR"

    Then confirm both actually picked it up before waiting — gh pr checks <n> should show Greptile Review and cubic · AI code reviewer as pending. If one stayed pass from the previous round, its trigger did not land; re-post that one.

  9. Wait for the new round, then go back to step 1. Pace the wait with ScheduleWakeup using a fallback delay of ~300s — both bots take 1–3 minutes, and CI is usually the slowest of the three — never busy-poll in a sleep loop. Pass the same /loop babysit PR <n> prompt on each wakeup so the loop resumes correctly.

  10. Stop conditions: clean state reached (see above), or the same unresolved finding or merge conflict survives two consecutive rounds with no new information (surface it to the user instead of looping forever), or the user interrupts.

Show full SKILL.md (236 more words)Show less

Reporting

When the loop ends, summarize: how many rounds it took, what was actually fixed (one line each), what was pushed back on as a false positive and why, and the final state — Greptile score, open thread count across both bots, and whether every check finished and passed.

Public-repo hygiene

Every reply, comment and commit you post here is public and permanent, and review bots quote your replies back, so a leak propagates. /ship's "What to Omit" (the category list and the pre-publish grep) applies to every post in this loop. Triaging a finding often means pasting evidence gathered from prod — that is exactly the moment it gets violated. Run the grep on the reply before posting, not after: editing a comment does not unsend its notification email.

Hard rules

  • Never paste prod evidence into a reply without scrubbing it first (see above).
  • Never resolve a thread without replying to it first.
  • Never fix a finding with a hacky workaround — if the clean fix isn't obvious, find the sibling pattern elsewhere in the codebase solving the same class of problem and match it.
  • Never silently drop a finding — every thread gets either a code fix or a reasoned reply.
  • Never re-trigger only one reviewer. Both get a comment after every push, and both get confirmed pending before you start waiting.
  • Always re-run the /ship-style sync check before every push in the loop, not just the first.

© simstudioai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/babysit of simstudioai/sim.

Open the folder on GitHubat commit 546d4e7

Compare with similar skills

Babysit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Babysit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Babysit this skillsimstudioai/sim30k—~2.9kAutomated safety check: PassApache-2.0
Android Clean Architectureaffaan-m/ECC275k4 repos~2.2kAutomated safety check: PassMIT
Feishu Driveopenclaw/openclaw392k—~375Automated safety check: PassMIT
Zero Trustsickn33/agentic-awesome-skills47k2 repos~3.2kAutomated safety check: PassMIT
Babysitnubjs/nub4.4k—~1.9kAutomated safety check: PassMIT
Cleanbergside/awesome-design-skills3.1k1 repos~918Automated safety check: PassMIT

Similar skills

  • Applies Clean Architecture to Android and Kotlin Multiplatform projects: module layout, dependency rules, UseCases, Repositories and data layer patterns.

    275k GitHub starsUsed in 4 repos~2.2k tokens
    DevelopmentAuto-check passed
  • Feishu Drive

    openclaw/openclaw

    Feishu cloud-storage and comment workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~375 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Zero Trust

    sickn33/agentic-awesome-skills

    Implement zero-trust network architecture. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • Babysit

    nubjs/nub

    Bring one nubjs/nub pull request to merge-readiness — pull the inline reviews, verify each finding against the code, re-verify every fix round locally, fix CI, and loop.

    4.4k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Clean

    bergside/awesome-design-skills

    Simplicity-focused design with ample whitespace, legible typography, and a limited color palette to reduce visual clutter.

    3.1k GitHub starsUsed in 1 repo~918 tokens
    Frontend & DesignAuto-check passed
  • Data Cleaning

    brycewang-stanford/Auto-Empirical-Research-Skills

    Clean and transform messy data for analysis in Python, R, or Stata

    4.5k GitHub stars~2.9k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed

More from simstudioai/sim

All 40 skills in this repo
  • Sim Helm

    simstudioai/sim

    Install, upgrade, and operate the Sim Helm chart on Kubernetes.

    30k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Add Column Type

    simstudioai/sim

    Add a new table column type to Sim — registry entry, icon, storage shape, coercion, and the behavioral hooks the grid and API read.

    30k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Add Enrichment

    simstudioai/sim

    Add a code-defined table enrichment (registry entry) under apps/sim/enrichments/ backed by an ordered provider cascade, ensuring every provider tool it calls has hosted-key support.

    30k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Add Hosted Key

    simstudioai/sim

    Add hosted API key support to a tool so Sim provides the key (metered and billed to the workspace) when a user has not brought their own.

    30k GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Add Managed CLI

    simstudioai/sim

    Add or upgrade a curated, immutable managed CLI for Sim Function sandboxes, including client-safe catalog metadata, a pinned server-only installation recipe, checksum and executable verification…

    30k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Add Selector

    simstudioai/sim

    Add or update a Sim dynamic selector using the shared manifest, server attachment, and selectors.execute path.

    30k GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Questions about Babysit

What does Babysit do?

Drive a PR to a clean review (Greptile 5/5, zero open threads) — ships if needed, keeps it mergeable against staging, re-triggers both Greptile and cubic, fixes real findings, replies to and…. Babysit is an agent skill from simstudioai/sim.

When should I use Babysit?

Babysit fits situations like: both Greptile and cubic; fixes real findings; replies to and resolves every thread; loops until clean.

How do I install Babysit in Claude Code?

Run `npx skills add simstudioai/sim --skill babysit -a claude-code`. Or copy the skill folder (.agents/skills/babysit in simstudioai/sim) into .claude/skills/babysit in your project. Claude Code loads it when a task matches its description.

How do I install Babysit in Codex?

Run `npx skills add simstudioai/sim --skill babysit -a codex`. Or copy the skill folder (.agents/skills/babysit in simstudioai/sim) into .agents/skills/babysit in your project. Codex loads it when a task matches its description.

Can I use Babysit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add simstudioai/sim --skill babysit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/babysit, .gemini/skills/babysit, .github/skills/babysit and .opencode/skills/babysit in your project.

What does Babysit need to run?

Going by SKILL.md and its folder, Babysit needs the command-line tools its instructions call (gh and git).

Does Babysit access the network?

SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Babysit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Babysit use?

Babysit is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Babysit use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Babysit?

Skills that share tags, products or a category with Babysit: Android Clean Architecture (affaan-m/ECC, 275k stars), Feishu Drive (openclaw/openclaw, 392k stars), Zero Trust (sickn33/agentic-awesome-skills, 47k stars) and Babysit (nubjs/nub, 4.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Babysit?

simstudioai (a GitHub organization) maintains it in simstudioai/sim, which has 29,792 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 8, 2026.

Source: simstudioai/sim on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.