Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Use the mods API changedplugins/mods/api

Nearest release: v2.1.328, published 8 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 18 Nov 2026 14:56 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 18 Nov 2026 15:07 UTC.

Upstream edited
Recorded here
Lines+5added
Lines−1removed
From line 30 where the diff opens
First seen 1 Oct 2026 this site's first read of the page
Recorded edits21to this page, all time

#### Hide command text from Claude

The whole hunk

from line 30, old and new numbered
/
lines
from line 30
3030 
3131After the session starts, `/standup` appears with its description in the list you see when you type `/`. The `argumentHint` shows in the prompt after you type the command and a space, as in `/standup [days]`. When you run `/standup 3`, the second hook returns `Summary for the last 3 day(s): ...`, and the transcript shows that text after the plugin's name. The hook never calls `next`, because the command has no behavior other than yours.
3232 
33The `text` you return prints in the transcript and Claude reads it. To print nothing, as a command that only opens a [pane](https://code.claude.com/docs/en/plugins/mods/interface.md#pick-where-to-draw) does, return `{}`. To let the command run while Claude is working, add `immediate: true` to the registration.
33The `text` you return prints in the transcript and Claude reads it, unless you [hide it from Claude](#hide-command-text-from-claude). To print nothing, as a command that only opens a [pane](https://code.claude.com/docs/en/plugins/mods/interface.md#pick-where-to-draw) does, return `{}`. To let the command run while Claude is working, add `immediate: true` to the registration.
3434 
3535Pick a name that no built-in command uses. Type `/` in a session to see them. `$.command.register` throws for a taken name, with a message such as `"/focus" refused: it is the built-in /focus`. A hook that throws is skipped, so the rest of your `session.start` hook doesn't run either. Register commands last in that hook, or wrap the call in `try` and `catch`.
36 
37#### Hide command text from Claude
38 
39To print a command's text without Claude reading it, return `{ text, isTextDisplayOnly: true }` from a hook that doesn't call [`next`](https://code.claude.com/docs/en/plugins/mods/reference#the-hook-function), and leave `immediate` off the registration. Otherwise, or before v2.1.326, Claude can read the text.
3640 
3741### Add a tool
3842 
Feedback