Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Unavailable slash commands in non-interactive mode can hide secret arguments

In non-interactive runs, an unavailable slash command can now suggest an alternative and shows secret arguments as ***

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

Unclear Which commands treat their arguments as secret is not stated.

What

A slash command is a command typed with a leading /. Non-interactive mode runs Claude Code from a script, with no one typing at a prompt. When a slash command is not available there, Claude Code now does two things differently:

  • It looks up an alternative command to suggest.
  • It checks whether that command treats its arguments as secret. If it does, the arguments are shown as *** instead of being repeated back.

A command Claude Code does not recognise at all is still passed on to the model, as before.

Why

The message you get for some unavailable commands is different, and secret values are not printed back into the output.

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 treat their arguments as secret is not stated.

See this entry in the whole of v2.1.331 →

Feedback