ship

ship is a command for Claude Code from claude-market/marketplace. It costs 17 tokens per session (4,964 once invoked), scanned C, original, MIT.

A deployment-preparation command that checks a project, builds its production files, scans for security problems, optimizes Docker images, and creates deployment settings.

In plain words
What is it for?
It is for preparing a SpecForge project for deployment and producing a final readiness report.
Why use it?
It gathers the main checks and build steps needed before releasing software into one process, reducing the chance of missing a readiness task.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./data/postgres:/var/lib/postgresql/data.

Part of the specforge plugin — 5 commands, 3 agents shipped together

Good fit It is for preparing a SpecForge project for deployment and producing a final readiness report.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/claude-market/marketplace
agentmods
npx agentmods add commands/claude-market/marketplace/ship

Made for: Claude Code.

Or install specforge, the plugin that ships this one along with the rest of its 5 commands, 3 agents.

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/claude-market/marketplace/ship/github.svg)](https://agentmods.dev/commands/claude-market/marketplace/ship)
Your own site
<a href="https://agentmods.dev/commands/claude-market/marketplace/ship"><img src="https://agentmods.dev/badge/commands/claude-market/marketplace/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/commands/claude-market/marketplace/ship"><img src="https://agentmods.dev/badge/commands/claude-market/marketplace/ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,964 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 4 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.00017 $0.04964
Opus 5 $0.00009 $0.02482
Sonnet 5 $0.00003 $0.00993
Haiku 4.5 $0.00002 $0.00496

Measured 10d ago against content hash 46c70a994980, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

ship scanned grade C with 4 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 10d 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo usermod -aG docker $USER

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://get.docker.com | sh

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

&& rm -rf /var/lib/apt/lists/*

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

CMD curl -f http://localhost:3000/health || exit 1
specforge/commands/ship.md · 899 lines

How it starts

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

SpecForge Ship Command

Prepare your SpecForge project for deployment by building production artifacts, running security checks, optimizing Docker images, and generating deployment configurations.

Overview

The ship command orchestrates the final steps before deployment:

  1. Pre-deployment Validation - Ensure everything passes validation and tests
  2. Production Build - Build optimized production artifacts
  3. Security Scanning - Scan for vulnerabilities
  4. Docker Optimization - Build optimized production Docker images
  5. Deployment Config Generation - Generate deployment manifests
  6. Deployment Readiness Report - Final checklist and next steps

Ship Orchestration Flow

┌─────────────────────────────────────────────┐
│  /specforge:ship                             │
└─────────────────┬───────────────────────────┘
                  │
    ┌─────────────┼─────────────┬──────────────┬───────────────┐
    ▼             ▼             ▼              ▼               ▼
┌────────┐  ┌──────────┐  ┌──────────┐  ┌──────────┐  ┌─────────────┐
│ Pre-   │  │ Build    │  │ Security │  │ Docker   │  │ Deploy      │
│ flight │  │ Prod     │  │ Scan     │  │ Optimize │  │ Config      │
└────┬───┘  └─────┬────┘  └─────┬────┘  └─────┬────┘  └──────┬──────┘
     │            │             │             │              │
     └────────────┴─────────────┴─────────────┴──────────────┘
                                 │
                                 ▼
                      ┌────────────────────┐
                      │ Readiness Report   │
                      └────────────────────┘

Step 1: Pre-deployment Validation

Run full validation and tests to ensure everything is ready:

# Run validation
/specforge:validate --full

# Run full test suite
/specforge:test --full

If validation or tests fail, abort the ship process and report errors to the user.

Checks:

  • ✓ All validation levels pass (spec, schema, codegen, compile, runtime)
  • ✓ All tests pass (unit, integration, contract)
  • ✓ No pending migrations
  • ✓ No uncommitted changes (warn if dirty git status)
  • ✓ Version is tagged (recommend if not)

Read the full file on GitHub · 899 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. 10d ago First seen · 899 lines · 17 tokens per session scan C 46c70a994980

Subscribe to this mod's changes

ship is a command published in the GitHub repository claude-market/marketplace (22 stars, last pushed 10mo ago), licensed MIT. It adds 17 tokens to every session and 4,964 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 4 findings (asks for root, downloads and executes remote code, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.