stack-ship

stack-ship is a skill for Claude Code, Codex from ronaknnathani/relay. It costs 97 tokens per session (2,413 once invoked), scanned A, original, MIT.

A workflow for turning a design or feature goal into several small, dependent pull requests, then guiding them through review and merging. A pull request is a proposed code change for a repository.

In plain words
What is it for?
It helps plan acceptance criteria, create a stack of implementation pull requests, delegate their work, monitor progress, and advance the stack as changes are merged.
Why use it?
It breaks large changes into smaller units and keeps track of their order, progress, and dependencies, reducing the need for constant manual coordination.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ronaknnathani/relay/stack-ship
Any agent
npx skills add ronaknnathani/relay --skill stack-ship
Clone the repo
git clone --depth 1 https://github.com/ronaknnathani/relay

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 stack-ship

README.md
[![agentmods](https://agentmods.dev/badge/skills/ronaknnathani/relay/stack-ship.svg)](https://agentmods.dev/skills/ronaknnathani/relay/stack-ship)
Your own site
<a href="https://agentmods.dev/skills/ronaknnathani/relay/stack-ship"><img src="https://agentmods.dev/badge/skills/ronaknnathani/relay/stack-ship.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,413 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00097 $0.02413
Opus 5 $0.00048 $0.01207
Sonnet 5 $0.00019 $0.00483
Haiku 4.5 $0.00010 $0.00241

Measured 3d ago against content hash 67dd375e9a2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

stack-ship 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 3d 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/stack-ship/SKILL.md · 138 lines

How it starts

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

Stack Ship

Drive a design or feature goal from intake to "all PRs merged" with near-zero steering. The orchestrator is a router, not a worker: it owns the plan, state, delegation, and author-facing decisions; subagents own execution and return structured digests.

The guardrails are non-negotiable — read them before acting.

Throughout this skill master denotes the repository's default branch; substitute the real default (main, etc.). Auto-merge is armed only on a default-branch-based PR — which, in a stack, is exactly the front PR.

The one-paragraph model

You (orchestrator) turn a goal into an acceptance-criteria list and a stacked PR plan (api → utils → stitch, smallest single-intent PRs). You spawn a deliver-pr sub-agent per PR to run the full single-PR pipeline and open the PR. You drive whichever PR currently sits on master (the front of the stack) to merged with the pr-monitor skill — a native /loop when available, else one tick per resume — and add only the stack-specific front-advance and cascade. You never write code, never post in your own voice, never approve, never make author-owned design decisions, and never install unreviewed tooling — you route work and surface questions. You stop when every acceptance criterion is met and every PR is merged.

When to use / not use

  • Use for a multi-PR feature with a clear goal and a discoverable current→desired delta.
  • Use again / resume for an active stacked delivery run. If a native loop is unavailable, the skill automatically reconstructs state and runs one monitor tick for the current front PR — the author should not have to type a special "monitor-tick mode" prompt.
  • Don't use for a single small change (just do it), or when the goal/delta is too vague to write acceptance criteria — first run brainstorming / ask the author to sharpen the goal.

Operating principles (the orchestrator's contract)

  1. Delegate everything executable. If a step writes code, runs tests, posts a comment, rebases, opens/updates PRs, posts GitHub comments, resolves threads, or reads more than a couple of files, it belongs in a subagent. The orchestrator reads digests, updates state files, and decides what to delegate next. Model: spawn every subagent with the default configured model (inherit it — don't pin a tier); only override the model when the user has stated a preference for these subagents.
  2. One state writer. The orchestrator is the canonical writer for the run's state files. Worker subagents return structured digests; they do not append to shared state files directly. If a delegated loop controller owns a tick, it assumes this same singleton state-writer role for that tick.
  3. State lives in files, never only in context. Every tick and every PR is idempotent and resumable because the truth is on disk (state files): human-readable Markdown plus machine-readable state.json.
  4. One writer per branch, ever. Never run two subagents that push the same branch at once. Serialize. (A concurrent double-push was a real near-miss.)
  5. Surface, don't decide. Author design/scope calls get two things: a PR reply asking for input (marked, on the thread), and a row in the pending-decisions table the orchestrator keeps in questions.md. Never a unilateral decision. When unsure whether something is a fix or a decision, treat it as a decision and surface it. The orchestrator shows the author this table — open decisions only — whenever it changes; resolved decisions drop off the table.
  6. Never impersonate. Every PR comment is prefixed 🤖 <agent> on behalf of <author>, and PR bodies/status posts disclose agent authorship instead of implying the author wrote them.
  7. Approval is the only merge gate. Auto-merge, armed only on master-base PRs, fires on a genuine human code-owner approval. Never self-approve, never gh merge directly.
  8. Approved tooling only. Use only approved/verified skills, hooks, MCP integrations, and tools already available in the environment. Never install or run unreviewed third-party plugins/hooks/scripts from the internet during this workflow.
  9. Set the goal in every harness. The session's launch input must set /goal <the user's requested outcome> using the original task, not instructions to run the stack-ship workflow. Relay project artifacts and relay state remain the durable source of truth for executing and resuming the workflow. Never replace this native goal with the file-only fallback. Detect recurring-run capabilities once and record them in state.json. If /loop or an approved scheduler exists, use it. Otherwise use monitor-tick mode automatically on resume and be honest that coverage is tick-based, not continuous.

Read the full file on GitHub · 138 lines

Files

What ships with it

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

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. 3d ago First seen · 138 lines · 97 tokens per session scan A 67dd375e9a2e

Subscribe to this mod's changes

stack-ship is a skill published in the GitHub repository ronaknnathani/relay (3 stars, last pushed 6d ago), licensed MIT. It adds 97 tokens to every session and 2,413 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-08-31.

Related

Other skills, from other repositories

winui-ui-testing

Automated UI testing for Windows desktop apps — generate a batch test script with the winapp ui UI Automation harness, run all tests in one pass, read results. Covers element assertions, interactions, value checking (TextBox, ComboBox, ToggleSwitch), keyboard shortcuts and typing (send-keys), hover, drag-and-drop…

microsoft/win-dev-skills · 122 tokens

pr-review

Multi-dimensional review of a PR or feature branch in microsoft/win-dev-skills. Activate on "review my PR / changes / branch", "vet before pushing", "PR review", "is this ready to merge". Fans out parallel sub-agents over skill content, the skill-vs-tool boundary (solution hierarchy), tool correctness…

microsoft/win-dev-skills · 98 tokens

winui-design

Use when designing, reviewing, or fixing WinUI 3: sample and control discovery with winapp find-ui, layout planning, control choice, Fluent Design alignment, Light/Dark/High Contrast theming, typography, spacing, brushes, accessibility, and XAML data-binding design. Load before authoring new XAML, reviewing UI PRs…

microsoft/win-dev-skills · 119 tokens

winui-dev-workflow

Build and run workflow for WinUI 3 apps with WinApp CLI 0.6+ — project creation with winapp new, project-mode winapp run, BuildAndRun.ps1 analyzer integration, crash diagnosis, and prerequisites. Use when creating, building, running, or fixing build errors in a WinUI 3 project.

microsoft/win-dev-skills · 73 tokens

winui-packaging

MSIX packaging, code signing, and distribution for WinUI 3 apps — build for release, certificate generation (winapp cert generate), certificate trust, code signing (winapp sign), self-contained deployment, CI/CD with GitHub Actions, and Microsoft Store submission. Use when preparing for release, creating MSIX…

microsoft/win-dev-skills · 86 tokens

winui-session-report

Analyze the current or a recent agent session (GitHub Copilot CLI or Claude Code) and generate a diagnostic report. Use only when the user explicitly asks for session feedback, agent debugging, or a review of what happened during a build session. Do not inspect session data automatically.

microsoft/win-dev-skills · 61 tokens