PR Babysitter
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
A skill your agent uses when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's branch, or whenever a…
$ npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install singula-ai/alego alego-merging-stacked-prs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/singula-ai/alego.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/alego-merging-stacked-prs .claude/skills/alego-merging-stacked-prs && rm -rf skills-srcUse ~/.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/
Install the "alego-merging-stacked-prs" agent skill from https://github.com/singula-ai/alego/tree/main/.agents/skills/alego-merging-stacked-prs into .claude/skills/alego-merging-stacked-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alego-merging-stacked-prs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/singula-ai/alego/tree/main/.agents/skills/alego-merging-stacked-prsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install singula-ai/alego alego-merging-stacked-prs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/singula-ai/alego.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/alego-merging-stacked-prs .agents/skills/alego-merging-stacked-prs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "alego-merging-stacked-prs" agent skill from https://github.com/singula-ai/alego/tree/main/.agents/skills/alego-merging-stacked-prs into .agents/skills/alego-merging-stacked-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alego-merging-stacked-prs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install singula-ai/alego alego-merging-stacked-prs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/singula-ai/alego.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/alego-merging-stacked-prs .cursor/skills/alego-merging-stacked-prs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "alego-merging-stacked-prs" agent skill from https://github.com/singula-ai/alego/tree/main/.agents/skills/alego-merging-stacked-prs into .cursor/skills/alego-merging-stacked-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alego-merging-stacked-prs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/singula-ai/alego.git --path .agents/skills/alego-merging-stacked-prs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install singula-ai/alego alego-merging-stacked-prs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/singula-ai/alego.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/alego-merging-stacked-prs .gemini/skills/alego-merging-stacked-prs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "alego-merging-stacked-prs" agent skill from https://github.com/singula-ai/alego/tree/main/.agents/skills/alego-merging-stacked-prs into .gemini/skills/alego-merging-stacked-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alego-merging-stacked-prs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install singula-ai/alego alego-merging-stacked-prsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/singula-ai/alego.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/alego-merging-stacked-prs .github/skills/alego-merging-stacked-prs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "alego-merging-stacked-prs" agent skill from https://github.com/singula-ai/alego/tree/main/.agents/skills/alego-merging-stacked-prs into .github/skills/alego-merging-stacked-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alego-merging-stacked-prs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install singula-ai/alego alego-merging-stacked-prs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/singula-ai/alego.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/alego-merging-stacked-prs .opencode/skills/alego-merging-stacked-prs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "alego-merging-stacked-prs" agent skill from https://github.com/singula-ai/alego/tree/main/.agents/skills/alego-merging-stacked-prs into .opencode/skills/alego-merging-stacked-prs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "alego-merging-stacked-prs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
alego-merging-stacked-prsA skill your agent uses when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's branch, or whenever a…
Alego Merging Stacked PRs is an agent skill from singula-ai/alego. Use when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's branch, or whenever a request mentions "stacked PRs", "PR stack", "dependent PRs", or merging several related PRs in sequence. Requires every same-repository dependency chain to use GitHub's official stacked-PR feature before landing so GitHub owns stack-wide rules, CI, ordering, retargeting, and merge state.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with GitHub. The repository describes itself as: Build AI Agents like playing LEGOs. Everything is a Plugin. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a79fe9a. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
ghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Alego Merging Stacked PRs loads about 2k tokens when it runs. Until then it costs about 123 tokens; SKILL.md has 920 words of instructions outside code blocks.
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.
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.
The full file from singula-ai/alego at commit a79fe9a, republished under its MIT licence (© singula-ai). 920 words, ~1,960 tokens.
.claude/skills/alego-merging-stacked-prs/SKILL.md (or your agent's skills folder).Land dependent PRs through GitHub's native stack object and gh stack merge. Do not reproduce stack semantics by merging and retargeting individual PRs with gh pr merge and gh pr edit. The root AGENTS.md owns the allowed merge-forward and rebase histories; the stack review guide owns review-fix propagation.
Run gh stack --version before changing GitHub state. Hard-stop if the official extension or server-side stack feature is unavailable; do not fall back to manually merging and retargeting PRs one at a time. GitHub stacks require every head branch to live in the same repository, so hard-stop on a cross-fork chain.
Use a clean dedicated worktree. Fetch current PR metadata and exact head OIDs rather than trusting branch names or an earlier report:
gh pr view <pr> --json number,author,baseRefName,baseRefOid,headRefName,headRefOid,isCrossRepository,state,isDraft,reviewDecision,mergeStateStatus,statusCheckRollupQuery PullRequest.stack and stackEntry.position for at least one PR in each apparent chain; this official GitHub object, not base-branch inference alone, is the stack-membership authority. Paginate entries when size exceeds the returned page:
gh api graphql -F owner=<owner> -F name=<repo> -F number=<pr> -f query='
query($owner: String!, $name: String!, $number: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $number) {
number
author { login }
baseRefName
headRefName
stackEntry { position }
stack {
number
baseRefName
size
entries(first: 100) {
nodes {
position
pullRequest { number author { login } baseRefName headRefName state isDraft }
}
}
}
}
}
}'Establish the expected bottom-to-top order from the live PR bases: the bottom targets the trunk, and each higher PR targets the head branch immediately below it.
First compare any existing stack entries with the expected chain. One existing stack may contain an order-preserving subset of the requested chain; multiple stack numbers, an unexpected entry, or a conflicting order requires user direction before any mutation.
When any dependent PR is not yet in that official stack:
author.login exactly.gh stack link --base <trunk> <bottom-pr> <next-pr> ... <top-pr>Never dissolve, reorder, or rebuild an existing stack automatically; gh stack link is additive and merged or queued entries cannot be unstacked.
Do not rewrite branches merely because a refresh mechanism exists. When the live merge state or repository rules require an updated trunk, choose either allowed history:
gh stack checkout <pr-or-stack> when it is not tracked locally, then run gh stack sync. The command may rebase and lease-protected force-push every active layer before local validation. Immediately inspect the rewritten scope, run the relevant checks for every affected layer, and do not merge or claim readiness until they pass. If sync detects a rebase conflict, use gh stack rebase, resolve and validate it, then publish with gh stack push. If checkout or sync reports divergent local and remote stack compositions, cancel and ask rather than deleting or recreating the remote stack automatically.Any history rewrite is allowed after review, but it invalidates commit-OID assumptions. Re-fetch exact heads and re-audit unresolved review threads, approvals, mergeability, and checks after the push. Never use raw --force or overwrite a concurrently advanced remote head.
Re-query the official stack immediately before merging. Require every selected PR to be open, non-draft, in the expected order, and compliant with the repository's review and check requirements. Treat each PR's state independently; a ready top layer does not prove its dependencies are ready.
"Land the stack" selects the whole stack. A partial landing requires an explicit boundary PR and includes every layer from the bottom through that boundary.
Merge the whole stack by its official stack number:
gh stack merge <stack-number> --yes --mergeFor an explicitly requested partial landing, merge through the boundary PR:
gh stack merge <boundary-pr> --yes --mergeDo not pass --delete-branch, manually retarget dependents, or issue per-PR merge commands. GitHub merges the selected range bottom-up and retargets/rebases any remaining upper layers. A direct stack merge is all-or-nothing; when the trunk uses a merge queue, GitHub queues the selected range together but may land it in separate groups.
Do not bypass merge requirements. If the native merge reports a blocker, inspect and resolve that blocker through the owning PR or stop and report it; never fall back to gh pr merge.
Wait for every selected PR to report MERGED; a queued request is not a completed landing:
gh pr view <pr> --json number,state,mergedAt,mergeCommit,baseRefName,headRefNameFor a partial landing, re-query the official stack and verify that every remaining PR is still linked in the expected order and targets the stack trunk or the layer below it. Re-check current heads, review state, and CI because GitHub may have rebased the remaining layers.
Delete branches only in a separate final pass after the corresponding PRs report MERGED. Before deleting each branch, require GitHub to report no open PR still using it as a base:
gh pr list --state open --base <branch> --json number --jq lengthAnything other than 0 blocks deletion.
gh stack support is available; every PR branch is in the same repository.gh stack merge --yes --merge.MERGED; any remaining upper layers still form the expected official stack.© singula-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/alego-merging-stacked-prs of singula-ai/alego.
Open the folder on GitHubat commit a79fe9a
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in singula-ai/alego, which our catalogue first saw on October 7, 2026.
Alego Merging Stacked PRs 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Alego Merging Stacked PRs this skillsingula-ai/alego | 109 | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Greplooponyx-dot-app/onyx | 32k | 4 repos | ~3.3k | Automated safety check: Pass | MIT | |
| GitHub Deep Researchbytedance/deer-flow | 84k | 4 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Diagnosing Superpowers Sessionsobra/superpowers | 297k | 3 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Update V8 Versionopeninterpreter/openinterpreter | 69k | 2 repos | ~845 | Automated safety check: Pass | Apache-2.0 |
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
bytedance/deer-flow
Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.
obra/superpowers
Investigates a session where Superpowers went wrong, reads the transcripts on disk and produces an evidence-cited report, optionally prepared as a bug report for the maintainers.
openinterpreter/openinterpreter
Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.
mvanhorn/last30days-skill
Research what people actually say about any topic in the last 30 days.
singula-ai/alego
Record browser or Web UI interaction demos as optimized GIFs using the available browser-control workflow, optional Playwright Videos for higher capture frame rates, and deterministic encoding, then…
singula-ai/alego
A skill your agent uses when adding, auditing, pruning, archiving, restoring, or reviewing Agent Notes in alego; checks every new note for superseded active records, deletes small UI and purely…
singula-ai/alego
A skill your agent uses when creating, changing, or validating an agent preset or other Cordis composition for this harness, including deciding host versus preset placement and checking that an…
singula-ai/alego
Create, read, edit, and check Word documents (.docx), including reports, letters, and formatted tables.
singula-ai/alego
Create, read, edit, and check PowerPoint presentations (.pptx), including slide text, tables, images, and charts.
singula-ai/alego
Read, create, and modify Excel workbooks (.xlsx), including data, formulas, formatting, and pandas analysis.
Works with
A skill your agent uses when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's branch, or whenever a…. Alego Merging Stacked PRs is an agent skill from singula-ai/alego. Use when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's branch, or whenever a request mentions "stacked PRs", "PR stack", "dependent PRs", or merging several related PRs in sequence.
Alego Merging Stacked PRs fits situations like: landing a stack of dependent GitHub PRs (A ← B ← C; where each bases on the one below) onto master; merging a PR whose base is another open PRs branch; whenever a request mentions stacked PRs.
Run `npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a claude-code`. Or copy the skill folder (.agents/skills/alego-merging-stacked-prs in singula-ai/alego) into .claude/skills/alego-merging-stacked-prs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a codex`. Or copy the skill folder (.agents/skills/alego-merging-stacked-prs in singula-ai/alego) into .agents/skills/alego-merging-stacked-prs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add singula-ai/alego --skill alego-merging-stacked-prs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/alego-merging-stacked-prs, .gemini/skills/alego-merging-stacked-prs, .github/skills/alego-merging-stacked-prs and .opencode/skills/alego-merging-stacked-prs in your project.
Going by SKILL.md and its folder, Alego Merging Stacked PRs needs the command-line tools its instructions call (gh).
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Alego Merging Stacked PRs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Alego Merging Stacked PRs: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Greploop (onyx-dot-app/onyx, 32k stars), GitHub Deep Research (bytedance/deer-flow, 84k stars) and Diagnosing Superpowers Sessions (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
singula-ai (a GitHub organization) maintains it in singula-ai/alego, which has 109 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 28, 2026.
Source: singula-ai/alego on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.