prepare-release

prepare-release is a command for Claude Code from paulpreibisch/AgentVibes. It costs 8 tokens per session (776 once invoked), scanned A, original, Apache-2.0.

A release-preparation command that runs tests and quality checks, summarizes changes with Claude AI, updates release notes, changes the version, and creates a commit. A release is a packaged version of software made available to users.

In plain words
What is it for?
Use it for patch, minor, or major releases, including generated summaries, categorized changes, user impact, and migration notes.
Why use it?
It gathers the repetitive checks and documentation needed before publishing a new version.

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/paulpreibisch/agentvibes/prepare-release
Clone the repo
git clone --depth 1 https://github.com/paulpreibisch/AgentVibes

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 prepare-release

README.md
[![agentmods](https://agentmods.dev/badge/commands/paulpreibisch/agentvibes/prepare-release.svg)](https://agentmods.dev/commands/paulpreibisch/agentvibes/prepare-release)
Your own site
<a href="https://agentmods.dev/commands/paulpreibisch/agentvibes/prepare-release"><img src="https://agentmods.dev/badge/commands/paulpreibisch/agentvibes/prepare-release.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 776 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.00008 $0.00776
Opus 5 $0.00004 $0.00388
Sonnet 5 $0.00002 $0.00155
Haiku 4.5 $0.00001 $0.00078

Measured yesterday against content hash cf9a2ccf18d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prepare-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 yesterday.

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/prepare-release.md · 99 lines

How it starts

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

/prepare-release

Prepares a new AgentVibes release with AI-generated release notes.

This command:

  1. Runs full test suite - MUST pass before proceeding ✅
  2. Validates Sonar quality gates - MUST pass before proceeding ✅
  3. Analyzes all changes since the last release
  4. Generates an intelligent summary using Claude AI
  5. Creates/updates RELEASE_NOTES.md
  6. Bumps the version
  7. Commits everything
  8. Ready for you to push

Usage

# Patch release (bug fixes)
/prepare-release patch

# Minor release (new features)
/prepare-release minor

# Major release (breaking changes)
/prepare-release major

What Gets Generated

  • AI Summary: High-level overview of changes
  • Categorized Changes: Features, fixes, docs, tests
  • User Impact: What users should know
  • Migration Notes: If breaking changes exist

Example Output

# Release v1.0.10

## AI Summary
This release focuses on improving test reliability and fixing directory
detection issues. The test suite now properly handles bash warnings and
all 27 tests pass consistently across different environments.

## Changes
### 🐛 Bug Fixes
- Fixed test path resolution for BATS tests
- Updated test assertions to handle bash warnings

### 🧪 Testing
- Added comprehensive test coverage for replay command
- All tests now passing in CI/CD

## User Impact
- More reliable installation and testing
- Better error messages
- No breaking changes

Implementation

When executing this command, Claude MUST follow these steps in order:

  1. Run Test Suite (MANDATORY FIRST STEP):

    • Execute npm test (which runs syntax validation, BATS tests, and coverage tests)
    • If ANY tests fail, STOP immediately and report the failures
    • Do NOT proceed with any release operations if tests fail
    • Example output: "🧪 Running tests... ✅ All 213 BATS tests passed, ✅ All 38 Node tests passed"
  2. Validate Sonar Quality Gates (MANDATORY SECOND STEP):

    • Check all bash scripts for set -euo pipefail (strict mode)
    • Verify no hardcoded credentials in code
    • Validate proper variable quoting in bash scripts
    • Check for input validation and error handling
    • Review any new or modified files for security issues
    • If ANY quality gate fails, STOP immediately and report the issues
    • Example output: "🛡️ Validating quality gates... ✅ All Sonar requirements met"
    • Note: Document any known minor issues (like missing strict mode in legacy scripts) if they existed before this release

Read the full file on GitHub · 99 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. yesterday First seen · 99 lines · 8 tokens per session scan A cf9a2ccf18d0

Subscribe to this mod's changes

prepare-release is a command published in the GitHub repository paulpreibisch/AgentVibes (153 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 8 tokens to every session and 776 once invoked, about $0.0000 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-09-03.