Borrowing it
Nothing to install: this file belongs to jianzhichun/emerge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jianzhichun/emerge/main/.claude/commands/release.mdgit clone --depth 1 https://github.com/jianzhichun/emergeWrote 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.
[](https://agentmods.dev/commands/jianzhichun/emerge/release)<a href="https://agentmods.dev/commands/jianzhichun/emerge/release"><img src="https://agentmods.dev/badge/commands/jianzhichun/emerge/release.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.00888 |
| Opus 5 | $0.00005 | $0.00444 |
| Sonnet 5 | $0.00002 | $0.00178 |
| Haiku 4.5 | $0.00001 | $0.00089 |
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 6d 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.
What it actually says
Release a new version of Emerge.
The user invokes /emerge:release <version> (e.g. /emerge:release 0.2.6).
If no version is given, default to a patch bump: read the current version from .claude-plugin/plugin.json, increment the patch number by 1, and proceed without asking.
Documentation policy:
docs/doc-consistency-checklist.mdis the canonical pre-release doc gate./emerge:releaseMUST run and satisfy that checklist before tagging/pushing.
Steps:
-
Determine version: if provided, validate it matches
MAJOR.MINOR.PATCH(no leadingv). If not provided, read the current version with:python3 -c "import json; print(json.load(open('.claude-plugin/plugin.json'))['version'])"then auto-compute
MAJOR.MINOR.(PATCH+1). -
Commit any uncommitted changes before bumping:
- Run
git statusto check for dirty state. - If there are uncommitted changes, stage all tracked files and commit:
git add -u git commit -m "chore: pre-release cleanup" - Note:
git add -ustages tracked-file changes only. Untracked files are left untouched unless explicitly added. - Skip if working tree is already clean.
- Run
-
Build cockpit frontend (hard gate, fail release if build fails):
cd scripts/admin/cockpit npm ci npm run build cd ../../.. test -f scripts/admin/cockpit/dist/index.htmlThe release is invalid without
scripts/admin/cockpit/dist/index.html. -
Bump all version files using the version-bump script:
bash scripts/bump-version.sh {NEW}This updates
.claude-plugin/plugin.json,.claude-plugin/marketplace.json(both version fields) atomically. -
Run documentation consistency gate using
docs/doc-consistency-checklist.md:- Run the automated checker first (hard gate):
python3 scripts/check_doc_consistency.py - Verify architecture/data-flow docs are current (
README.mdcanonical diagrams,CLAUDE.mdinvariants aligned). - Verify command/skill docs are current (
commands/*.md,skills/*/SKILL.md) and do not describe deprecated connector stub loading behavior. - Verify MCP surface docs match
scripts/emerge_daemon.py. - Verify hook semantics docs match
hooks/*.py+hooks/hooks.json. - Verify test baseline numbers in
README.md(badge + quick verification baseline) are current. - Run a targeted stale-token scan and fix any hits that are genuinely stale:
(Keep legitimate historical/compatibility mentions; only fix stale/incorrect claims.)rg "377|2025-03-26|_write_connector_rules|InstructionsLoaded" README.md CLAUDE.md commands skills
- Run the automated checker first (hard gate):
-
Update README.md — replace the version badge:
with:
 -
Commit the version bump and built cockpit assets:
git add .claude-plugin/plugin.json .claude-plugin/marketplace.json README.md scripts/admin/cockpit/dist git commit -m "chore: bump version to {NEW}" -
Tag the release:
git tag v{NEW} -
Push (branch + tag):
git push origin main git push origin v{NEW} -
Report success: confirm the push succeeded and show the new version. Remind the user that Claude Code will detect the update via marketplace refresh.
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.
- 6d ago First seen · 92 lines · 11 tokens per session scan A 48f2190f1a22
release is a command published in the GitHub repository jianzhichun/emerge (107 stars, last pushed 4mo ago), licensed MIT. It adds 11 tokens to every session and 888 once invoked, about $0.0001 per session on Opus 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.
Other commands, from other repositories
land
Cadence-tick autonomous PR babysitter (CI-fix, resolve, converge, merge, close, release).
release-notes
Generate consistent, well-structured release notes from git history. Triggered on release tags following semver patterns (v..) to produce categorized changelog with breaking changes, features, fixes, and contributor attribution.
ship
Ship is the operational release-prep flow for a connected project repo.
release-plan
Command "release-plan" from alisunstar/OpenSunstar, covering /rd:release-plan — 发布计划, 先读, 执行, 产物 and 人工确认.
release
Standalone SDK release command for the BUILD repo. Not a workspace phase — runs independently after any number of implement/redteam cycles. Handles PyPI publishing, documentation deployment, and CI management for the kailash Python SDK and its framework packages.
create-pr
Push the current branch and open a pull request into main with a structured description derived from the branch's commits and issue references.