release

A release command for publishing a version of a software project. It uses the commit history to calculate a semantic version change, where version numbers communicate the size of a change.

In plain words
What is it for?
Use it to prepare a release, preview the proposed version change, create only a Git tag, or publish release notes on GitHub.
Why use it?
It provides a reviewable release preview and handles the version tag and GitHub release as part of one workflow.

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/higoralves/orc/release
Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc
Per session 38 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,876 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.00038 $0.01876
Opus 5 $0.00019 $0.00938
Sonnet 5 $0.00008 $0.00375
Haiku 4.5 $0.00004 $0.00188

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

Security

Grade A, and why

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.

orc/commands/release.md · 165 lines

How it starts

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

/orc:release

Cut a release from the commit history: verify the tree is releasable, compute the semver bump from conventional commits since the last tag, show the evidence, gate, then tag + gh release create. Doctrine lives in orc:release-management — invoke it (announce it) before Phase 2.

Not for orc itself

Do not run this command in orc's own repository. orc releases via the dual-tag process documented in docs/contributing.md: plugin releases use orc--v* tags (manifest bump in orc/.claude-plugin/plugin.json, tag in the last PR of a release train), and CLI releases use plain v* tags that trigger the goreleaser workflow (.github/workflows/release-cli.yml) — with a guard job that rejects cross-namespace tags. A generic single-tag release here would either misfire the CLI workflow or ship a plugin nobody can install. If the current repo is orc, stop and point the user at docs/contributing.md.

Arguments

  • --dry-run — stop after the preview: compute the bump, render the evidence, write nothing, tag nothing.
  • --tag-only — skip the changelog and GitHub release; just create + push the annotated tag.

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). This command is single-repo: in workspace mode, ask which repo to release via AskUserQuestion and operate inside it. If the repo is orc itself (remote or directory name matches), stop per "Not for orc itself".

Phase 1 — Preflight: clean tree + green suite

Hard rule from orc:release-management — never release from a dirty tree or red suite.

  1. git status --porcelain — must be empty. Untracked files count as dirty.
  2. Detect and run the project's test command (package.json scripts, Makefile, go test ./..., cargo test, pytest — whatever the repo actually uses). Read the output; per orc:verification-before-completion, no green claim without evidence.
  3. Confirm the current branch is the release branch (normally the default branch). Releasing from a feature branch is almost always a mistake — surface and confirm before continuing.

Read the full file on GitHub · 165 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 · 165 lines · 38 tokens per session scan A 1ec7d5a8dfe9

Subscribe to this mod's changes

release is a command published in the GitHub repository HigorAlves/orc (6 stars, last pushed 6d ago), licensed MIT. It adds 38 tokens to every session and 1,876 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.