ship

ship is a skill for Claude Code from griffinwork40/agent-afk. It costs 93 tokens per session (4,361 once invoked), scanned A, original, Apache-2.0.

A release workflow for local code changes that are already finished. It prepares the changes for review by checking them, running tests, creating a commit, pushing the branch, and opening a pull request.

In plain words
What is it for?
Running a release pre-check, verifying a project, drafting a commit message, pushing a feature branch, and opening a pull request or draft pull request.
Why use it?
It reduces the number of manual steps between finishing code and sending it to teammates for review.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions subagents.

Part of the awa-bundled plugin — 19 skills shipped together

Good fit Running a release pre-check, verifying a project, drafting a commit message, pushing a feature branch, and opening a pull request or draft pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/griffinwork40/agent-afk/ship
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 griffinwork40/agent-afk --skill ship
Clone the repo
git clone --depth 1 https://github.com/griffinwork40/agent-afk

Made for: Claude Code.

Or install awa-bundled, the plugin that ships this one along with the rest of its 19 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/griffinwork40/agent-afk/ship/github.svg)](https://agentmods.dev/skills/griffinwork40/agent-afk/ship)
Your own site
<a href="https://agentmods.dev/skills/griffinwork40/agent-afk/ship"><img src="https://agentmods.dev/badge/skills/griffinwork40/agent-afk/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/griffinwork40/agent-afk/ship"><img src="https://agentmods.dev/badge/skills/griffinwork40/agent-afk/ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,361 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.00093 $0.04361
Opus 5.5 $0.00037 $0.01744
Sonnet 5.5 $0.00019 $0.00872
Haiku 4.5 $0.00009 $0.00436

Measured yesterday against content hash 41bc96dc7547, 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • ship — 95% identical, 80 lines differ
src/bundled-plugins/awa-bundled/skills/ship/SKILL.md · 227 lines

How it starts

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

Sub-agent contract

/contract

Release pipeline for work that is already done locally. This skill does NOT build, implement, or fix — if the task needs code, route to /mint; if a bug needs diagnosis, route to /diagnose. This skill's job is the hand-off from "done locally" to "visible in a PR."

Skip when:

  • Working tree is clean (nothing to ship — tell the user).
  • Current branch is the default branch (main/master) AND the working tree is clean — nothing to ship. (When dirty, Phase 1 auto-creates a feature branch.)
  • User invokes with --dry-run → produce the plan but take no git actions.

Arguments:

  • --verify — force the optional adversarial verifier wave (Phase 6), regardless of diff size.
  • --draft — open the PR as a draft.
  • --dry-run — run phases 1–5 but stop before Phase 7 (no push, no PR).

Hard rules (non-negotiable — these override any inferred convention):

  • Branch lock. Whatever branch is checked out when /ship starts is the only branch you may commit and push from. NEVER git checkout to a different branch during this skill — not to main, not to master, not to a sibling feature branch. One exception: Phase 1's auto-branch step. When /ship starts on the default branch with a dirty working tree, it creates a new feature branch and checks it out before any other operation. After that single checkout, the lock applies — no further branch switches for the rest of the skill.
  • Never push to the default branch. Phase 5 pushes the CURRENT (feature) branch. Phase 8 opens a PR. There is no path through this skill that pushes to main/master or merges without a PR. If you find yourself about to run git push origin main (or equivalent), stop.
  • User intent is absolute. If the user said "make a PR," "open a PR," "submit for review," or anything synonymous, you MUST complete Phase 8. "Ship" / "release" alone also implies PR — there is no interpretation under which /ship means "skip the PR step."
  • Do not invent project convention. Never assert "this project uses direct-to-main flow," "this repo merges direct," or any equivalent justification for bypassing the PR step. If you genuinely cannot tell whether the project uses PRs, run gh pr list --state merged --limit 5; ≥3 merged PRs in the last week ⇒ PR is the convention. If still ambiguous, ask the user. Default to PR — it is the safer choice.
  • Anchor cwd. When /ship is invoked, pwd at that moment is the only working directory you operate in. All git commands and file reads must run inside that directory — never cd to a sibling worktree, the parent repo, or any other path during this skill. If you find yourself reading state from a path other than the invocation cwd (e.g. git log returning unrelated commits, or a file diff that doesn't match what was just edited), stop and re-anchor on the original cwd. Worktrees and sibling repos look almost identical; cwd is the only disambiguator.

Phase 1 — Pre-flight (mandatory, runs BEFORE any git mutation). Invoke ground-state via the Skill tool. Abort and surface the blocker with remediation steps if ground-state reports any of:

  • Uncommitted changes in files unrelated to the declared scope
  • Branch behind origin/<default> (stale — user needs to rebase/merge first)
  • Wrong-repo context (user's cwd doesn't match the branch's purpose)

Phase 1b — Auto-branch from default (runs only when Phase 1 finds you on main/master with a dirty tree).

When the current branch IS the default branch and the working tree has changes:

  1. Run git diff --stat and git diff --name-only (staged + unstaged) to inventory the dirty files.
  2. Examine the diff content to understand the logical scope of the changes — what feature, fix, or chore they represent.
  3. Derive a short, descriptive kebab-case branch name from the change content. Use Conventional Commits prefixes where clear: fix/..., feat/..., chore/..., refactor/..., docs/.... Examples: fix/ship-main-branch-handling, feat/add-retry-logic, chore/update-deps. Keep it under 50 chars.
  4. Run git checkout -b <derived-branch-name>. This is the ONE permitted branch switch — the branch lock now applies to this new branch for the remainder of the skill.
  5. Continue to Phase 2. All subsequent phases operate on the new branch.

Read the full file on GitHub · 227 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. yesterday Changed · +10 lines 41bc96dc7547
  2. 13d ago Changed · +5 lines 046cbf162ac0
  3. 16d ago Changed · +9 lines 1f8c0601b750
  4. 1mo ago Changed · +34 lines 6b8d1504f825
  5. 2mo ago Changed · -13 lines 65cd01d2ebc3
  6. 2mo ago Changed · +34 lines f45f24eefcc3
  7. 3mo ago First seen · 148 lines · 93 tokens per session scan A c74ef9e83e11

Subscribe to this mod's changes

ship is a skill published in the GitHub repository griffinwork40/agent-afk (67 stars, last pushed today), licensed Apache-2.0. It adds 93 tokens to every session and 4,361 once invoked, about $0.0004 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-08-30.

Related

ship compared with skills from other repositories

ship next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shipgriffinwork40/agent-afkSkill67todayApache-2.0A93Claude Code
kirocrew-prepare-prkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A85Claude Code, Codex
githubAtomicBot-ai/atomic-agentSkill3.6ktodayMITA27Claude Code, Codex
comet-safe-deliveryrpamis/cometSkill3.3ktodayMITA78Claude Code, Codex
git-workflowericrisco/rsc-harnessSkill707yesterdayMITA127Claude Code, Codex
commit-prZaxbyHub/opencode-swarmSkill553todayMITA100Codex
contributingZaxbyHub/opencode-swarmSkill553todayMITA44Codex