release

An npm release checklist for the claudex project. It examines Git history and the current version, then guides version selection and publishing.

In plain words
What is it for?
Reviewing commits since the last release, choosing a patch, minor, or major version, getting approval, and carrying out an npm release.
Why use it?
It reduces the risk of choosing the wrong version number or releasing changes without review. It also makes the release steps repeatable.

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/mgonzalezbaile/claudex/release
Clone the repo
git clone --depth 1 https://github.com/mgonzalezbaile/claudex

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 644 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.00000 $0.00644
Opus 5 $0.00000 $0.00322
Sonnet 5 $0.00000 $0.00129
Haiku 4.5 $0.00000 $0.00064

Measured 3d ago against content hash 3814edee018b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 · 83 lines

How it starts

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

Release Command

You are performing an npm release for claudex. Follow this process step by step.

Step 1: Analyze Current State

Run these commands to understand the current release state:

# Get the latest release tag
git describe --tags --abbrev=0 2>/dev/null || echo "No tags found"

# Get current version in npm/version.txt
cat npm/version.txt

# Show commits since last release (if tags exist)
git log $(git describe --tags --abbrev=0 2>/dev/null)..HEAD --oneline 2>/dev/null || git log --oneline -20

Step 2: Determine Version Bump

Based on the commits since the last release, determine the appropriate version bump:

  • PATCH (0.0.X): Bug fixes, documentation, minor improvements
  • MINOR (0.X.0): New features, backward-compatible changes
  • MAJOR (X.0.0): Breaking changes, major rewrites

Look for commit prefixes:

  • fix: → patch
  • feat: → minor
  • BREAKING CHANGE or !: → major

Step 3: Ask User for Confirmation

Before proceeding, ask the user:

  1. Show them the commits that will be included
  2. Suggest the version bump type (patch/minor/major)
  3. Show the proposed new version number
  4. Get explicit approval to proceed

Step 4: Execute Release

Once approved:

# 1. Update version.txt with new version
echo "NEW_VERSION" > npm/version.txt

# 2. Commit the version bump
git add npm/version.txt
git commit -m "chore: release vNEW_VERSION"

# 3. Push the commit
git push origin main

# 4. Create and push the tag (this triggers GitHub Actions)
git tag vNEW_VERSION
git push origin vNEW_VERSION

Step 5: Monitor Release

After pushing the tag:

  1. Provide the GitHub Actions URL: https://github.com/mgonzalezbaile/claudex/actions
  2. Tell the user to monitor the workflow
  3. Once complete, verify with: npm view @claudex/cli

Important Notes

  • The GitHub Actions workflow builds binaries for all platforms and publishes to npm
  • All 5 packages are published: @claudex/cli, @claudex/darwin-arm64, @claudex/darwin-x64, @claudex/linux-x64, @claudex/linux-arm64
  • If a release fails, you may need to bump the version again (can't republish same version)
  • Always ensure the main branch is clean before releasing

Read the full file on GitHub · 83 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 · 83 lines · 0 tokens per session scan A 3814edee018b

Subscribe to this mod's changes

release is a command published in the GitHub repository mgonzalezbaile/claudex (23 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 644 tokens. 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.