empathy-framework: Command for Claude Code

.claude/commands/release.md

release is a command for Claude Code from Smart-AI-Memory/empathy-framework. It costs 11 tokens per session (1,168 once invoked), scanned A, original, Apache-2.0.

A command hub for preparing, checking, and publishing software releases. A release is a version of software made available to users.

In plain words
What is it for?
It is for preparing patch, minor, or major releases, running security audits, and publishing packages to a registry.
Why use it?
It groups version changes, changelog work, quality checks, security reviews, and package publishing into one workflow.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is Smart-AI-Memory/empathy-framework's own configuration. It tells Claude Code how to work on empathy-framework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything empathy-framework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Smart-AI-Memory/empathy-framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Smart-AI-Memory/empathy-framework/main/.claude/commands/release.md
Clone the repo
git clone --depth 1 https://github.com/Smart-AI-Memory/empathy-framework

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/smart-ai-memory/empathy-framework/release/github.svg)](https://agentmods.dev/commands/smart-ai-memory/empathy-framework/release)
Your own site
<a href="https://agentmods.dev/commands/smart-ai-memory/empathy-framework/release"><img src="https://agentmods.dev/badge/commands/smart-ai-memory/empathy-framework/release/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for release

Your own site · 80×15
<a href="https://agentmods.dev/commands/smart-ai-memory/empathy-framework/release"><img src="https://agentmods.dev/badge/commands/smart-ai-memory/empathy-framework/release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,168 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00011 $0.01168
Opus 5.5 $0.00004 $0.00467
Sonnet 5.5 $0.00002 $0.00234
Haiku 4.5 $0.00001 $0.00117

Measured 2mo ago against content hash 0864badf5b18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 · 195 lines

How it starts

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

Release Management

Aliases: /ship

Release operations powered by Socratic agents that ensure quality and security before shipping.

Quick Examples

/release                  # Interactive menu
/release prep             # Prepare release with quality checks
/release audit            # Deep security audit
/release publish          # Publish to registry

Discovery

Question:
  header: "Task"
  question: "What release task do you need?"
  options:
    - label: "Prepare release"
      description: "Version bump, changelog, pre-release checks"
    - label: "Security audit"
      description: "Deep vulnerability scan with attack scenarios"
    - label: "Publish release"
      description: "Publish to package registry"

Prepare Release

Agent: quality-validator | Workflow: release_prep

Prepare a release with comprehensive quality validation.

Invoke:

/release prep                 # Interactive version selection
/release prep patch           # Bump patch version (1.0.0 → 1.0.1)
/release prep minor           # Bump minor version (1.0.0 → 1.1.0)
/release prep major           # Bump major version (1.0.0 → 2.0.0)
/release prep 2.0.0           # Specific version

The quality-validator agent will:

  1. Run all tests and verify they pass
  2. Check for security vulnerabilities
  3. Update version in pyproject.toml/package.json
  4. Generate changelog from commits
  5. Verify documentation is current
  6. Create pre-release checklist

Pre-release checklist:

  • All tests passing
  • No security vulnerabilities
  • Changelog updated
  • Version bumped correctly
  • Dependencies up to date
  • Documentation current

Philosophy: Instead of just running checks, you'll hear "Tests pass, but I notice coverage dropped 5% since last release. Should we add tests before shipping?"


Security Audit

Agent: security-reviewer | Workflow: security_audit

Deep security audit with attack scenario analysis.

Read the full file on GitHub · 195 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. 2mo ago First seen · 195 lines · 11 tokens per session scan A 0864badf5b18

Subscribe to this mod's changes

release is a command published in the GitHub repository Smart-AI-Memory/empathy-framework (13 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 1,168 once invoked, about $0.0000 per session on Opus 5.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.