ship

ship is a command for Claude Code from hamza-ali-shahjahan/hamzaish. It costs 64 tokens per session (1,231 once invoked), scanned A, original, MIT.

A deployment command that promotes reviewed commits from a working branch to a product's production branch and pushes them. A branch is a separate line of Git development used to isolate changes.

In plain words
What is it for?
Use it to deploy reviewed product changes; repository changes intended for the main branch use /pr instead.
Why use it?
It keeps automatic work-in-progress snapshots away from production and provides one action for deploying a product.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to deploy reviewed product changes; repository changes intended for the main branch use /pr instead.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hamza-ali-shahjahan/hamzaish/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/hamza-ali-shahjahan/hamzaish

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/hamza-ali-shahjahan/hamzaish/ship/github.svg)](https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/ship)
Your own site
<a href="https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/ship"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/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/hamza-ali-shahjahan/hamzaish/ship"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,231 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.00064 $0.01231
Opus 5.5 $0.00026 $0.00492
Sonnet 5.5 $0.00013 $0.00246
Haiku 4.5 $0.00006 $0.00123

Measured 1mo ago against content hash 6f6b7afe882f, 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 1mo 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.

factory/commands/ship.md · 85 lines

How it starts

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

The user invoked: /ship $ARGUMENTS

/ship is the one deliberate deploy action. Vercel's Production Branch is production; a push to it is the deploy. Everything else (auto-commit wip(auto): snapshots, local checkpoints) stays on the working branch and never reaches production. See docs/security.md → "Production-branch deploy model".

Parse $ARGUMENTS as <product-slug> and an optional [reviewed-commit-sha] (defaults to the working branch HEAD). If the slug is missing, ask which product (or Read ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/products/_portfolio.md). Resolve the code repo from ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/products/<slug>/product.config.json → code_path. All git commands below run in that code repo (git -C <code_path> …), never in the Hamzaish repo.

Constants: working branch = the repo's current branch (usually main); production branch = production.

Pre-flight gate — do not skip

  1. Clean tree. git -C <code_path> status --porcelain. If dirty, stop and tell the user to commit, /checkpoint, or stash first. Never ship uncommitted work.
  2. Security baseline. Run /security-check <slug>. If the verdict is BLOCK, stop and surface the findings — do not promote a repo with tracked secrets, unpinned/vulnerable actions, over-broad workflow permissions, or an unaccepted legal-trap FAIL (§ 7a: age gate, Google Fonts, session replay, marketing email, renewal terms, DMCA — scripts/check-legal-traps.ts). Operator-only to-dos the scanner can't verify (a real POSTAL_ADDRESS, a registered DMCA agent) are listed in the ship report, not silently assumed.
  3. Show what will ship. git -C <code_path> log --oneline <production>..<reviewed-sha> (for the first ship, show the full history that will become production). Print the commit list and a --stat summary so the user sees exactly what deploys.
  4. Keep wip snapshots out of production. Scan the range for wip(auto): commits. If any exist, tell the user and offer to fold them into the preceding real commit before promoting (interactive cleanup: git -C <code_path> rebase -i <production> — mark wip(auto): commits as fixup). Production history stays clean and reviewed; wip snapshots remain recoverable on the working branch. Do not promote a range whose tip is itself a wip(auto): commit — ask the user to /checkpoint "<message>" a real commit first.
  5. Confirm. Unless the user already said "go" / "ship it", show the plan and wait for the go-ahead. This is an outward-facing, money-/users-affecting action.

Read the full file on GitHub · 85 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. 1mo ago Changed · +4 lines 6f6b7afe882f
  2. 3mo ago First seen · 81 lines · 64 tokens per session scan A f2ef5b9beaf2

Subscribe to this mod's changes

ship is a command published in the GitHub repository hamza-ali-shahjahan/hamzaish (11 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 1,231 once invoked, about $0.0003 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-09-03.

Related

ship compared with commands from other repositories

ship next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shiphamza-ali-shahjahan/hamzaishCommand111mo agoMITA64Claude Code
landgmickel/flow-nextCommand736yesterdayMITA13Claude Code
qualityDesko77/claude-code-skills-1cCommand10310d agoMITA18Claude Code
release-notesOpenHands/extensionsCommand191yesterdayMITA44Claude Code
doc-changelogchristopherlouet/claude-baseCommand63d agoMITA0Claude Code
releaseelct9620/claudekitCommand103d agoMITA11Claude Code
releaseparuff/uFawkesAICommand22d agoMITA39Claude Code