altimate-code: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from AltimateAI/altimate-code. It costs 37 tokens per session (5,490 once invoked), scanned A, original, MIT.

A command for preparing and publishing a new version of altimate-code. It follows the project’s release instructions, checks the code, creates release notes, tags the version, and monitors continuous-integration checks.

In plain words
What is it for?
Use it for patch, minor, major, or explicitly numbered releases, after reviewing the release guide and confirming the intended version.
Why use it?
It gathers release checks and publishing steps into one guided process, reducing the chance of tagging a version before known problems are fixed.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions OpenCode.

This is AltimateAI/altimate-code's own configuration. It tells Claude Code how to work on altimate-code 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 altimate-code configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bun script/release-preflight.ts --version {NEXT_VERSION} --stage pre.

Reuse

Borrowing it

Nothing to install: this file belongs to AltimateAI/altimate-code. 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/AltimateAI/altimate-code/main/.claude/commands/release.md
Clone the repo
git clone --depth 1 https://github.com/AltimateAI/altimate-code

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/altimateai/altimate-code/release/github.svg)](https://agentmods.dev/commands/altimateai/altimate-code/release)
Your own site
<a href="https://agentmods.dev/commands/altimateai/altimate-code/release"><img src="https://agentmods.dev/badge/commands/altimateai/altimate-code/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/altimateai/altimate-code/release"><img src="https://agentmods.dev/badge/commands/altimateai/altimate-code/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,490 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.00037 $0.05490
Opus 5.5 $0.00015 $0.02196
Sonnet 5.5 $0.00007 $0.01098
Haiku 4.5 $0.00004 $0.00549

Measured 1mo ago against content hash 3d2dc29a9d8d, 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 1mo 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 · 443 lines

How it starts

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

Release altimate-code

Automate the complete release process. The core principle: find and fix everything before tagging. No follow-up PRs.

Input

$ARGUMENTS = version bump type: patch (default), minor, or major. Can also be an explicit version like 0.6.0.


Step 0: Read the Release Guide

Read the official release documentation and current changelog style:

cat docs/RELEASING.md
head -80 CHANGELOG.md

Cross-check RELEASING.md against this skill. If it has new steps or prerequisites, warn the user and adapt.

Step 1: Determine Version

npm info @altimateai/altimate-code version
  • patch or empty: bump patch (e.g., 0.5.17 → 0.5.18)
  • minor: bump minor (e.g., 0.5.17 → 0.6.0)
  • major: bump major (e.g., 0.5.17 → 1.0.0)
  • Explicit version (matches \d+\.\d+\.\d+): use directly

Confirm with user: "Releasing v{NEXT_VERSION} (current: v{CURRENT_VERSION}). Proceed?"

Step 2: Deterministic Preflight

Run the preflight script — it is the gate, not a suggestion:

bun script/release-preflight.ts --version {NEXT_VERSION} --stage pre

It verifies, fail-closed:

  • clean worktree (untracked files are only a warning — they must NOT be staged later)
  • HEAD equals freshly fetched origin/main — this is the invariant, not "on branch main". Releasing from a worktree or a branch whose HEAD equals origin/main is fine; push via HEAD:main. If HEAD diverges, STOP.
  • no local or remote tag v{NEXT_VERSION} already exists (stale fork-inherited tags nearly shipped a wrong artifact in v0.9.1)
  • version is valid SemVer, greater than npm latest, not already published
  • every prerelease tag on the target line (v{X.Y}.*-*) is an ancestor of origin/main
  • no open PRs labeled release-blocker
  • which previous tag the auto-generated release notes will compare against (sanity-check it: for v0.9.1 the old logic would have diffed against a stray divergent tag and omitted a 165-commit merge)
  • marker guard clean

Read the full file on GitHub · 443 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. 1mo ago First seen · 443 lines · 37 tokens per session scan A 3d2dc29a9d8d

Subscribe to this mod's changes

release is a command published in the GitHub repository AltimateAI/altimate-code (813 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 5,490 once invoked, about $0.0001 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-30.