ship

ship is a command for Claude Code from HigorAlves/orc. It costs 47 tokens per session (1,194 once invoked), scanned A, original, MIT.

A command for finishing a code branch and opening a pull request, the request for others to review and merge changes.

In plain words
What is it for?
Verifying tests, choosing commit and branch actions, opening a normal or draft pull request, targeting another base branch, and linking a Jira ticket when configured.
Why use it?
It brings testing, commit, branch, pull-request, and optional change-size checks into one final workflow.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the orc plugin — 88 skills, 30 commands, 14 agents, 6 hooks shipped together

Good fit Verifying tests, choosing commit and branch actions, opening a normal or draft pull request, targeting another base branch, and linking a Jira ticket when configured.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/higoralves/orc/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/HigorAlves/orc

Made for: Claude Code.

Or install orc, the plugin that ships this one along with the rest of its 88 skills, 30 commands, 14 agents, 6 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 ship

README.md
[![agentmods](https://agentmods.dev/badge/commands/higoralves/orc/ship/github.svg)](https://agentmods.dev/commands/higoralves/orc/ship)
Your own site
<a href="https://agentmods.dev/commands/higoralves/orc/ship"><img src="https://agentmods.dev/badge/commands/higoralves/orc/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/higoralves/orc/ship"><img src="https://agentmods.dev/badge/commands/higoralves/orc/ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 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,194 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.00047 $0.01194
Opus 5.5 $0.00019 $0.00478
Sonnet 5.5 $0.00009 $0.00239
Haiku 4.5 $0.00005 $0.00119

Measured 5d ago against content hash 1fdfe489c7c7, 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 5d 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.

orc/commands/ship.md · 96 lines

How it starts

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

/orc:ship

Integrate finished work: verify, compose the PR, gate once, size-check, push and open it.

Arguments

  • --auto[=guided|full] — autopilot level for this run; overrides interaction_policy. Ladder and hard-outward exemption: orc:gates §6.
  • --draft — open the PR as a draft.
  • --base <branch> — target a non-default base, such as develop or release/v2.
  • --verbose — compose the body with the long-form template (orc:ship/P3). Default is terse via orc:caveman-pr.
  • --caveman — accepted as a deprecated no-op alias of the default.
  • --max-loc <N> — override the per-PR LOC budget P4.5 enforces (default 300; orc:pr-size-budget).
  • --no-size-gate — skip P4.5 entirely, for emergency hot-fixes where review-cycle time dominates. Records nothing in the PR body.
  • --repos a,b | --repo a | --all-repos | --this-repo — workspace target selection (orc:workspace-mode).

NOTE: budget sources, in order: --max-loc, $ORC_PR_LOC_BUDGET, <repo_root>/.orc/pr-budget.json#budget, then 300.

Preconditions

🛑 Outward write

P5 pushes and opens PRs; P4.5 can open a stack. The P4 gate precedes them. At --auto=full with prMode settled, P4 opens without asking.

⚠️ Caution

P1 stops the run on a failing test, lint or type-check, uncommitted changes, or a protected branch.

  • In workspace mode, no silent broadcast: confirm the repo set before opening multiple PRs.

Phases

Modules live in orc:phases (references/ship/). Entering a phase, Read exactly its module.

Phase Module Skipped when
0 Detect context resident, below never
1 Pre-ship verification orc:ship/P1 never
2 Self-request a review orc:ship/P2 never
3 Compose the PR orc:ship/P3 never
4 Branch completion + PR preview orc:ship/P4 never
4.5 Size gate orc:ship/P4.5 --no-size-gate; P4 outcome is not "open PR"
5 Push + create PR orc:ship/P5 P4 outcome is not "open PR"; the repo stacked in P4.5
6 Cleanup hint orc:ship/P6 never

Read the full file on GitHub · 96 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. 5d ago Changed · -107 lines 1fdfe489c7c7
  2. 18d ago Changed · +5 lines e34d62baa1d7
  3. 20d ago Changed f2456a991e33
  4. 1mo ago First seen · 198 lines · 47 tokens per session scan A c4ae08557ac9

Subscribe to this mod's changes

ship is a command published in the GitHub repository HigorAlves/orc (7 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 1,194 once invoked, about $0.0002 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.