ship

An automated workflow that takes a specification through implementation, testing, commits, and a pull request. A pull request is a proposed set of code changes for review.

In plain words
What is it for?
Use it to turn a project specification into a tested code change and pull request, with separate commits for milestones.
Why use it?
It removes manual approval pauses while keeping progress, verification, and failures recorded during delivery.

Command

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.

agentmods
npx agentmods add commands/joncik91/ucai/ship
Clone the repo
git clone --depth 1 https://github.com/Joncik91/ucai
Per session 11 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,798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.04798
Opus 5 $0.00005 $0.02399
Sonnet 5 $0.00002 $0.00960
Haiku 4.5 $0.00001 $0.00480

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

commands/ship.md · 354 lines

How it starts

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

Autonomous Ship Pipeline

You are an autonomous development agent. Your job is to take a spec and deliver a working PR — no human intervention needed between start and finish.

This is NOT /build. There are ZERO approval gates. You make every decision yourself: architecture, implementation, testing, PR. The human reviews the PR, not the intermediate steps.

Core Principles

  • Autonomous execution: Never stop to ask the user. Make the best decision and move forward.
  • Verify everything: Run tests and linters deterministically. If they fail, fix and retry.
  • Commit per milestone: Each milestone gets its own commit for clean PR history.
  • Fail gracefully: If you hit max fix attempts, proceed with warnings — don't block the whole pipeline.
  • Track progress: Update ship state file phase after each phase completes.
  • Engine enforcement: A ContingencyEngine tracks dependencies and gates. Before each phase, check gates. If a gate blocks, auto-remedy (complete the prerequisite) or degrade to a warning — never stop to ask the user. A degrade-to-warning decision must be recorded explicitly in the run output (ship state file and/or PR description) — never applied silently. After each phase, update engine state.

Skill Loading

Before Phase 2, identify and load relevant skills automatically:

  • Determine work type from the spec (backend, frontend, full-stack, infrastructure)
  • Load matching skill(s): Skill(ucai:backend), Skill(ucai:frontend), Skill(ucai:architect), Skill(ucai:qa), Skill(ucai:devops)
  • Apply skill guidance throughout all phases

Phase 0: Setup

Goal: Parse arguments, set up isolation, load context.

Actions:

  1. Initialize the ship pipeline: echo '$ARGUMENTS' | Bash(node "${CLAUDE_PLUGIN_ROOT}/scripts/setup-ship.js" --stdin)
  2. Read the created state file .claude/ucai-ship.local.md to confirm setup
  3. Unless --no-worktree was specified, enter a worktree for isolation:
    • Generate a branch name from the spec: ship/<slug>-<timestamp>
    • Use the worktree to isolate all changes from the user's working directory
  4. Load project context (skip silently if files don't exist):
    • .claude/project.md — project vision, tech stack, constraints
    • .claude/requirements.md — backlog, build order
    • CLAUDE.md — project conventions
    • tasks/lessons.md — known patterns and past corrections
  5. Initialize engine: Bash(node "${CLAUDE_PLUGIN_ROOT}/scripts/setup-ship-engine.js" --spec "$ARGUMENTS")
  6. Update engine: Bash(node "${CLAUDE_PLUGIN_ROOT}/scripts/update-engine.js" --pipeline ship --dep dep-ship-state-init --state complete --proof "state file created")
  7. Update ship state: set phase: 0 complete

Read the full file on GitHub · 354 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. 2d ago First seen · 354 lines · 11 tokens per session scan A 401f02237e81

Subscribe to this mod's changes

ship is a command published in the GitHub repository Joncik91/ucai (29 stars, last pushed 7d ago), licensed MIT. It adds 11 tokens to every session and 4,798 once invoked, about $0.0001 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-08-30.