release-check

release-check is a command for Claude Code from ChanMeng666/archlang. It costs 12 tokens per session (2,641 once invoked), scanned A, original, MIT.

A checklist for checking a software release before publishing a version tag. A version tag is a Git marker that identifies a release, and semantic versioning uses version numbers to describe the size of changes.

In plain words
What is it for?
Reviewing whether a package is ready for release and whether its proposed version correctly reflects the changes since the previous release.
Why use it?
It prevents publishing a version that already exists or does not match the changes made. It also checks the actual registry, Git tags, hosted releases, and changelog instead of trusting possibly outdated planning files.

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/chanmeng666/archlang/release-check
Clone the repo
git clone --depth 1 https://github.com/ChanMeng666/archlang

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-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/chanmeng666/archlang/release-check.svg)](https://agentmods.dev/commands/chanmeng666/archlang/release-check)
Your own site
<a href="https://agentmods.dev/commands/chanmeng666/archlang/release-check"><img src="https://agentmods.dev/badge/commands/chanmeng666/archlang/release-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 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,641 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00012 $0.02641
Opus 5 $0.00006 $0.01321
Sonnet 5 $0.00002 $0.00528
Haiku 4.5 $0.00001 $0.00264

Measured 3d ago against content hash 2189719207ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

release-check 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-check.md · 147 lines

How it starts

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

Release check

Walk this checklist before pushing a v* tag. Report each item as pass/fail with the evidence you observed. Do NOT push anything — this command only verifies.

Checklist

  1. Establish the TRUE latest release before anything else — MANDATORY FIRST STEP. Never take the current version from AGENTS.md, a plan doc, or the prompt. Probe all four:

    npm view @chanmeng666/archlang version      # what is actually on the registry
    git tag --sort=-v:refname | head            # what is actually tagged
    gh release list --limit 3                   # what actually has a Release
    grep -m3 '^## ' CHANGELOG.md                # the top heading(s)
    

    Then require both:

    • the target version is strictly greater than every one of those (an npm version is immutable — a target that already exists cannot be published, only skipped); and
    • its semver class matches what actually changed — read git log <lasttag>..main and git diff --stat <lasttag>..main, not the plan's number. New grammar/keyword, new E_*/W_* code, new public field ⇒ MINOR at least.

    If AGENTS.md disagrees with the probe, AGENTS.md is wrong — fix it (item 5) and carry on. (2026-07-25: AGENTS.md sat stale at v1.17.0 while v1.18.0 was already published, so an approved plan targeted 1.18.0; the batch actually shipped as 1.19.0.)

  2. Versions consistent where they must be.

    • Root package.json version matches the latest entry heading in CHANGELOG.md.
    • Ask whether the shim changed — don't assume: git diff <lasttag>..main -- packages/mcp. ANY mcp-visible change forces the double version bump, including prose: a tool description, the README (it is the npm package page), or a server.json field like websiteUrl. The bump must land in both packages/mcp/package.json and packages/mcp/server.json (both of its version fields) — release.yml npm view-skips a version already on the registry, so an unbumped edit silently never reaches npm or the MCP registry.
    • The shim's core dependency range (^1.x) still satisfies the new core version. (The shim need NOT bump when only the core changes, the diff above is empty, and its dep range already covers the new version — e.g. core 1.15.0 with the shim at 0.2.0 depending on ^1.14.0.)

Read the full file on GitHub · 147 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 First seen · 147 lines · 12 tokens per session scan A 2189719207ef

Subscribe to this mod's changes

release-check is a command published in the GitHub repository ChanMeng666/archlang (8 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 2,641 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-31.