ship

ship is a skill for Claude Code from haiggoh/run-to-completion. It costs 137 tokens per session (1,377 once invoked), scanned A, original, MIT.

A guided workflow for releasing one branch from one repository. It identifies the worktree and branch, derives the release details, runs the repository's shipping process, and reports its results.

In plain words
What is it for?
It helps ship a branch through the repository's release process, including selecting the correct worktree when the current location is ambiguous.
Why use it?
It reduces accidental releases from the wrong branch or repository and avoids repeating the release loop in the conversation. A worktree is a separate working directory for a Git branch.

Skill for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: mentions .claude-plugin; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the run-to-completion plugin — 9 skills shipped together

Good fit It helps ship a branch through the repository's release process, including selecting the correct worktree when the current location is ambiguous.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add haiggoh/run-to-completion
Claude Code
/plugin install run-to-completion

Made for: Claude Code.

Or install run-to-completion, the plugin that ships this one along with the rest of its 9 skills.

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 ship

README.md
[![agentmods](https://agentmods.dev/badge/skills/haiggoh/run-to-completion/ship/github.svg)](https://agentmods.dev/skills/haiggoh/run-to-completion/ship)
Your own site
<a href="https://agentmods.dev/skills/haiggoh/run-to-completion/ship"><img src="https://agentmods.dev/badge/skills/haiggoh/run-to-completion/ship/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 ship

Your own site · 80×15
<a href="https://agentmods.dev/skills/haiggoh/run-to-completion/ship"><img src="https://agentmods.dev/badge/skills/haiggoh/run-to-completion/ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,377 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.
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.00137 $0.01377
Opus 5.5 $0.00055 $0.00551
Sonnet 5.5 $0.00027 $0.00275
Haiku 4.5 $0.00014 $0.00138

Measured 3d ago against content hash 98533a9328e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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.

portable/skills/ship/SKILL.md · 76 lines

How it starts

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

ship — one branch, one repo, shipped all the way out

rtc-ship.sh owns the loop; this skill owns the conversation around it: infer what can be inferred from the session, ask only what genuinely needs a human, run the loop, relay the verdicts. It does not re-implement any loop step.

The flow

  1. Which worktree/branch — inferred first, asked only when ambiguous. Resolve the session's own location: git rev-parse --show-toplevel and git branch --show-current.
    • Inside a repo on a NON-default branch → that worktree and branch are the ship target. State them ("shipping <branch> in <toplevel>") and move on — no question.
    • Inside a repo ON the default branch → list the unmerged branches (git branch --no-merged <default> plus git worktree list) and AskUserQuestion which one to ship (header "Branch", option labels <branch> — <worktree path>).
    • Not inside any repo at all → AskUserQuestion for the repo path (header "Repo", free-text Other), then pick the worktree from git -C <path> worktree list. The default branch is resolved, never assumed (bin/rtc-ship.sh --which-config), and a worktree is the only safe ship target — never the canonical checkout.
  2. Version and title — derived, not asked. Read the target repo's declared manifest (rtc-ship.json manifest, default .claude-plugin/plugin.json) and its top CHANGELOG entry: version = X.Y.(Z+1); title = the CHANGELOG entry's text after the date, else the first line of git log <default>..HEAD. Print both. AskUserQuestion only when the derivation is genuinely ambiguous (header "Version/title", first option "use the derived <version> / <title>").
  3. How far may it go — always asked once. AskUserQuestion, header "Depth", with the full loop as the first option: gates → merge to the default branch → tag → release → refresh → dogfood. Other options: "through the merge only" and "gates only (--test-only)". A ship that stops short of the default branch is not yet obtainable by installers — say so when the user picks a shorter depth.
  4. Run it. From the target repo's root: bash "$CLAUDE_PLUGIN_ROOT/scripts/rtc-ship.sh" <worktree-dir> <version> "<title>" (append --no-reap only if the user asks to keep the worktree). Stream the phase output to the user as it goes. On a non-zero exit, report the failing phase and the tail the script already printed, and STOP — do not retry blindly; say what has to be fixed first (a red gate, a dirty canonical checkout, a version-surface split).
  5. Inspection modes first, when asked: --which-config (what the repo resolves today), --versions-only / --check-versions (the gate alone, writes nothing), --bump-versions <dir> <version> (rewrite only the declared surfaces). Offer these as a first AskUserQuestion choice when the user says "check" rather than "ship".

Read the full file on GitHub · 76 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. 3d ago Changed · +1 lines 98533a9328e9
  2. 14d ago Changed 460a6f7fef93
  3. 18d ago Changed · +6 lines 65b9cac7ba23
  4. 27d ago First seen · 69 lines · 137 tokens per session scan A bcae2a92b3fe

Subscribe to this mod's changes

ship is a skill published in the GitHub repository haiggoh/run-to-completion (1 stars, last pushed 2d ago), licensed MIT. It adds 137 tokens to every session and 1,377 once invoked, about $0.0005 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-03.

Related

ship compared with skills from other repositories

ship next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shiphaiggoh/run-to-completionSkill12d agoMITA137Claude Code
npm-publishstrzhao/autopilotSkill338d agoMITA114Claude Code
release-announcementpaperclipai/paperclipSkill118kyesterdayMITA42Claude Code, Codex
agent-release-managerruvnet/rufloSkill83ktodayMITA16Claude Code
agent-release-swarmruvnet/rufloSkill83ktodayMITA19Claude Code
agent-github-modesruvnet/rufloSkill83ktodayMITA21Claude Code
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code