ship

ship is a command for coding agents from HigorAlves/orc. It costs 47 tokens per session (2,954 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

Part of the orc plugin — 13 skills, 30 commands, 14 agents, 5 hooks shipped together

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/higoralves/orc/ship
Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc

Or install orc, the plugin that ships this one along with the rest of its 13 skills, 30 commands, 14 agents, 5 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.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.svg" alt="Measured on agentmods" 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 2,954 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.00047 $0.02954
Opus 5 $0.00023 $0.01477
Sonnet 5 $0.00009 $0.00591
Haiku 4.5 $0.00005 $0.00295

Measured 3d ago against content hash c4ae08557ac9, 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 3d 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 · 198 lines

How it starts

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

/orc:ship

You're done implementing. Time to integrate. This command runs the structured branch-completion flow.

Arguments

  • --auto[=guided|full] — autopilot level for this run (overrides interaction_policy; taxonomy in orc:using-orc). Soft-inward gates consult the resolved policy — guided auto-advances mechanical confirms with a printed one-liner; full pre-approves them from settled decisions (orc:state-protocol), stopping only on escalation-only conditions. Hard-outward gates are unaffected at every level.

  • --draft — open the PR as a draft.

  • --base <branch> — target a non-default base (e.g. develop, release/v2).

  • --verbose — compose the PR body with the long-form template documented in Phase 4. Default is terse, signal-only composition via orc:caveman-pr. (--caveman is accepted as a deprecated no-op alias of the default.)

  • --max-loc <N> — override the per-PR LOC budget enforced by Phase 4.5 (default: 300, configurable via $ORC_PR_LOC_BUDGET or <repo_root>/.orc/pr-budget.json#budget). See orc:pr-size-budget.

  • --no-size-gate — bypass Phase 4.5 entirely. Use for emergency hot-fixes where review-cycle time dominates. Records nothing in the PR body.

Workflow

Phase 0 — Detect context

!orc-workspace-detect --banner

Context is injected above (ORC_* vars are exported for any Bash you run — do not re-run detection).

In workspace mode, resolve targetRepos from flags or via AskUserQuestion. Default in workspace mode is to ship every repo in the active workspace session's repos array (orc-state get --field repos — read-for-data per orc:state-protocol). Iron rule: no silent broadcast — confirm before opening multiple PRs.

Phase 1 — Pre-ship verification

Invoke orc:verification-before-completion. Confirm:

  • Tests pass.
  • Lint / type-check pass (if configured).
  • No staged-but-uncommitted changes (git status --porcelain).
  • Current branch is NOT a protected branch.

If any check fails, stop and show the failure. Do not proceed.

Read the full file on GitHub · 198 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. 3d 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 (6 stars, last pushed 7d ago), licensed MIT. It adds 47 tokens to every session and 2,954 once invoked, about $0.0002 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-31.