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 LandonSchropp/agent-toolkit --skill stacked-pull-requestsgit clone --depth 1 https://github.com/LandonSchropp/agent-toolkitWrote 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/landonschropp/agent-toolkit/stacked-pull-requests)<a href="https://agentmods.dev/skills/landonschropp/agent-toolkit/stacked-pull-requests"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/stacked-pull-requests/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/landonschropp/agent-toolkit/stacked-pull-requests"><img src="https://agentmods.dev/badge/skills/landonschropp/agent-toolkit/stacked-pull-requests.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.00053 | $0.01169 |
| Opus 5.5 | $0.00021 | $0.00468 |
| Sonnet 5.5 | $0.00011 | $0.00234 |
| Haiku 4.5 | $0.00005 | $0.00117 |
Grade A, and why
stacked-pull-requests 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stacked Pull Requests
Uses Git Town to manage parent/child branch relationships. Run git town help for the full command list, or git town <command> --help for documentation on a specific command.
Creating a Stack
- Create the first branch off main:
git town hack <branch-name>. - From that branch, create each subsequent child:
git town append <next-branch-name>. (appendalways creates off the current branch;hackalways creates off main.) - Create a PR for each branch targeting its parent branch (not main). GitHub shows only that branch's changes to reviewers.
- Link the PRs into a native GitHub stack:
gh stack link <pr-number> <pr-number> ..., bottom to top. Pass PR numbers, never branch names;gh stack linkpushes a branch argument, and opens a PR for it if it has none. If the command fails because the repository doesn't support stacks, note in each PR description that it's part of a stack and link to the related PRs instead. - Verify the stack is wired correctly: run
scripts/list-pull-request-tree.rb --branch <any-branch>and confirm all PRs appear in the expected order.
Keeping the Stack in Sync
When upstream changes or a parent branch is updated, run git town sync --stack to sync every branch in the stack. If conflicts arise:
- Resolve them in the conflicted branch.
- Stage the resolved files.
- Run
git town continue. - Push when done.
Merging
Merge oldest ancestor first. Confirm the full merge order with the user before merging anything.
-
Discover the tree: Run
scripts/list-pull-request-tree.rb --branch <name>. Pass any branch in the tree — the script walks up to the oldest ancestor and down through all descendants. A native stack is one linear chain, so merge a tree that forks one chain at a time. -
Link the stack: Run
gh stack link <pr-number> <pr-number> ...with the chain's PR numbers, bottom to top. This is safe on PRs that are already stacked; it adds any that are missing. If the repository doesn't support stacks, skip to Merging Without a Native Stack.
What ships with it
2 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.
- 11d ago Changed 08d9e3502c80
- 1mo ago Changed · +10 lines · +4 tokens per session b1eed22fa5f3
- 3mo ago First seen · 52 lines · 49 tokens per session scan A 0602aa7e1873
stacked-pull-requests is a skill published in the GitHub repository LandonSchropp/agent-toolkit (3 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 1,169 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-08-31.
stacked-pull-requests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stacked-pull-requestsLandonSchropp/agent-toolkit | Skill | 3 | today | MIT | A | 53 | Claude Code |
| artifactscloudflare/skills | Skill | 3.5k | 5d ago | Apache-2.0 | A | 66 | Claude Code |
| skill-upstream-prluongnv89/asm | Skill | 976 | yesterday | MIT | A | 56 | Claude Code |
| skill-changelogluongnv89/asm | Skill | 976 | yesterday | MIT | A | 53 | Claude Code |
| meanest-editorelvisun/newsjack | Skill | 1.7k | 5d ago | MIT | A | 33 | Claude Code |
| headline-generatorelvisun/newsjack | Skill | 1.7k | 5d ago | MIT | A | 88 | Claude Code |
| ai-visibility-writingelvisun/newsjack | Skill | 1.7k | 5d ago | MIT | A | 137 | Claude Code |