claude-code-hooks: Command for Claude Code

.claude/commands/workflows/workflow-changelog.md

workflow-changelog is a command for Claude Code from shanraisshan/claude-code-hooks. It costs 13 tokens per session (3,407 once invoked), scanned A, original, MIT.

A research command that checks recent Claude Code releases against a hooks project and reports differences that may require updates.

In plain words
What is it for?
Use it to review recent versions, compare official hook documentation and changelogs with repository files, and prepare a unified report before making changes.
Why use it?
It helps maintainers find where local settings, documentation, or code no longer match the latest external hook guidance.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

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

Reuse

Borrowing it

Nothing to install: this file belongs to shanraisshan/claude-code-hooks. 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/shanraisshan/claude-code-hooks/main/.claude/commands/workflows/workflow-changelog.md
Clone the repo
git clone --depth 1 https://github.com/shanraisshan/claude-code-hooks

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/shanraisshan/claude-code-hooks/workflow-changelog.svg)](https://agentmods.dev/commands/shanraisshan/claude-code-hooks/workflow-changelog)
Your own site
<a href="https://agentmods.dev/commands/shanraisshan/claude-code-hooks/workflow-changelog"><img src="https://agentmods.dev/badge/commands/shanraisshan/claude-code-hooks/workflow-changelog.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,407 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.00013 $0.03407
Opus 5 $0.00006 $0.01703
Sonnet 5 $0.00003 $0.00681
Haiku 4.5 $0.00001 $0.00341

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

Security

Grade A, and why

workflow-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 8d 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/workflows/workflow-changelog.md · 236 lines

How it starts

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

Workflow Changelog

You are a coordinator for the claude-code-hooks project. Your job is to launch two research agents in parallel, wait for their results, merge findings, and present a unified report.

Versions to check: $ARGUMENTS (default: 10 if empty or not a number)

This is a read-then-report workflow. Launch agents, merge results, and produce a report. Only take action if the user approves.


Phase 0: Launch Both Agents in Parallel

Immediately spawn both agents using the Task tool in the same message (parallel launch):

Agent 1: workflow-changelog-agent

Spawn using subagent_type: "workflow-changelog-agent". Give it this prompt:

Research the claude-code-hooks project for changelog drift. Check the last $ARGUMENTS versions (default: 10).

Fetch these 3 external sources:

  1. Hooks Reference: https://code.claude.com/docs/en/hooks
  2. Hooks Guide: https://code.claude.com/docs/en/hooks-guide
  3. Changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

Then read all local repository files (settings, hooks.py, config, README, HOOKS-README, install settings, presentation) and analyze differences. Return a structured findings report covering missing hooks, configuration drift, version mismatches, hook behavior changes, bug fixes, matcher accuracy, presentation staleness, agent frontmatter hooks, and schema hook discovery (hidden hooks in settings.json schema propertyNames enum not in docs).

Agent 2: claude-code-guide

Spawn using subagent_type: "claude-code-guide". Give it this prompt:

Research the latest Claude Code hooks system. I need you to find:

  1. The complete list of all currently supported hook events (e.g. PreToolUse, PostToolUse, Stop, etc.) with their descriptions
  2. Any new hooks or hook changes introduced in recent Claude Code versions
  3. New hook input fields, matcher values, or configuration options added recently
  4. Any new hook types (command, prompt, agent) or new environment variables
  5. Changes to agent/skill frontmatter hook support
  6. Any bug fixes related to hooks
  7. New features in Claude Code that relate to hooks (e.g. new tool names for matchers, new subagent types)

Be thorough — search the web, fetch docs, and provide concrete version numbers and details for everything you find.

Read the full file on GitHub · 236 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. 8d ago First seen · 236 lines · 13 tokens per session scan A 5afc4d15036c

Subscribe to this mod's changes

workflow-changelog is a command published in the GitHub repository shanraisshan/claude-code-hooks (539 stars, last pushed 3mo ago), licensed MIT. It adds 13 tokens to every session and 3,407 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-30.