Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.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

Use it now Notable New Features
JSON All of v2.1.265
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
New FeaturesKind: in v2.1.265,
What probably matters to youSection of the release
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
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up command.run, on Troubleshoot a mod. ### `no command.run hook answered it` plugins/mods/troubleshoot see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up command.run, on Troubleshoot a mod.

See this entry in the whole of v2.1.265 →

Feedback