What
Key bindings pointing at your own commands must now be named command:<name> rather than x-<name>. The name after the prefix is used as the binding's description in the UI. Bindings still using the old x- prefix will no longer validate.
Details
- The validity check and the descriptor lookup both switched to the new prefix; unconditional.
Evidence
if (e.startsWith("command:")) return { description: e.slice(8) };
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundlecommand:
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.
Added since
A small documentation edit on Extend agents with skills touched a line naming command: after this was published.
A `/<name>` that matches neither a command in the session nor a built-in Claude Code command doesn't fail the query. Claude Code sends the prompt to Claude as an ordinary message, with a note that the command didn't run, so the query spend…agent-sdk/skills see the edit
Confirmed since
Anthropic's documentation has since written up command:, on Error reference.
| `Unknown command: /<name>`, with or without a `Did you mean` suggestion | [Command-line errors](#unknown-command) |errors see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up command:, on Error reference.