Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

Command execution can now be intercepted by command.run/command.describe hooks

Slash-command execution can now be intercepted and rewritten by command.run/command.describe hooks

TierUse it nowhow much it should matter to you
Useful4my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaHookswhat it touches
KindNew Featuresin v2.1.265,
Use it now Notable No documentation found

Slash-command execution can now be intercepted and rewritten by command.run/command.describe hooks

What

Slash commands now pass through a new hook chain when they run, keyed on two hook events named command.run and command.describe. A hook (a custom script that reacts to Claude Code's behavior) can observe or rewrite the text a command prints before it's shown, using a next() pattern to pass control along the chain. Claude Code also now shows a clearer error message when a queued command never actually ran, explaining that it did not go through command.run.

Why

This gives hooks a formal way to intercept and modify slash-command output, and gives users a clearer explanation when a command was queued but never executed.

Read from
Names in the bundlecommand.runcommand.describe

See this entry in the whole of v2.1.265 →

Feedback