release-beta

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

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/altimateai/altimate-code/release-beta
Clone the repo
git clone --depth 1 https://github.com/AltimateAI/altimate-code

Made for: Claude Code.

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,370 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00065 $0.02370
Opus 5 $0.00032 $0.01185
Sonnet 5 $0.00013 $0.00474
Haiku 4.5 $0.00006 $0.00237

Measured 2d ago against content hash a9f45bdaa4ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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 · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 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 latestevery 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 · 192 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 · 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 (803 stars, last pushed 2d ago), licensed MIT. It adds 65 tokens to every session and 2,370 once invoked, about $0.0003 per session on Opus 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.