Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Mod commands track changed arguments and may show the plugin name on output

When a mod's slash command runs, Claude Code now tracks whether a hook changed its arguments and decides when to prefix the output with the plugin name

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ModsArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release

Unclear Which commands get the plugin-name prefix on their output is not stated.

What

A mod is a plugin's own code, and command.run is the hook that runs when you type one of its slash commands. Three things are now different when such a command runs:

  • Changed arguments: Claude Code now tracks whether a hook altered the arguments you typed.
  • Owner dialog: Claude Code can now show a dialog for the plugin that owns the command.
  • Plugin name prefix: Claude Code now decides whether to put the plugin's name in front of the text the command prints.
Why

The output of some mod commands may now start with the name of the plugin they come from.

Read from
Names in the bundlecommand.run
What the documentation says
command.run Create a mod modified, high confidence * **[`command.run`](https://code.claude.com/docs/en/plugins/mods/api#add-a-command)** runs when you type `/tally`. It returns the text to print. see the edit
command.run Test a mod modified, high confidence Each `$.tool.call` went through the mod's [`tool.call`](https://code.claude.com/docs/en/plugins/mods/events#guard-or-change-a-tool-call) hook, which added one to its count and passed the call on to the stub. No `ls` ran and no file was rea… see the edit
command.run Mods reference modified, low confidence | [`command.run`](https://code.claude.com/docs/en/plugins/mods/api#add-a-command) | A command is about to run | `{ text }`, `{}`, or `next(e)` | see the edit
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 Use the mods API. To set the exit code when you run `claude -p "/standup"` in your shell, return an `exitCode` field from the `command.run` hook, as an integer from 0 to 255. Make the command the whole prompt, and return from the hook without calling [`next… plugins/mods/api see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich commands get the plugin-name prefix on their output is not stated.
Anthropic's documentation agreescommand.run on Create a mod

See this entry in the whole of v2.1.333 →

Feedback