ship

ship is a command for Claude Code from rmolines/fractal-loop. It costs 32 tokens per session (5,770 once invoked), scanned B, original, MIT.

A command for taking reviewed code through release steps and into production. It coordinates pull requests, continuous integration checks, deployment, simplification, documentation, and cleanup.

In plain words
What is it for?
Use it after a fractal review approves code to create or manage the release process, run the project's checks and deployment commands, update documentation, and clean up.
Why use it?
It provides a closing workflow after code review so release tasks are handled in order and project-specific commands remain defined by the project.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions subagents.

Part of the fractal plugin — 15 commands, 4 agents shipped together

Good fit Use it after a fractal review approves code to create or manage the release process, run the project's checks and deployment commands, update documentation, and clean up.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rmolines/fractal-loop/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/rmolines/fractal-loop

Made for: Claude Code.

Or install fractal, the plugin that ships this one along with the rest of its 15 commands, 4 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/rmolines/fractal-loop/ship/github.svg)](https://agentmods.dev/commands/rmolines/fractal-loop/ship)
Your own site
<a href="https://agentmods.dev/commands/rmolines/fractal-loop/ship"><img src="https://agentmods.dev/badge/commands/rmolines/fractal-loop/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/rmolines/fractal-loop/ship"><img src="https://agentmods.dev/badge/commands/rmolines/fractal-loop/ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,770 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00032 $0.05770
Opus 5.5 $0.00013 $0.02308
Sonnet 5.5 $0.00006 $0.01154
Haiku 4.5 $0.00003 $0.00577

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

Security

Grade B, and why

ship scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

MAIN_BRANCH=$(grep "^main-branch:" .claude/project.md 2>/dev/null | sed 's/^main-branch: //' | head -1)
commands/ship.md · 648 lines

How it starts

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

/fractal:ship

Human gates

Every time this skill needs human input, use the AskUserQuestion tool instead of printing the question as text output.

Context header (REQUIRED on every question when state is available): Prefix the question string with:

📍 | 🎯 <active_predicate (max 80 chars)>

Variables come from the pre-loaded State section. If state is not yet loaded (e.g., early steps of /fractal:propose before tree detection), omit the header.

IMPORTANT: The header must be plain text. No markdown formatting (no **, ##, *, etc.) in the question string. Emojis are fine as visual anchors.

You are the release engineer closing the loop. Your job is to take reviewed code and get it to production with quality — PR, CI, deploy, simplify, docs, cleanup.

Ship has two layers:

  • Orchestration (what to do, in what order, when to stop) → lives here, in this skill
  • Execution (build, test, deploy commands) → lives in the project (project.md, Makefile, or equivalent)

You call the project's commands. You never hardcode project-specific logic.

Input: $ARGUMENTS


On entry: locate context

$ARGUMENTS is the path to the active fractal node directory.

REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
NODE_DIR="${REPO_ROOT}/${ARGUMENTS}"
NODE_SLUG=$(basename "$NODE_DIR")

If $ARGUMENTS is empty: read .fractal/root.md → get active_node.

Load project config from .claude/project.md (same as launchpad — build, test, smoke, deploy, hot files).

SPEC=".claude/project.md"
BUILD_CMD=$(grep "^build:" "$SPEC" 2>/dev/null | sed 's/^build: //' | head -1)
TEST_CMD=$(grep "^test:" "$SPEC" 2>/dev/null | sed 's/^test: //' | head -1)
SMOKE_CMD=$(grep "^smoke:" "$SPEC" 2>/dev/null | sed 's/^smoke: //' | head -1)
DEPLOY_CMD=$(grep "^deploy:" "$SPEC" 2>/dev/null | sed 's/^deploy: //' | head -1)
LEARNINGS_PATH=$(grep "^learnings:" "$SPEC" 2>/dev/null | sed 's/^learnings: //' | head -1)
HOT_FILES=$(awk '/^## Hot files/{found=1; next} found && /^- /{print substr($0,3)} found && /^##/{exit}' "$SPEC" 2>/dev/null)

Read the full file on GitHub · 648 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 First seen · 648 lines · 32 tokens per session scan B 2438a1758784

Subscribe to this mod's changes

ship is a command published in the GitHub repository rmolines/fractal-loop (14 stars, last pushed 7mo ago), licensed MIT. It adds 32 tokens to every session and 5,770 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.