update-notes

A command for updating CHANGENOTES.md after changes to mdt Markdown files and committing those changes.

In plain words
What is it for?
Use it to review diffs, analyze renamed files, update change notes, increment versions, and optionally preview or skip the commit.
Why use it?
It organizes release-note updates and helps the commit reflect file changes, including renamed or moved files.

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/andkirby/markdown-ticket/update-notes
Clone the repo
git clone --depth 1 https://github.com/andkirby/markdown-ticket

Made for: Claude Code.

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,399 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.00011 $0.01399
Opus 5 $0.00005 $0.00700
Sonnet 5 $0.00002 $0.00280
Haiku 4.5 $0.00001 $0.00140

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

Security

Grade A, and why

update-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.

prompts/.claude/commands/update-notes.md · 168 lines

How it starts

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

Update Notes and Commit Changes

This command helps you update CHANGE_NOTES.md with changes made to mdt-*.md files and commit them with proper messages.

Options

  • --dry-run: Show what would be done without making changes
  • --no-commit: Update files but don't commit
  • --skip-version: Skip version increment step

Process

1. Analyze current changes

!git diff --name-only *.md

2. Read current CHANGE_NOTES.md

!cat CHANGE_NOTES.md

3. Analyze what changed

!git diff .

3.5. Check for renamed/moved files

IMPORTANT: When files are renamed or moved, git diff does not show changes by default. Use the -M flag to detect renames and show diffs properly:

# Show diff for a specific renamed file (before and after paths)
git diff --cached -M --unified=1 -- old/path.md new/path.md

# Show all renames with statistics
git diff --cached -M --stat

# Show rename detection for unstaged changes
git diff -M --unified=1 -- old/path.md new/path.md

This is critical when analyzing changes to reorganized workflows (e.g., commands/mdt-tasks.mdmdt/commands/tasks.md). Without -M, git treats these as delete+create pairs and you lose the diff context.

4. Determine if this is a new workflow or an update

Check if any mdt-*.md files are new or modified:

# List new mdt-*.md files
git status --porcelain *.md | grep "^??" | grep "mdt-.*\.md"

# List modified mdt-*.md files
git status --porcelain *.md | grep "^ M" | grep "mdt-.*\.md"

5. Version Increment FIRST (unless --skip-version)

IMPORTANT: Ask for version increment BEFORE writing CHANGE_NOTES.md so the entry contains the correct final version.

Read current plugin version:

!cat mdt/.claude-plugin/plugin.json | jq '.version'

Analyze changes and recommend version increment type:

Based on the changes detected, recommend the appropriate version increment:

Change Type Recommendation Example
New command/workflow added beta or minor 0.10.0 → 0.11.0-beta
Breaking changes to existing workflow beta or minor 0.10.0 → 0.11.0-beta
Bug fixes, small improvements patch 0.10.0 → 0.10.1
Beta iteration beta 0.11.0-beta → 0.11.0-beta.1
Release stable from pre-release release 0.11.0-beta.22 → 0.11.0

Read the full file on GitHub · 168 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 · 168 lines · 0 tokens per session scan A 1ceea854fe8a

Subscribe to this mod's changes

update-notes is a command published in the GitHub repository andkirby/markdown-ticket (5 stars, last pushed 16d ago), licensed MIT. It adds 11 tokens to every session and 1,399 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.