ship: Instructions file for Claude Code

CLAUDE.md

ship CLAUDE.md is an instructions file for Claude Code from shipstatic/ship. It costs 21,608 tokens per session, scanned A, original, MIT.

Repository instructions for Ship, an SDK and command-line tool for deploying websites with the ShipStatic service. They describe its source layout, shared code, browser support, releases, and architecture.

In plain words
What is it for?
Working on Ship's API, deployment pipeline, browser and Node.js code, validation, packaging, branches, and versioned releases.
Why use it?
They provide the context and rules needed to change the SDK or command-line tool without breaking its supported environments or release process.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is shipstatic/ship's own configuration. It tells Claude Code how to work on ship itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ship configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shipstatic/ship. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shipstatic/ship/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/shipstatic/ship

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shipstatic/ship/claude-md/github.svg)](https://agentmods.dev/instructions/shipstatic/ship/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/shipstatic/ship/claude-md"><img src="https://agentmods.dev/badge/instructions/shipstatic/ship/claude-md/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 CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shipstatic/ship/claude-md"><img src="https://agentmods.dev/badge/instructions/shipstatic/ship/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21,608 This file is loaded in full into every session.
When invoked 21,608 The same file — it is already loaded in full.
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.21608 $0.21608
Opus 5.5 $0.08643 $0.08643
Sonnet 5.5 $0.04322 $0.04322
Haiku 4.5 $0.02161 $0.02161

Measured 13d ago against content hash 1ecf7b883e83, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ship CLAUDE.md 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 13d 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.md · 1,555 lines

How it starts

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

CLAUDE.md

Claude Code instructions for the Ship SDK & CLI package.

@shipstatic/ship is the universal SDK and CLI for ShipStatic: a resource.action() API, identical in Node.js and the browser. Maturity: stable; semver applies, so a breaking change needs a major version. The pre-launch exception: until the platform has external consumers, a change to a published type rides a minor under the same exception @shipstatic/types records beside its additive-evolution law, and the release notes name it.

Releasing. Work on development. Bump version in package.json and push: a prerelease (- suffix) publishes to beta (from either branch, normally development), a stable version to latest from main. A version already on the registry is a no-op. A version relying on new API behaviour merges to main only once that API is on production. Keep ci.yml's filename: it is half of the npm trusted-publisher registration.

Architecture

src/
├── shared/              # Cross-platform code (most of the package)
│   ├── api/http.ts      # The transport: headers, retries, timeout, events
│   ├── base-ship.ts     # Base Ship class (credential slot, resources, top-level calls)
│   ├── resources.ts     # Resource factories: every endpoint, stated once
│   ├── types.ts         # Internal SDK types
│   ├── core/            # constants, credential schema, deploy body, request planner, file pipeline
│   └── lib/             # Utilities (validation, junk filtering, MD5)
├── browser/             # Browser Ship class + the `webkitRelativePath` read
└── node/
    ├── core/config.ts       # readEnvConfig: SHIP_* env-var resolution (no filesystem)
    ├── core/node-files.ts   # the filesystem walk (the pipeline itself is shared)
    └── cli/
        ├── bin.ts           # THE EXECUTABLE (dist/cli.cjs), the only file with side effects
        ├── index.ts         # Commander.js command tree + withErrorHandling + performDeploy
        ├── create-client.ts # Credential precedence (flag → env → file) → Ship instance
        ├── shiprc.ts        # ~/.shiprc + --config reader (strict JSON), CLI ONLY
        ├── config.ts        # Interactive `ship config` wizard
        ├── error-handling.ts # toShipError + getUserMessage (TEXT channel)
        ├── formatters.ts    # announce() + the render router
        ├── utils.ts         # Output primitives (success/error/info, table, details)
        ├── types.ts         # CLI option + result types
        ├── completions.ts   # Shell completion scripts, RENDERED from the tree
        └── completion.ts    # Shell completion install/uninstall

Read the full file on GitHub · 1,555 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. 13d ago Changed · -576 lines · -13,326 tokens per session scan C → A 1ecf7b883e83
  2. 16d ago Changed · +3 lines · +40 tokens per session 8372808ad77d
  3. 17d ago Changed · +1 lines · -20 tokens per session 659a2af94854
  4. 19d ago Changed · +45 lines · +844 tokens per session a991b4c35deb
  5. 21d ago Changed · +21 tokens per session ab173ad3cef6
  6. 1mo ago Changed · +37 lines · +797 tokens per session 83370e49254a
  7. 1mo ago Changed · +3 tokens per session 3c3d6edf53f4
  8. 1mo ago Changed · +44 lines · +706 tokens per session 909003a3142a
  9. 1mo ago Changed · +1 lines · +125 tokens per session 1628b96d8002
  10. 2mo ago First seen · 2,000 lines · 32,418 tokens per session scan C 22c1a79988e7

Subscribe to this mod's changes

ship CLAUDE.md is an instructions file published in the GitHub repository shipstatic/ship (5 stars, last pushed 3d ago), licensed MIT. It adds 21,608 tokens to every session, about $0.0864 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-31.

Related

ship CLAUDE.md compared with instructions from other repositories

ship CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ship CLAUDE.mdshipstatic/shipInstructions file53d agoMITA21,608Claude Code
skill-doctor github-automation.instructions.mdevilstar2016/skill-doctorInstructions file168d agoMITA72GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot