pr-stacker

pr-stacker is a skill for Claude Code, Codex from pantheon-org/tekhne. It costs 95 tokens per session (1,351 once invoked), scanned A, original, MIT.

A Git workflow tool that splits a large feature branch into a small sequence of focused pull requests. Stacked branches are branches where each later branch builds on the previous one.

In plain words
What is it for?
Use it to group commits by concern, create stacked branches, and prepare pull-request titles and descriptions.
Why use it?
It makes changes easier to review when infrastructure, application logic, tests, and cleanup are mixed together. Reviewers can examine each focused change in order.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to group commits by concern, create stacked branches, and prepare pull-request titles and descriptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pantheon-org/tekhne/pr-stacker
Install

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.

Any agent
npx skills add pantheon-org/tekhne --skill pr-stacker
Clone the repo
git clone --depth 1 https://github.com/pantheon-org/tekhne

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for pr-stacker

README.md
[![agentmods](https://agentmods.dev/badge/skills/pantheon-org/tekhne/pr-stacker/github.svg)](https://agentmods.dev/skills/pantheon-org/tekhne/pr-stacker)
Your own site
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/pr-stacker"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/pr-stacker/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.

agentmods 80×15 button for pr-stacker

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/pr-stacker"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/pr-stacker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01351
Opus 5 $0.00048 $0.00675
Sonnet 5 $0.00019 $0.00270
Haiku 4.5 $0.00010 $0.00135

Measured 9d ago against content hash a30e30a64ebe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pr-stacker 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 9d 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.

skills/project-mgmt/planning-toolkit/pr-stacker/SKILL.md · 154 lines

How it starts

The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Stacker

Mindset

A large PR fails reviewers because it mixes concerns — infrastructure sits next to business logic sits next to test cleanup. Reviewers cannot build a mental model of any single change when everything changes at once.

The fix is to group commits by what kind of thing changed, not by when they were written or what ticket they belong to. Each group becomes its own PR targeting the previous one (stacked branches), so changes can be reviewed and merged in order without blocking unrelated work.

Two failure modes to avoid:

  1. The monolith — one PR with everything, reviewers give up or rubber-stamp
  2. The over-split — one PR per commit, stacked 10 deep, merge overhead exceeds the benefit

The sweet spot is 2–4 PRs where each one can be understood by a reviewer who only knows that domain.

When to use

  • A PR has more than ~15 files changed across unrelated concerns
  • A reviewer says "this is too big to review"
  • Commits already have phase or step markers in their messages
  • Changes span infrastructure, application code, and cleanup in a single branch

When not to use

  • The branch has 2–4 commits that all touch the same component — keep it together
  • All files are test files for a single feature — one PR is correct
  • The work is already in review and splitting restarts the cycle with more overhead than benefit
  • Commits are tightly coupled (each depends on the previous for tests to pass) — cherry-pick reordering will produce broken intermediate branches

Trigger phrases

  • "This PR is too big"
  • "Split this PR"
  • "Break this into smaller PRs"
  • "Decompose the branch"
  • "Too many changes for reviewers"

Workflow

Load Workflow Steps for full commands. Summary: analyse → group → propose (table, wait for approval) → name → stack (cherry-pick) → describe (What/Why) → remind about target branches.

Consider adapting concern labels to the codebase — if there is no infrastructure layer, you may optionally collapse to two groups (application logic + tests).

Read the full file on GitHub · 154 lines

Changes

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.

  1. 9d ago First seen · 154 lines · 95 tokens per session scan A a30e30a64ebe

Subscribe to this mod's changes

pr-stacker is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed yesterday), licensed MIT. It adds 95 tokens to every session and 1,351 once invoked, about $0.0005 per session on Opus 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-09-03.

Related

Other skills, from other repositories