⌨️Claude Code Slash Command
Also known as Slash command, Command menu, Built-in command
A word that starts with /, like /clear, that steers Claude Code.
Think of it like
It is like a magic word. You say it first, and the helper does that one job.
Example
Lucy's chat has grown long and slow. She types /co, sees /compact in the list, picks it, and the chat is squeezed into a short summary.
Why it matters
Most things you change in a session, from the model to the rules, take one slash command.
Definition
Example code
console
/helpCommon mistake
Key takeaways
- 1Starts with /. At the start of a message.
- 2Steers Claude Code. Not the task itself.
- 3Type to filter. The menu narrows.