Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add tony/skills --skill merge-pr-merge-manygit clone --depth 1 https://github.com/tony/skillsWrote 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/tony/skills/merge-pr-merge-many)<a href="https://agentmods.dev/skills/tony/skills/merge-pr-merge-many"><img src="https://agentmods.dev/badge/skills/tony/skills/merge-pr-merge-many/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/tony/skills/merge-pr-merge-many"><img src="https://agentmods.dev/badge/skills/tony/skills/merge-pr-merge-many.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.00042 | $0.02246 |
| Opus 5.5 | $0.00017 | $0.00898 |
| Sonnet 5.5 | $0.00008 | $0.00449 |
| Haiku 4.5 | $0.00004 | $0.00225 |
Grade A, and why
merge-pr-merge-many 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 2d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- merge-many — 94% identical, 33 lines differ
How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merge Multiple PRs
Land a set of pull requests one at a time: merge one, refresh trunk, bring the next PR up to date (rebase, resolve conflicts, force-push, wait on CI), then merge it, repeating until the set is landed or a gate halts the run.
Read references/merge-readiness.md before touching any PR.
User arguments: $ARGUMENTS
Procedure
1. Assemble the roster
Take the PR set from the arguments, or from the PRs this
conversation has been working on. If the set is ambiguous (the
conversation touched more PRs than the user likely means, or an
argument doesn't match an open PR), present the candidates via
ask-user-choice and let the user pick; without a question tool, halt and
list them. Show the final roster.
Read each roster PR's mergeStateStatus (gh pr view <n> --json mergeStateStatus).
When any is BEHIND or DIRTY, confirm via ask-user-choice before the
first merge, naming each such PR and its branch as a force-push
(--force-with-lease --force-if-includes). The approval also covers a
roster PR that falls behind after an earlier merge. Without a question tool,
or if the user declines, halt before any rebase or push. When every PR is
CLEAN, the approval is still asked at the first PR that needs a rebase.
List the open PRs to check the roster against. A failure means gh is
unavailable or unauthenticated: report it and stop. --limit lifts the
default cap of 30; a roster PR missing from the list is checked with
gh pr view <n> before it is called not open.
$ gh pr list --limit 200 --json number,title,headRefName,baseRefName,isDraft
2. Detect the topology
Check the repo scope as the reference describes. Then have the helper read
each PR and order the set, passing --repo when the user did:
$ python3 /absolute/path/to/scripts/merge_pr.py order <PR numbers in the user's order>
It prints the topology (stack when any PR's base branch is another PR's
head branch, else independent), the merge order (bottom-up for a stack,
otherwise the order given), the trunk, each PR's parent, and each
headRefOid; keep the headRefOid values for the stacked rebase. A null
trunk means the PRs target different branches: ask which is trunk, or halt
and list them without a question tool.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago Changed · +3 lines 1d71487989b6
- 29d ago First seen · 187 lines · 42 tokens per session scan A da5aabe259d6
merge-pr-merge-many is a skill published in the GitHub repository tony/skills (0 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 2,246 once invoked, about $0.0002 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-11-01.
merge-pr-merge-many compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| merge-pr-merge-manytony/skills | Skill | 0 | today | MIT | A | 42 | Claude Code, Codex |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | 3d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.7k | today | MIT | A | 20 | Claude Code, Codex |
| comet-githubrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 72 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 51 | Claude Code |
| codex-autoresearchleo-lilinxiao/codex-autoresearch | Skill | 3.3k | 11d ago | MIT | A | 39 | Codex |