generate-changelog

generate-changelog is a command for Claude Code from whchoi98/project-init. It costs 22 tokens per session (1,869 once invoked), scanned A, original, MIT.

A command that creates or updates a bilingual English and Korean changelog from Git history, using Keep a Changelog and semantic-versioning conventions.

In plain words
What is it for?
Use it to create a changelog, add recent commits to an Unreleased section, or publish that section under a version number.
Why use it?
It turns commit history into organized release documentation and supports both unreleased work and named versions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the project-init plugin — 1 skill, 7 commands shipped together

Good fit Use it to create a changelog, add recent commits to an Unreleased section, or publish that section under a version number.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/whchoi98/project-init/generate-changelog
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.

Clone the repo
git clone --depth 1 https://github.com/whchoi98/project-init

Made for: Claude Code.

Or install project-init, the plugin that ships this one along with the rest of its 1 skill, 7 commands.

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 generate-changelog

README.md
[![agentmods](https://agentmods.dev/badge/commands/whchoi98/project-init/generate-changelog.svg)](https://agentmods.dev/commands/whchoi98/project-init/generate-changelog)
Your own site
<a href="https://agentmods.dev/commands/whchoi98/project-init/generate-changelog"><img src="https://agentmods.dev/badge/commands/whchoi98/project-init/generate-changelog.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 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,869 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.00022 $0.01869
Opus 5 $0.00011 $0.00934
Sonnet 5 $0.00004 $0.00374
Haiku 4.5 $0.00002 $0.00187

Measured 7d ago against content hash e4d800dab075, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

generate-changelog 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 7d 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.

plugins/project-init/commands/generate-changelog.md · 214 lines

How it starts

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

Generate CHANGELOG

Generate or update a bilingual (English/Korean) CHANGELOG.md based on git history, following Keep a Changelog and Semantic Versioning.

Step 1: Determine Operation Mode

Target: $ARGUMENTS

Three modes of operation:

  1. New: No existing CHANGELOG.md — generate from full git tag history
  2. Update unreleased: Argument is unreleased or empty — add new commits to [Unreleased] section
  3. Release version: Argument is a version number (e.g. 1.2.0) — move [Unreleased] items to a new version section
ls CHANGELOG.md 2>/dev/null

Step 2: Gather Repository Information

GitHub URL:

git remote get-url origin 2>/dev/null

Convert SSH URL to HTTPS format for comparison links:

Version tags:

git tag --sort=-v:refname 2>/dev/null

Project name:

  • Read from existing CHANGELOG.md title, or manifest file, or CLAUDE.md

Step 3: Analyze Git History

For New CHANGELOG

Analyze the full tag history to build version entries:

# Get all tags sorted by version
git tag --sort=-v:refname

# For each consecutive tag pair, get commits between them
git log --oneline v1.0.0...v1.1.0

# Get the date of each tag
git log -1 --format=%aI v1.0.0

# Get commits before the first tag
git log --oneline v1.0.0

For Update (Unreleased)

Get commits since the last tag:

# Find the latest tag
git describe --tags --abbrev=0 2>/dev/null

# Get commits since last tag
git log --oneline $(git describe --tags --abbrev=0 2>/dev/null)...HEAD 2>/dev/null

# If no tags exist, get recent commits
git log --oneline -20

For Release

Read existing CHANGELOG.md and move [Unreleased] content to the new version heading.

Step 4: Categorize Changes

Classify each commit into the 6 standard categories based on commit message patterns:

Commit Pattern Category
feat:, feature:, add: Added
change:, update:, refactor: (user-facing) Changed
deprecate: Deprecated
remove:, delete: Removed
fix:, bugfix:, hotfix: Fixed
security:, vuln: Security

Read the full file on GitHub · 214 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. 7d ago First seen · 214 lines · 22 tokens per session scan A e4d800dab075

Subscribe to this mod's changes

generate-changelog is a command published in the GitHub repository whchoi98/project-init (2 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 1,869 once invoked, about $0.0001 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.