ox: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from sageox/ox. It costs 0 tokens per session (2,315 once invoked), scanned A, original, MIT.

A release checklist command for preparing and creating a new SageOx version. It checks the branch, working directory, code quality, integration tests, and smoke tests before release.

In plain words
What is it for?
Use it to propose or specify a version number, run required checks, and stop the release when a check fails.
Why use it?
It reduces the risk of publishing a version with untested code or a repository in the wrong state.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions .claude-plugin; mentions Claude Code.

This is sageox/ox's own configuration. It tells Claude Code how to work on ox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sageox/ox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sageox/ox/main/.claude/commands/release.md
Clone the repo
git clone --depth 1 https://github.com/sageox/ox

Made for: Claude Code.

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 release

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/sageox/ox/release"><img src="https://agentmods.dev/badge/commands/sageox/ox/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,315 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.00000 $0.02315
Opus 5.5 $0.00000 $0.00926
Sonnet 5.5 $0.00000 $0.00463
Haiku 4.5 $0.00000 $0.00231

Measured 23d ago against content hash 41efbe6e928b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 23d 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/release.md · 250 lines

How it starts

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

Prepare and create a new ox release.

Use when:

  • Ready to release a new version of ox
  • User says "release", "cut a release", "prepare release", "version bump"

Arguments: $ARGUMENTS (optional version number like "0.15.0", or empty to auto-propose)

Release Workflow

Follow these steps exactly:

Step 1: Pre-flight Checks

# Verify on main branch, clean working directory
git branch --show-current
git status

# Run the executable in-repo release gates
make lint
make test-release      # full + coverage ratchets + slow + acceptance + digital twins

If tests or lint fail, fix issues before proceeding.

Step 1b: External Harness Compatibility Evidence

make test-integration

These tests launch real Claude Code instances and exercise hooks, signals, and session pipelines end-to-end. Investigate failures, but do not represent this as an automated release gate until ox-ilrr.4 provides machine-verifiable current-binary provenance and attestation.

Step 1c: Smoke Tests (requires SAGEOX_CI_PASSWORD)

make smoke-test

This runs end-to-end tests against test.sageox.ai: auth, init, doctor, status, re-init, agent prime, session list, and clone-without-ox. If smoke tests fail, investigate before proceeding — these verify ox works in a real environment.

Step 1d: Run Walks (Human-Driven)

Coordinate in the Slack channel. A team member installs the release candidate and walks through core workflows on a real machine:

  1. Fresh setup — ox login → ox init on a new repo → ox doctor → ox status
  2. Agent prime — open Claude Code, verify ox agent prime loads team context
  3. Session recording — start a session, do some work, stop it, verify ox session list
  4. Team context — verify team knowledge appears via ox agent team-ctx
  5. Clone experience — clone the repo in a fresh directory, run ox init
  6. Doctor recovery — delete .sageox/config.json, run ox doctor, verify auto-repair
  7. Upgrade path — if upgrading, verify ox version and existing config survive

Read the full file on GitHub · 250 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. 23d ago Changed · +3 lines 41efbe6e928b
  2. 24d ago Changed · +26 lines 21736a5b3e19
  3. 1mo ago Changed · +24 lines 81d662ad5ea9
  4. 1mo ago First seen · 197 lines · 0 tokens per session scan A 2491bf1f2403

Subscribe to this mod's changes

release is a command published in the GitHub repository sageox/ox (64 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,315 tokens. 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.