cancel-ship

cancel-ship is a command for Claude Code from Joncik91/ucai. It costs 4 tokens per session (378 once invoked), scanned A, original, MIT.

A command that stops an active software delivery pipeline by removing its saved state file.

In plain words
What is it for?
Use it when a delivery pipeline should be cancelled. It also checks for leftover worktrees, pushed branches, or pull requests and warns you about them.
Why use it?
It ends the pipeline without automatically deleting related worktrees, branches, or pull requests, so you can decide what to keep.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ucai plugin — 8 skills, 10 commands, 8 agents, 8 hooks shipped together

Good fit Use it when a delivery pipeline should be cancelled. It also checks for leftover worktrees, pushed branches, or pull requests and warns you about them.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/joncik91/ucai/cancel-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/Joncik91/ucai

Made for: Claude Code.

Or install ucai, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 8 agents, 8 hooks.

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 cancel-ship

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/joncik91/ucai/cancel-ship"><img src="https://agentmods.dev/badge/commands/joncik91/ucai/cancel-ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 378 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.00004 $0.00378
Opus 5.5 $0.00002 $0.00151
Sonnet 5.5 $0.00001 $0.00076
Haiku 4.5 $0.00000 $0.00038

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

Security

Grade A, and why

cancel-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 3mo 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/cancel-ship.md · 26 lines

What it actually says

Cancel Ship

To cancel the ship pipeline:

  1. Check if .claude/ucai-ship.local.md exists using Bash: test -f .claude/ucai-ship.local.md && echo "EXISTS" || echo "NOT_FOUND"

  2. If NOT_FOUND: Say "No active ship pipeline found."

  3. If EXISTS:

    • Read .claude/ucai-ship.local.md to get the current phase, milestone, and any worktree/branch info
    • Remove the file using Bash: rm .claude/ucai-ship.local.md
    • Report: "Cancelled ship pipeline (was at Phase N: PhaseName, milestone: M)"
  4. Cleanup warnings (check each, report what applies):

    • Run git worktree list — if a ship worktree exists, warn: "Ship worktree still exists at [path]. Run git worktree remove [path] to clean up, or inspect it first."
    • If the state file mentioned a branch that was pushed, warn: "Remote branch [name] may still exist. Run git push origin --delete [name] if you want to remove it."
    • If a PR was created, warn: "A PR may have been created. Check your GitHub repo and close it if no longer needed."
  5. Do NOT auto-delete worktrees, branches, or PRs — the user decides what to keep.

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. 3mo ago First seen · 26 lines · 4 tokens per session scan A 0cb2e9a10147

Subscribe to this mod's changes

cancel-ship is a command published in the GitHub repository Joncik91/ucai (28 stars, last pushed 3mo ago), licensed MIT. It adds 4 tokens to every session and 378 once invoked, about $0.0000 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-30.

Related

cancel-ship compared with commands from other repositories

cancel-ship next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cancel-shipJoncik91/ucaiCommand283mo agoMITA4Claude Code
ia-document-releaseiliaal/whetstoneCommand37yesterdayMITA51Claude Code
ia-changelogiliaal/whetstoneCommand37yesterdayMITA11Claude Code
releaseiliaal/whetstoneCommand37yesterdayMITA20Claude Code
version-bumpNikiforovAll/claude-code-rulesCommand1441mo agoApache-2.0A11Claude Code
shipPrabhdeepSingh/claude-pluginsCommand424d agoMITA80Claude Code
release-notessigistry/marketplaceCommand37d agoMITA20Claude Code