beans: Command for Claude Code

.claude/commands/beans-release-notes.md

beans-release-notes is a command for Claude Code from hmans/beans. It costs 0 tokens per session (723 once invoked), scanned A, original, Apache-2.0.

A command that turns Git commits since the latest version tag into conversational release notes and saves them in .docs.local/RELEASE.md. A version tag is a Git label identifying a release.

In plain words
What is it for?
Use it after a software release to summarize new features, fixes, migrations, and other changes for users and teammates.
Why use it?
It removes the need to manually read and rewrite a list of commits. The instructions organize related changes, explain their impact, and call attention to breaking changes.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is hmans/beans's own configuration. It tells Claude Code how to work on beans 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 beans configures →

View source ↗ hmans/beans
Reuse

Borrowing it

Nothing to install: this file belongs to hmans/beans. 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/hmans/beans/main/.claude/commands/beans-release-notes.md
Clone the repo
git clone --depth 1 https://github.com/hmans/beans

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 beans-release-notes

README.md
[![agentmods](https://agentmods.dev/badge/commands/hmans/beans/beans-release-notes/github.svg)](https://agentmods.dev/commands/hmans/beans/beans-release-notes)
Your own site
<a href="https://agentmods.dev/commands/hmans/beans/beans-release-notes"><img src="https://agentmods.dev/badge/commands/hmans/beans/beans-release-notes/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 beans-release-notes

Your own site · 80×15
<a href="https://agentmods.dev/commands/hmans/beans/beans-release-notes"><img src="https://agentmods.dev/badge/commands/hmans/beans/beans-release-notes.svg" alt="Reviewed on agentmods" width="80" 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 723 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.00000 $0.00723
Opus 5.5 $0.00000 $0.00289
Sonnet 5.5 $0.00000 $0.00145
Haiku 4.5 $0.00000 $0.00072

Measured 1mo ago against content hash bc6e26dc71c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

beans-release-notes 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 1mo 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/beans-release-notes.md · 92 lines

How it starts

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

Generate Release Notes

Generate release notes from commits since the last version tag and write them to .docs.local/RELEASE.md.

Instructions

  1. Find the latest version tag:

    git describe --tags --abbrev=0
    
  2. Get commits since that tag:

    git log <tag>..HEAD --oneline --no-merges
    
  3. Write conversational release notes to .docs.local/RELEASE.md following this style:

Writing Style

DO NOT just list commits. Instead, write release notes that tell a story:

  • Lead with what matters most - Start with a brief intro paragraph highlighting the 2-3 most impactful changes
  • Group related changes - Combine multiple commits that work toward the same goal into a single, well-explained entry
  • Explain the "why" - Help users understand how changes benefit them, not just what changed
  • Use natural language - Write like you're telling a colleague about the release over coffee
  • Highlight breaking changes prominently - These need extra attention and migration guidance

Structure

# Release Notes for vX.Y.Z

<Opening paragraph: 1-3 sentences summarizing the release theme and most exciting changes>

## Breaking Changes

<If any: explain what changed, why, and how to migrate. Be helpful, not just factual.>

## Highlights

<The 2-4 most significant improvements, with context about why they matter>

## Other Improvements

<Grouped by area (e.g., "TUI", "CLI", "Performance") with brief descriptions>

## Bug Fixes

<Notable fixes, especially ones users might have encountered>

Linking to Commits and PRs

Include links to commits or PRs so readers can dig deeper:

  1. Get the GitHub repo URL:

    git remote get-url origin
    
  2. Link to commits using the short hash:

    Fixed TUI crash on narrow terminals ([9e32a11](https://github.com/owner/repo/commit/9e32a11))
    
  3. Link to PRs when commits reference them (look for (#123) in commit messages):

    Simplified bean linking ([#17](https://github.com/owner/repo/pull/17))
    

Read the full file on GitHub · 92 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. 1mo ago First seen · 92 lines · 0 tokens per session scan A bc6e26dc71c0

Subscribe to this mod's changes

beans-release-notes is a command published in the GitHub repository hmans/beans (956 stars, last pushed 6mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 723 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.