SHIP_RELEASE

Julkaisukomento, joka vie aktiivisen ohjelmistoversion julkaisuun. Julkaisuversio tarkoittaa valmista versiota, joka yhdistetään päähaaraan, merkitään versionumerolla ja julkaistaan käyttäjille.

In plain words
What is it for?
Sitä käytetään release/X.Y.Z-haaran version julkaisemiseen sen jälkeen, kun julkaisua edeltävä tarkistus on hyväksytty.
Why use it?
Se kokoaa julkaisun valmistelun, yhdistämisen, asennusohjelman rakentamisen ja GitHub-julkaisun yhdeksi ohjatuksi työvaiheeksi.

Command for Claude Code

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/osiris-devworks/smart-citizen/ship_release
Clone the repo
git clone --depth 1 https://github.com/Osiris-DevWorks/smart-citizen

Made for: Claude Code.

Per session 34 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,813 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.00034 $0.01813
Opus 5 $0.00017 $0.00907
Sonnet 5 $0.00007 $0.00363
Haiku 4.5 $0.00003 $0.00181

Measured 2d ago against content hash c6dd4fb65ab4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

SHIP_RELEASE 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.

.claude/commands/SHIP_RELEASE.md · 133 lines

How it starts

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

/ship_release

Walk the release-ship sequence with checkpoints between each step. Several steps are destructive (merge to main, tag, push) or have external side effects (publish GitHub release) — confirm before each.

Run after /pre_release returns a clean verdict. This command performs the merge-to-main handoff, builds the installer, publishes the GitHub release, and offers to open the next integration branch.

Work through every step in order. After each step, stop at the CHECKPOINT and wait for the user before continuing.

Preflight

This command ships whichever release/X.Y.Z branch the user is currently on — the branch is the input. If multiple release branches exist, the user is responsible for being on the right one before invoking. Don't try to disambiguate.

Stop on the first failure.

  • On a release branch: git branch --show-current must match release/X\.Y\.Z. Extract X.Y.Z for use below — this is the version we're shipping. Abort otherwise: "Switch to the release branch you want to ship before running /ship_release."
  • Surface other open release branches (advisory): list any other release/* branches that exist locally or on origin. If found, print: "Other release branches exist: . Shipping release/X.Y.Z based on current branch — confirm this is the one you mean." Wait for explicit confirmation before continuing the preflight.
  • Clean working tree: git status --porcelain must be empty. Abort and list offending files otherwise.
  • VERSION.TXT matches branch: read VERSION.TXT, strip whitespace, confirm it equals X.Y.Z. Abort with the mismatch otherwise.
  • Up to date with origin (best-effort): git fetch origin release/X.Y.Z; if git rev-list --count release/X.Y.Z..origin/release/X.Y.Z > 0, abort: "Local release branch is behind origin. Pull before shipping." Skip silently if fetch fails (offline).
  • Pre-release was run recently (advisory only): grep recent shell history or commit log for /pre_release; if no signal, remind the user: "Heads-up: /pre_release doesn't appear to have run on this branch in the recent session. The ship sequence assumes it passed. Continue?" Don't block.

Read the full file on GitHub · 133 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 · 133 lines · 34 tokens per session scan A c6dd4fb65ab4

Subscribe to this mod's changes

SHIP_RELEASE is a command published in the GitHub repository Osiris-DevWorks/smart-citizen (99 stars, last pushed 4d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,813 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-30.