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):

CommandNote from the docs
/helpLists commands
/compactBuilt-in command
/modelSwitch models
/permissionsManage permissions
/statusShows status, including a Login row; runs immediately even while Claude is responding
/cost, /usageBuilt-in; /usage runs immediately while Claude is responding
/contextBuilt-in command
/initBuilt-in command
/add-dirAdd a working directory to the session
/cdBuilt-in command
/login, /logoutSign in or out; /logout also resets first-launch setup
/renameChanges the session name mid-session
/doctorIn-session setup checkup that can also apply fixes
/skills, /reload-skillsManage skills
/plugin, /reload-pluginsManage plugins
/security-reviewBuilt-in command
/code-reviewBundled skill
/simplify, /debug, /loop, /batch, /verify, /runBundled 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.

Buy the cheat sheet, 1 USD