erupt: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from erupts/erupt. It costs 41 tokens per session (1,125 once invoked), scanned A, original, Apache-2.0.

A release workflow for publishing a new version of the erupt software project across its related repositories. A release is the process of preparing, publishing, and tagging a software version.

In plain words
What is it for?
It helps build the frontend, update version numbers, publish to Maven Central and Docker Hub, merge branches, create tags, and sync GitHub and gitee repositories.
Why use it?
It reduces mistakes in a multi-repository release by defining ordered checks and publishing steps.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

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

About the project

ERUPT is an annotation-driven Java framework that turns a Java entity class into an administration page and related backend functionality. Developers use it to build admin interfaces with features such as permissions, auditing, data import and export, APIs, and AI integrations, and the catalogue entry provides an instruction for working with the framework.

erupts/erupt · 3,986 stars · on GitHub · erupt.xyz

Reuse

Borrowing it

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

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/erupts/erupt/release/github.svg)](https://agentmods.dev/commands/erupts/erupt/release)
Your own site
<a href="https://agentmods.dev/commands/erupts/erupt/release"><img src="https://agentmods.dev/badge/commands/erupts/erupt/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/erupts/erupt/release"><img src="https://agentmods.dev/badge/commands/erupts/erupt/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 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,125 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.00041 $0.01125
Opus 5.5 $0.00016 $0.00450
Sonnet 5.5 $0.00008 $0.00225
Haiku 4.5 $0.00004 $0.00112

Measured 3d ago against content hash 388b8fe3f5cd, 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 3d 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 · 98 lines

How it starts

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

erupt release SOP

Release version: $ARGUMENTS (call it VER below).

If no version was given above, read it from <version> in erupt/pom.xml and ask the user to confirm.

Publishing to Maven Central is done by the user, not by this command.

Repos are siblings under ~/Code:

Repo Branches What happens
erupt develop → master merge, tag VER with the changelog
erupt-web develop → master merge, tag VER with the changelog
erupt-cube main tag VER
erupt-flow main tag VER
erupt-tenant master tag VER

Step 1 — merge and tag

1.1 Preflight (read-only, stop on any red check)

  • gh auth status succeeds.
  • Every repo above has a clean working tree, is on the branch in the table and is level with its remote after git fetch. Untracked .flattened-pom.xml files do not count.
  • Tag VER exists neither locally nor on origin (git ls-remote --tags origin VER) in any repo.
  • erupt-cube, erupt-flow and erupt-tenant already depend on erupt VER in their pom.xml, and each has commits since its previous tag (git log --oneline $(git describe --tags --abbrev=0)..HEAD).
  • ~/Code/erupt-docs/en/guide/changelog.md has a ## VER ( section. Read the local file as it is; do not pull or edit erupt-docs. If the section is missing, stop and ask the user.

1.2 Extract the changelog

Take the section from ## VER ( up to the next ## <digit> heading, turn the docs-relative links into absolute ones, and put the version line on top:

DOCS=~/Code/erupt-docs/en/guide/changelog.md
NOTES=<scratchpad>/release-notes-$VER.md
awk -v v="$VER" 'index($0, "## " v " (") == 1 {f = 1; print "erupt " substr($0, 4); next}
                 f && /^## [0-9]/ {exit} f' "$DOCS" \
  | sed -E 's#<Badge [^>]*text="([^"]*)"[^>]*/>#(\1)#; s#\]\(/(en|zh)/#](https://docs.erupt.xyz/\1/#g' > "$NOTES"

Show the user the first lines of $NOTES and its line count.

1.3 Merge develop → master (erupt, erupt-web)

Read the full file on GitHub · 98 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. 3d ago Changed · +15 lines · +1 tokens per session 388b8fe3f5cd
  2. 1mo ago First seen · 83 lines · 40 tokens per session scan A 662e1761b993

Subscribe to this mod's changes

release is a command published in the GitHub repository erupts/erupt (3,986 stars, last pushed yesterday), licensed Apache-2.0. It adds 41 tokens to every session and 1,125 once invoked, about $0.0002 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-09-14.

Related

release compared with commands from other repositories

release next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
releaseerupts/eruptCommand4.0kyesterdayApache-2.0A41Claude Code
landgmickel/flow-nextCommand717yesterdayMITA13Claude Code
qualityDesko77/claude-code-skills-1cCommand90yesterdayMITA18Claude Code
release-notesOpenHands/extensionsCommand176yesterdayMITA44Claude Code
release-managerruvnet/agentic-flowCommand838todaynoneA0Claude Code
create-prdsswift/ionCommand5yesterdayMITA28Claude Code
rally-merge-prddgonzal3/rallyCommand63d agoMITA0Claude Code