release

release is a command for Claude Code from FlorianBruniaux/ctxharness. It costs 0 tokens per session (363 once invoked), scanned A, original, MIT.

A release command for a multi-package JavaScript project that increases the version number, updates the changelog, builds and tests the code, then creates a Git tag and publishes the packages. A version number such as 1.2.3 communicates the scale of the change.

In plain words
What is it for?
Use it for patch, minor, or major releases, including changelog updates, Git commits and tags, package publishing, and pre-release checks.
Why use it?
It turns the many manual steps of preparing a software release into one defined sequence and checks that package versions and tests agree.

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

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/florianbruniaux/ctxharness/release.svg)](https://agentmods.dev/commands/florianbruniaux/ctxharness/release)
Your own site
<a href="https://agentmods.dev/commands/florianbruniaux/ctxharness/release"><img src="https://agentmods.dev/badge/commands/florianbruniaux/ctxharness/release.svg" alt="Measured on agentmods" height="20"></a>
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 363 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.00363
Opus 5 $0.00000 $0.00181
Sonnet 5 $0.00000 $0.00073
Haiku 4.5 $0.00000 $0.00036

Measured 4d ago against content hash ce221d0f61c9, 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 4d 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 · 36 lines

What it actually says

Release ctxharness

Bump version, update CHANGELOG, build, test, tag, publish.

Steps

  1. Determine bump type from argument: patch | minor | major
  2. Read current version from packages/core/package.json
  3. Compute new version (semver bump)
  4. Update version in:
    • packages/core/package.json
    • packages/cli/package.json
    • package.json (root, if it has version)
  5. Update CHANGELOG.md: rename [Unreleased] to [vX.Y.Z] - YYYY-MM-DD, add new empty [Unreleased] section
  6. Build: pnpm build
  7. Test: pnpm test
  8. Commit: git commit -am "release: vX.Y.Z"
  9. Tag: git tag vX.Y.Z
  10. Push: git push && git push --tags
  11. Publish: pnpm -r publish --no-git-checks #confirmed

Usage

/release patch    # 0.1.0 → 0.1.1
/release minor    # 0.1.0 → 0.2.0
/release major    # 0.1.0 → 1.0.0

Pre-flight checklist

  • pnpm test passes (31 tests)
  • CHANGELOG.md [Unreleased] has content
  • No uncommitted changes after release commit
  • Both packages/*/package.json have matching versions
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. 4d ago First seen · 36 lines · 0 tokens per session scan A ce221d0f61c9

Subscribe to this mod's changes

release is a command published in the GitHub repository FlorianBruniaux/ctxharness (20 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 363 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.