altimate-code: Command for Claude Code

.claude/commands/release-beta.md

release-beta is a command for Claude Code from AltimateAI/altimate-code. It costs 65 tokens per session (2,982 once invoked), scanned C, original, MIT.

A release command that publishes a prerelease version of altimate-code to npm’s beta channel, where only users who opted into beta receive it.

In plain words
What is it for?
Use it to publish a version such as vX.Y.Z-beta.N, let beta installations receive updates, and later promote the tested change to the stable channel.
Why use it?
It lets a risky change be tested by beta users while the stable latest version remains unchanged for existing users.

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 X.Y.Z-beta.N --stage tag --allow-prerelease.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/altimateai/altimate-code/release-beta"><img src="https://agentmods.dev/badge/commands/altimateai/altimate-code/release-beta.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 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,982 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00065 $0.02982
Opus 5.5 $0.00026 $0.01193
Sonnet 5.5 $0.00013 $0.00596
Haiku 4.5 $0.00006 $0.00298

Measured 1mo ago against content hash 8d36c4aeaa26, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

release-beta scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules && bun install --frozen-lockfile
.claude/commands/release-beta.md · 227 lines

How it starts

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

Release altimate-code BETA

Cut a prerelease to the beta npm dist-tag. The whole point: existing stable (latest) users are never touched. Only people who opted into the beta channel (npm i -g @altimateai/altimate-code@beta, or a beta install) receive it. Use this to dogfood a risky release before promoting it to latest with /release.

Why this is a separate skill (read once)

  • /release tags a plain vX.Y.Z → the workflow publishes to latest → every existing user auto-upgrades on next launch. For a big/risky change that is exactly the "brick everyone if there's a bug" risk.
  • A beta tag has a - suffix (vX.Y.Z-beta.N). .github/workflows/release.yml derives OPENCODE_CHANNEL from the tag: a - → the beta channel → npm publish --tag beta. The latest dist-tag is left pointing at the old stable, so latest users do not move.
  • The upgrade check (cli/upgrade.ts) is fail-safe and orders prerelease identifiers, so a beta tester on beta.1 auto-upgrades to beta.2, and any beta upgrades to the eventual stable. This is verified by the round-trip below.

Input

$ARGUMENTS = the target STABLE version this beta leads to (patch | minor | major, or an explicit X.Y.Z). Default minor — a big upstream merge is not a patch. The beta tag becomes vX.Y.Z-beta.N.


Step 1 — Determine the beta version

# current published STABLE (the latest dist-tag)
npm view @altimateai/altimate-code dist-tags --json
  • Base stable X.Y.Z from $ARGUMENTS:
    • patch/empty → not typical for a beta; prefer minor.
    • minor → bump minor of the current stable (0.8.10 → 0.9.0).
    • major → 0.8.10 → 1.0.0.
    • explicit X.Y.Z → use it.
  • Find the next -beta.N: look at the current beta dist-tag. If it is already X.Y.Z-beta.M, next is beta.(M+1); otherwise start at beta.1.
# does a beta for this base already exist?
npm view @altimateai/altimate-code@beta version 2>/dev/null || echo "no beta yet"

Read the full file on GitHub · 227 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 Changed · +35 lines 8d36c4aeaa26
  2. 1mo ago First seen · 192 lines · 65 tokens per session scan C a9f45bdaa4ba

Subscribe to this mod's changes

release-beta is a command published in the GitHub repository AltimateAI/altimate-code (813 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 2,982 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.