ship

A workflow guide for moving code changes from a branch into the main codebase through commits, a remote repository, a pull request, and cleanup. A pull request is a request for others to review and merge changes.

In plain words
What is it for?
Use it when preparing, pushing, reviewing, merging, and cleaning up a branch of code.
Why use it?
It helps determine which delivery step has already been completed and what should happen next.

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

Made for: Claude Code, Codex.

Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,276 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.00051 $0.01276
Opus 5 $0.00026 $0.00638
Sonnet 5 $0.00010 $0.00255
Haiku 4.5 $0.00005 $0.00128

Measured 2d ago against content hash c6259c5c0fc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

skills/ship/SKILL.md · 163 lines

How it starts

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

Ship Workflow

Deliver current work to main. Assess the current state and pick up from wherever the user is.

Arguments

  • /ship — default flow, adapts review gate to repo flavor
  • /ship full-sail — skip the review pause (solo/pair repos only; team repos still pause)

Assess First

Run these in parallel to determine current position in the flow:

git status --short              # Uncommitted changes?
git branch --show-current       # On main or a feature branch?
git log --oneline main..HEAD    # Commits ahead of main?
git remote show origin 2>&1     # Remote tracking state?

Also check repo flavor for review gating:

# Active contributors in last 90 days
git log --since="90 days ago" --format='%aN' | sort -u | wc -l
  • ≤2 active: Solo/pair — lightweight PRs, review pause optional
  • 3+ active: Team — review pause mandatory, suggest reviewers

If the GitHub way has already injected context (look for **Context**: Team project or **Context**: Solo/pair project in the conversation), use that instead of re-checking.

Flow Steps (skip what's already done)

1. Branch (if on main with changes)

git checkout -b <branch-name>

Pick a name from the changes: feature/thing, fix/thing, refactor/thing. If the user provides a name, use it. If changes are already committed on main, create the branch first, then it carries the commits.

2. Commit (if uncommitted changes)

Stage and commit. Follow conventional commit format. If there are multiple logical changes, make multiple atomic commits. Ask the user for a commit message direction if the intent isn't clear.

3. Push

git push -u origin <branch>

4. PR

gh pr create --title "..." --body "$(cat <<'EOF'
## Summary
...

## Test plan
...
EOF
)"

Keep the title under 70 characters. Summary should be 1-3 bullets. For small/obvious changes, the test plan can be brief.

5. Review Gate

Team repos (3+ active contributors):

  • Always pause here. State the change scope and suggest reviewers.
  • Do NOT proceed to merge without explicit user approval.
  • Exception: /ship full-sail is rejected for team repos — tell the user why.

Read the full file on GitHub · 163 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 · 163 lines · 51 tokens per session scan A c6259c5c0fc8

Subscribe to this mod's changes

ship is a skill published in the GitHub repository aaronsb/claude-code-config (18 stars, last pushed 4mo ago), licensed MIT. It adds 51 tokens to every session and 1,276 once invoked, about $0.0003 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-30.