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 ·

Slash commands and skills gain menuDescription, policyGate, and custom argument autocompletion

Commands and skills can now define a shorter menu description, a policy-based visibility gate, and custom argument autocomplete

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSlash Commandswhat it touches
KindInternal Changesin v2.1.265,
Group of 3 Under the hood No documentation found

Commands and skills can now define a shorter menu description, a policy-based visibility gate, and custom argument autocomplete

What

  • Commands and skills can now define a getArgumentCompletions callback; the prompt input calls this while typing to generate custom suggestions for a command's arguments.
  • Command/skill definitions gained a menuDescription field: a shorter description shown in menu/listing UI, separate from the full description.
  • Command/skill definitions gained a policyGate field: a policy object with a .policy check that can hide or disable a command.
  • Internally, policyGate is now set up as a lazy getter during registration (rather than a plain assigned property), and getArgumentCompletions is passed through registration alongside it.

Why These fields give command and skill authors more control over how their commands appear and behave in menus: a concise label for tight UI space, a way to restrict visibility based on policy, and live, tailored argument suggestions instead of generic ones.

Read from
Names in the bundlepolicyGate

See this entry in the whole of v2.1.265 →

Feedback