ship-feature

A controlled workflow for making changes to a software repository, from planning and review through implementation, merging, and verification.

In plain words
What is it for?
Use it when adding features, fixing bugs, building changes, or preparing a change for release.
Why use it?
It adds review and approval checkpoints so repository changes are considered and checked before they are shipped.

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/hamen/ship-feature/skill
Any agent
npx skills add hamen/ship-feature --skill skill
Clone the repo
git clone --depth 1 https://github.com/hamen/ship-feature

Made for: Claude Code, Codex.

Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,568 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.00094 $0.01568
Opus 5 $0.00047 $0.00784
Sonnet 5 $0.00019 $0.00314
Haiku 4.5 $0.00009 $0.00157

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

Security

Grade A, and why

ship-feature 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.

adapters/skill/SKILL.md · 82 lines

How it starts

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

ship-feature

Follow the canonical workflow in ~/.config/ship-feature/WORKFLOW.md (installed by this project). It is the single source of truth — do not restate or fork it here.

The essentials you must honor:

  1. Plan it into ~/.config/ship-feature/plans/<repo>-<slug>.md (mkdir -p it if missing) — never the repo, never a session scratchpad (/tmp is tmpfs on many setups: a reboot destroys it, and the plan has to outlive every review round) — then review the plan with a panel: ship-feature plan-review <that file> --reviewers <your agents> (defaults to SHIP_FEATURE_PLAN_REVIEWERS, then SHIP_FEATURE_REVIEWERS; read-only; exit 0 means every reviewer responded — not that the reviews are clean, 3 re-run). A single reviewer via codex exec --sandbox read-only still works. Plan-review has its own 2-round cap, distinct from the cross-review loop below — its plan-qualifying term is not the same as, and must not be conflated with, the "qualifying Should-fix" used in cross-review. A round is one plan-review call where every reviewer responded — exit 3 does not count as a round, and if the same reviewer hits exit 3 on two consecutive attempts at the same round, stop retrying it, drop that reviewer for the round, and tell the human about the reduced panel before Gate 1 rather than silently substituting (if that leaves zero reviewers, it isn't a completed round — take the failure itself to Gate 1). Iterate only for a Blocker or a plan-qualifying Should-fix (the plan is wrong about the tree, unsafe, or materially incomplete — a missing edge case, failure mode, or verification gap — not a style/approach preference). A clean round 1 skips straight to Gate 1; do not spend a round confirming an already-clean plan. Round 2, if it happens, runs against the same full panel — never narrowed. If round 2 still has an open plan-qualifying finding, stop — do not run a round 3 on your own; write a disagreement summary (each reviewer's objection, your classification, the reason) and bring it to Gate 1 instead of "the agreed plan." A human-authorized extra round is not a third autonomous round — it resolves cleanly or produces an updated disagreement summary and returns to Gate 1 again.
  2. 🚦 Stop for the human to approve the plan — the agreed plan, or the plan plus a disagreement summary if the plan-review cap was hit with a finding still open (the human then accepts it as classified, authorizes one more round with explicit reasoning, or drops the change). Do not write to the source repository before that.
  3. Implement in a git worktree (never the main tree), stage explicit paths, open a PR. Run ship-feature preflight first.
  4. Run the cross-review: ship-feature relay --author <self> --reviewers <your agents> --context-file ~/.config/ship-feature/plans/<repo>-<slug>.md (name the reviewers you have — the quorum — so a missing one fails rather than thinning the panel; e.g. claude,codex,cursor). Always pass the plan with --context-file: a reviewer that cannot see the intent can find bugs but not "this is not what we agreed to build". The plan file is the source the PR body is generated from, and is immutable once approved — write and revise it freely before Gate 1, never after; for later rounds point --context-file at a derived copy (plan + dispositions), which is generated, never hand-edited. Iterate only for a Blocker or a qualifying Should-fix — a material problem of correctness, safety, deployability, or verification. Round 1 is the full quorum (every configured reviewer except the author — the relay skips the author, so the examples above list it too); rounds 2+ are narrow (only reviewers with a stake in an open finding, plus any whose finding you downgraded); the closing round is the full quorum again, on the SHA that will merge — unless round 1 was already clean, in which case it IS the closing round and a second full panel is waste. Branch on the exit code — 0 means every DISPATCHED reviewer ran, not that everyone ran and not that reviews are clean: a benched (out-of-quota) reviewer is dropped and still exits 0, so check the startup lines. A benched seat in an initial or closing round is the human's call before the round. Non-qualifying findings are recorded and left unfixed until a follow-up PR — fixing one creates a commit after the reviewed SHA, and then the merged code is not the code anyone reviewed. If the closing round raises a new qualifying finding it becomes the INITIAL round of another cycle — full, narrow, then a full quorum again on the new candidate; not fix-narrow-stop, which merges a SHA no full panel ever saw. Never gh pr edit the derived context file — the body is generated from the plan and only the plan. Exit 4 is the round cap: stop and escalate to the human; never a reason to merge and never a reason to pass --reset. The author classifies each finding in writing, naming it and the reason. Post dispositions before re-running — the relay deletes each reviewer's previous comment, so an unposted finding and its classification are lost; keep the relay's marker text (<Name> review (automated cross-review)) out of that comment or it is deleted too.
  5. 🚦 Stop for the human to merge. Never self-merge. Disputed classifications do not block the stop — they go to this gate with both positions. Still two gates, never three.
  6. Verify the tests on the merge commit.

Read the full file on GitHub · 82 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. 2d ago First seen · 82 lines · 94 tokens per session scan A 7142f733e8b1

Subscribe to this mod's changes

ship-feature is a skill published in the GitHub repository hamen/ship-feature (6 stars, last pushed 5d ago), licensed MIT. It adds 94 tokens to every session and 1,568 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens