ship

ship is a command for Claude Code from kumaran-is/claude-code-onboarding. It costs 63 tokens per session (2,073 once invoked), scanned A, original, MIT.

A pre-deployment checklist that decides whether a project is ready for staging or production. It detects supported stacks, checks the current branch, and runs relevant tests, linting, builds, security checks, secrets scans, and migration checks.

In plain words
What is it for?
Use it before shipping Java/Spring, NestJS, Python/FastAPI, Angular, or Flutter projects to check code quality, security, builds, tests, and database migrations.
Why use it?
It catches common release problems before deployment and gives a clear ready-or-not-ready result. It also verifies that the current commit has the required security approval.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it before shipping Java/Spring, NestJS, Python/FastAPI, Angular, or Flutter projects to check code quality, security, builds, tests, and database migrations.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kumaran-is/claude-code-onboarding/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.

Clone the repo
git clone --depth 1 https://github.com/kumaran-is/claude-code-onboarding

Made for: Claude Code.

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/commands/kumaran-is/claude-code-onboarding/ship.svg)](https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/ship)
Your own site
<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/ship"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/ship.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,073 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.00063 $0.02073
Opus 5 $0.00032 $0.01037
Sonnet 5 $0.00013 $0.00415
Haiku 4.5 $0.00006 $0.00207

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

.claude/commands/ship.md · 218 lines

How it starts

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

Ship — Pre-Deploy Readiness Check

Run before every production or staging deployment to verify the branch is safe to ship.

Step 1 — Detect Stack

Check which stacks are present in the repo root:

[ -f "pom.xml" ]        && echo "STACK:java"
[ -f "package.json" ]   && grep -q '"@nestjs/core"' package.json && echo "STACK:nestjs"
[ -f "package.json" ]   && grep -q '"@angular/core"' package.json && echo "STACK:angular"
[ -f "pyproject.toml" ] || [ -f "requirements.txt" ] && echo "STACK:python"
[ -f "pubspec.yaml" ]   && echo "STACK:flutter"
git log --oneline -3
git status --short

Run all applicable checks below for each detected stack.

Step 1b — Security Lock Document Check

Before running any stack checks, verify a security approval exists for the current commit:

COMMIT=$(git rev-parse --short HEAD)
ls docs/approvals/security-*-${COMMIT}.md 2>/dev/null && echo "LOCK: found" || echo "LOCK: missing"

If missing: STOP. Do not proceed with the ship check.

❌ BLOCKED: No security approval found for commit [COMMIT].

Run /audit-security first. The Lock Document (docs/approvals/security-*-[COMMIT].md)
must exist before /ship can proceed. This ensures the security audit was not skipped.

If this is a staging deploy and you intentionally want to skip the security gate,
pass --skip-security-lock with explicit justification.

If found: continue to Step 2.

Step 2 — Blockers (must all pass)

Java / Spring Boot

./mvnw test -q 2>&1 | tail -20
./mvnw package -DskipTests -q 2>&1 | tail -10
./mvnw dependency:check -q 2>&1 | grep -E "WARN|ERROR|CVE" | head -20

NestJS

npm test -- --passWithNoTests 2>&1 | tail -20
npx tsc --noEmit 2>&1 | head -20
npm run lint 2>&1 | tail -10
npm run build 2>&1 | tail -10
npm audit --audit-level=high 2>&1 | tail -20

Angular

npm test -- --watch=false --browsers=ChromeHeadless 2>&1 | tail -20
npx tsc --noEmit 2>&1 | head -20
npm run lint 2>&1 | tail -10
npm run build -- --configuration=production 2>&1 | tail -10

Read the full file on GitHub · 218 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. 5d ago First seen · 218 lines · 63 tokens per session scan A d5fb727e162e

Subscribe to this mod's changes

ship is a command published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 2,073 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-09-03.