Contributor-First PR Merge
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
A skill your agent uses when asked to take over, adopt, or babysit a GitHub pull request until it merges — read review feedback, fix it, resolve threads, dismiss unreasonable change requests, and…
$ npx skills add nexu-io/looper --skill pr-takeover -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install nexu-io/looper pr-takeover --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/nexu-io/looper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pr-takeover .claude/skills/pr-takeover && 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 "pr-takeover" agent skill from https://github.com/nexu-io/looper/tree/main/skills/pr-takeover into .claude/skills/pr-takeover/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-takeover", 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/nexu-io/looper/tree/main/skills/pr-takeoverType 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 nexu-io/looper --skill pr-takeover -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install nexu-io/looper pr-takeover --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nexu-io/looper.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/pr-takeover .agents/skills/pr-takeover && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pr-takeover" agent skill from https://github.com/nexu-io/looper/tree/main/skills/pr-takeover into .agents/skills/pr-takeover/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-takeover", 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 nexu-io/looper --skill pr-takeover -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install nexu-io/looper pr-takeover --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nexu-io/looper.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/pr-takeover .cursor/skills/pr-takeover && 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 "pr-takeover" agent skill from https://github.com/nexu-io/looper/tree/main/skills/pr-takeover into .cursor/skills/pr-takeover/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-takeover", 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/nexu-io/looper.git --path skills/pr-takeover--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 nexu-io/looper --skill pr-takeover -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install nexu-io/looper pr-takeover --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nexu-io/looper.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/pr-takeover .gemini/skills/pr-takeover && 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 "pr-takeover" agent skill from https://github.com/nexu-io/looper/tree/main/skills/pr-takeover into .gemini/skills/pr-takeover/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-takeover", 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 nexu-io/looper pr-takeoverInstalls 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 nexu-io/looper --skill pr-takeover -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/nexu-io/looper.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/pr-takeover .github/skills/pr-takeover && 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 "pr-takeover" agent skill from https://github.com/nexu-io/looper/tree/main/skills/pr-takeover into .github/skills/pr-takeover/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-takeover", 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 nexu-io/looper --skill pr-takeover -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install nexu-io/looper pr-takeover --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/nexu-io/looper.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/pr-takeover .opencode/skills/pr-takeover && 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 "pr-takeover" agent skill from https://github.com/nexu-io/looper/tree/main/skills/pr-takeover into .opencode/skills/pr-takeover/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-takeover", 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.
pr-takeoverA skill your agent uses when asked to take over, adopt, or babysit a GitHub pull request until it merges — read review feedback, fix it, resolve threads, dismiss unreasonable change requests, and…
PR Takeover is an agent skill from nexu-io/looper. Use when asked to take over, adopt, or babysit a GitHub pull request until it merges — read review feedback, fix it, resolve threads, dismiss unreasonable change requests, and merge once approved and green. Picks between driving the PR live in this session or handing it to the Looper daemon for unattended background runs, confirming with the user when unclear. Triggers on "take over this PR", "接管这个 PR", "持续修复 review 直到合并", or a Looper takeover bot comment. Works in any coding agent (Claude Code, Codex, opencode…
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/github-commands.md`).
It sits in Development, covering Pull requests. It works with Git and GitHub. The repository describes itself as: 🔁 Run AI coding agents as an autonomous dev team across all your GitHub repos — plan, review, fix, and ship, on a loop. The licence is MIT.
Read from SKILL.md and the folder at commit 6abd8ff. 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:
ghgitFrom the folder's file list and the shell code blocks in SKILL.md.
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.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
PR Takeover loads about 2.3k tokens when it runs, and up to ~3.5k if it reads all its reference files. Until then it costs about 139 tokens; SKILL.md has 872 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 nexu-io/looper at commit 6abd8ff, republished under its MIT licence (© nexu-io). 872 words, ~2,254 tokens.
.claude/skills/pr-takeover/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Drive one pull request to merge: continuously read the live review state, fix what reviewers ask for, reply to and resolve threads, dismiss change requests you can justify as wrong, and merge once the PR is approved and all required checks pass — looping until it lands.
There are two ways to run this. Pick one in Step 0, then execute it.
| Mode | Who runs the agent | Lifetime | Needs |
|---|---|---|---|
| A · Live (default) | you, in this session | until your session ends | gh + git only |
| B · Background | the Looper daemon | survives you leaving; runs for days | Looper installed |
command -v looper succeeds and the user wants it unattended. If they want unattended but Looper isn't installed, tell them to install it (https://github.com/nexu-io/looper) or fall back to Mode A.Keep this lightweight — ask at most one short question, and only when the user gave no signal.
gh auth status # authenticated, with push access to the PR branch
git rev-parse --show-toplevel # run from inside the repo checkoutIdentify the PR (explicit <owner>/<repo>#<num> wins; else the current branch's):
gh pr view --json number,headRefName,baseRefName,urlIf no PR exists for the branch, stop and ask the user to open one.
Hand the PR to Looper and you're done; it runs the reviewer + fixer loops itself.
looper takeover <owner>/<repo>#<num> --merge # --merge enables auto-merge once approved + green
looper takeover list # check status later
looper takeover stop <owner>/<repo>#<num> # stop itScopes Looper to just this PR (it won't touch other PRs). Note: Looper runs its own agent headlessly, so its configured agent vendor must be authenticated for non-interactive use. Report the loop ids it prints, then stop — the rest happens in the background.
Loop until the PR is merged or a hard blocker needs a human. Each iteration:
gh pr view <num> --json state,isDraft,mergeable,mergeStateStatus,reviewDecision,statusCheckRollup,headRefOidList unresolved review threads:
gh api graphql -f query='
query($owner:String!,$repo:String!,$num:Int!){
repository(owner:$owner,name:$repo){ pullRequest(number:$num){
reviewThreads(first:100){ nodes{ id isResolved
comments(first:20){ nodes{ author{login} body path line } } } } } }
}' -F owner=<owner> -F repo=<repo> -F num=<num> \
--jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)
| {id, file:.comments.nodes[0].path, line:.comments.nodes[0].line, body:.comments.nodes[-1].body, author:.comments.nodes[0].author.login}'Pick the iteration's action:
state==MERGED → done. state==CLOSED → stop, tell the user.reviewDecision==APPROVED, all required checks SUCCESS, mergeable==MERGEABLE → 4.Make the change (scoped to what the thread asks — don't rewrite unrelated code), run quick tests/linters, then:
git add -A && git commit -m "fix: <addresses review comment>"
git push # if rejected non-fast-forward: git pull --rebase && git push. Never --force.Reply with how you fixed it, then resolve:
# reply
gh api graphql -f query='mutation($t:ID!,$b:String!){addPullRequestReviewThreadReply(input:{pullRequestReviewThreadId:$t,body:$b}){comment{id}}}' -F t=<threadId> -F b="Fixed in <sha>: <summary>."
# resolve
gh api graphql -f query='mutation($t:ID!){resolveReviewThread(input:{threadId:$t}){thread{isResolved}}}' -F t=<threadId>For a change request you can justify as incorrect or out of scope: reply with your reasoning first, then dismiss it (message is mandatory — state why):
# get the CHANGES_REQUESTED review's node id (PRR_…)
gh api graphql -f query='query($o:String!,$r:String!,$n:Int!){repository(owner:$o,name:$r){pullRequest(number:$n){reviews(first:50){nodes{id state author{login}}}}}}' -F o=<owner> -F r=<repo> -F n=<num> --jq '.data.repository.pullRequest.reviews.nodes[]|select(.state=="CHANGES_REQUESTED")'
# dismiss with a reason
gh api graphql -f query='mutation($id:ID!,$m:String!){dismissPullRequestReview(input:{pullRequestReviewId:$id,message:$m}){pullRequestReview{state}}}' -F id=<reviewNodeId> -F m="Dismissing: <why this change request is wrong/out of scope>."GitHub does not auto-re-request a reviewer when you push fixes — their CHANGES_REQUESTED stays on the record, the PR keeps showing as blocked even though you addressed everything, and the reviewer gets no notification that there's a new head to look at. So after pushing fixes that address a reviewer's change request, re-request them:
# for each reviewer whose requested changes this push addresses
gh pr edit <num> --add-reviewer <login>This is what flips a stale CHANGES_REQUESTED back into an active review request and notifies the reviewer. Skip only if they already re-reviewed the current head.
Only when reviewDecision==APPROVED, every required check is SUCCESS (none pending/failing), mergeable==MERGEABLE, and not a draft:
gh pr merge <num> --squash --delete-branch # use --merge/--rebase to match repo convention
# or: gh pr merge <num> --squash --auto # let GitHub merge as soon as requirements are metThen report and stop.
Poll on an interval instead of spinning. Use your agent's own loop/scheduler if it has one:
/loop 5m <this instruction>, or schedule a wake-up; idle between ticks.sleep 180 between checks.--admin-bypass.Extended gh / GraphQL recipes: references/github-commands.md (when installed as a skill), or fetch
https://raw.githubusercontent.com/nexu-io/looper/main/skills/pr-takeover/references/github-commands.md.
Works in any agent, with or without this skill installed — it just points the agent at this file:
Take over this PR until it merges — read https://raw.githubusercontent.com/nexu-io/looper/main/skills/pr-takeover/SKILL.md and follow it.
If your agent can't fetch URLs, paste this instead:
Take over this PR until it merges. Loop: read the open review threads (
gh), fix what they ask and push, re-request the reviewer after each push (GitHub won't auto-re-request, so the reviewer won't otherwise know there's a new head), reply + resolve each thread, dismiss any change request you can justify as wrong (with a written reason), and merge once it's approved and all required checks are green. Never merge on red/pending checks, never force-push, and stop to ask me if someone says hold or a fix needs a product decision.
© nexu-io, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in skills/pr-takeover of nexu-io/looper.
Open the folder on GitHubat commit 6abd8ff
PR Takeover 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 |
|---|---|---|---|---|---|---|
| PR Takeover this skillnexu-io/looper | 133 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Pull Request Title and Body Writeropeninterpreter/openinterpreter | 69k | 2 repos | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| PR Review State Fetchprisma/orm | 48k | — | ~767 | Automated safety check: Pass | Apache-2.0 | |
| Create Pull Request with Work Item IDmakeplane/plane | 61k | — | ~824 | Automated safety check: Pass | AGPL-3.0 |
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
openinterpreter/openinterpreter
Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.
prisma/orm
Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.
makeplane/plane
Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.
redis/jedis
Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.
nexu-io/looper
Default Looper review method for implementation and spec PRs.
Categories
A skill your agent uses when asked to take over, adopt, or babysit a GitHub pull request until it merges — read review feedback, fix it, resolve threads, dismiss unreasonable change requests, and…. PR Takeover is an agent skill from nexu-io/looper. Use when asked to take over, adopt, or babysit a GitHub pull request until it merges — read review feedback, fix it, resolve threads, dismiss unreasonable change requests, and merge once approved and green.
PR Takeover fits situations like: asked to take over; babysit a GitHub pull request until it merges — read review feedback; resolve threads; dismiss unreasonable change requests.
Run `npx skills add nexu-io/looper --skill pr-takeover -a claude-code`. Or copy the skill folder (skills/pr-takeover in nexu-io/looper) into .claude/skills/pr-takeover in your project. Claude Code loads it when a task matches its description.
Run `npx skills add nexu-io/looper --skill pr-takeover -a codex`. Or copy the skill folder (skills/pr-takeover in nexu-io/looper) into .agents/skills/pr-takeover 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 nexu-io/looper --skill pr-takeover -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-takeover, .gemini/skills/pr-takeover, .github/skills/pr-takeover and .opencode/skills/pr-takeover in your project.
Going by SKILL.md and its folder, PR Takeover needs the command-line tools its instructions call (gh and git).
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.
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.
PR Takeover is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with PR Takeover: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and PR Review State Fetch (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
nexu-io (a GitHub organization) maintains it in nexu-io/looper, which has 133 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 6, 2026.
Source: nexu-io/looper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.