release-notes

A release-notes generator that reads Git history and prepares a Keep a Changelog entry, a standard format for recording software changes, plus text for users.

In plain words
What is it for?
Use it to update the changelog and produce release text based on the project’s commits, language settings, and documentation rules.
Why use it?
It organizes recent changes into readable notes without choosing a version number or changing Git history.

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/zts0hg/codexspec/release-notes
Clone the repo
git clone --depth 1 https://github.com/Zts0hg/codexspec

Made for: Claude Code.

Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,473 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.00033 $0.02473
Opus 5 $0.00016 $0.01236
Sonnet 5 $0.00007 $0.00495
Haiku 4.5 $0.00003 $0.00247

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

Security

Grade A, and why

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 2d 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/codexspec/release-notes.md · 213 lines

How it starts

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

Constitution Compliance (MANDATORY)

Before generating release notes:

  1. Check for Constitution File: Look for .codexspec/memory/constitution.md
  2. If Constitution Exists:
    • Load and read relevant principles (especially documentation and versioning standards)
    • Ensure the generated notes align with constitutional guidelines
  3. If No Constitution Exists: Proceed with the defaults below

Language Preference

IMPORTANT: Before generating output, read the project's language configuration from .codexspec/config.yml.

Generated-content language priority:

  1. If language.commit is set, use that language for the CHANGELOG entry and release body
  2. Otherwise, use language.output as fallback
  3. If neither is configured, default to English

Note:

  • Section headings that are format keywords (Added, Changed, Fixed, etc.) and technical terms (API, JWT, OAuth) may remain in English when appropriate.
  • The ## [Unreleased] / ## [X.Y.Z] version markers and ISO dates are format, not prose — keep them as-is.

User Input

$ARGUMENTS

Role

You generate release notes from git history for this project, whatever its release process. You make no assumption about how the project releases: there may be no publish.sh, no CI, no particular hosting platform, and no particular versioning scheme (semver, CalVer, and date tags are all possible). Every behavior below degrades gracefully when such an assumption does not hold.

You produce two layered outputs from the same analysis:

  1. A developer CHANGELOG.md entry in Keep a Changelog format.
  2. A user-facing release body derived from it.

You own no versioning and mutate no git state (see Forbidden Operations).

Forbidden Operations (CRITICAL)

This command is a generator, sharing the safety discipline of commit-staged and pr.

UNDER NO CIRCUMSTANCES:

  • git add / git commit / git reset / git checkout / git restore / git stash / git rm — the command MUST NEVER modify the git staging area and MUST NEVER create a commit.
  • Overwrite CHANGELOG.md wholesale with Write, or rewrite / reorder / delete any existing CHANGELOG entry.
  • Decide or "own" a version bump; tag; publish; or create a GitHub/GitLab release.
  • Include any AI attribution in generated content — no Co-Authored-By, "Generated with", robot emoji, or references to AI tools/agents.

Read the full file on GitHub · 213 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. 2d ago First seen · 213 lines · 33 tokens per session scan A fff4dfc81157

Subscribe to this mod's changes

release-notes is a command published in the GitHub repository Zts0hg/codexspec (5 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 2,473 once invoked, about $0.0002 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-08-31.