Cheat sheet
Claude Code Slash Commands
The slash commands you reach for most, with their aliases. Type / inside a session to see every command.
Context & memory
| /clear/reset, /new | Start a new conversation with empty context (keeps CLAUDE.md). |
| /compact | Summarize the conversation so far to free context, same session. |
| /context | Visualize how much of the context window is in use. |
| /init | Generate a starter CLAUDE.md from your project. |
| /memory | Edit CLAUDE.md memory files. |
Control the session
| /help | Show help and the list of available commands. |
| /model | Switch the AI model for this session. |
| /config/settings | Open settings (theme, model, editor mode…). |
| /permissions/allowed-tools | Manage allow / ask / deny tool rules. |
| /plan | Enter plan mode before a large change. |
| /exit/quit | Exit the CLI. |
Extend & delegate
| /agents | Create and manage subagents. |
| /mcp | Manage MCP server connections. |
| /review | Review a pull request locally. |
Recover & report
| /rewind | Roll code and conversation back to a checkpoint. |
| /resume/continue | Resume or fork an earlier conversation. |
| /usage/cost, /stats | Show session cost and usage stats. |
| /feedback/bug, /share | Report a bug or send feedback to Anthropic. |