Claude Code cheat sheet: commands and slash commands
The full cheat sheet is a 3-page PDF with 7 sections, for 1 USD. Below is one section of it, free and complete: the built-in slash commands.
Sections in the PDF: 1. Built-in slash commands, 2. Custom slash commands (skills and command files), 3. Hooks, 4. Permission modes, 5. CLAUDE.md and memory, 6. CLI commands and flags, 7. Keyboard shortcuts.
1. Built-in slash commands
A command is only recognized at the start of your message; text after the name becomes its arguments. Type / to list commands, or / plus letters to filter.
Command names the docs mention (run /help for the full list on your version):
| Command | Note from the docs |
|---|---|
/help | Lists commands |
/compact | Built-in command |
/model | Switch models |
/permissions | Manage permissions |
/status | Shows status, including a Login row; runs immediately even while Claude is responding |
/cost, /usage | Built-in; /usage runs immediately while Claude is responding |
/context | Built-in command |
/init | Built-in command |
/add-dir | Add a working directory to the session |
/cd | Built-in command |
/login, /logout | Sign in or out; /logout also resets first-launch setup |
/rename | Changes the session name mid-session |
/doctor | In-session setup checkup that can also apply fixes |
/skills, /reload-skills | Manage skills |
/plugin, /reload-plugins | Manage plugins |
/security-review | Built-in command |
/code-review | Bundled skill |
/simplify, /debug, /loop, /batch, /verify, /run | Bundled skills |
Behavior: if you send a command while Claude is responding, it is queued and runs after the current turn, except a few (such as /status, /tasks, /usage) that run immediately.
Get the full cheat sheet
3-page PDF, 7 sections, 1 USD. AI-assisted content; independent from Anthropic.