Type / in any session to see all available commands.
| Command | Purpose |
|---|
/clear | Start a new conversation (keeps session ID) |
/compact | Summarize conversation to free context window |
/context | Show current context window usage |
/status | Show model, permissions, context stats |
/cost | Show token usage and estimated cost |
/recap | Generate a summary of the current session |
/background | Move entire session to background |
/resume | Switch to a different saved conversation |
/rename <name> | Name this session (resumable by name) |
/branch [name] | Fork the conversation to try another approach |
/rewind | Open checkpoint menu (restore code/conversation) |
/export [file] | Export conversation to clipboard or file |
| Command | Purpose |
|---|
/help | Show all available commands |
/config | Open interactive settings UI |
/model | Switch Claude model mid-session |
/effort | Adjust reasoning level (auto/low/medium/high/max) |
/fast | Toggle fast mode |
/plan | Enter read-only plan/explore mode |
/permissions | View and manage permission rules |
/hooks | View configured hooks |
/mcp | Manage MCP servers |
/agents | View and configure subagents |
/memory | View/edit CLAUDE.md and auto memory |
/theme | Change color theme |
/vim | Toggle vim keybindings |
/terminal-setup | Install keybindings for multiline input |
/cd <path> | Change working directory |
/add-dir <path> | Grant access to an additional directory |
/sandbox | Configure the sandboxed Bash tool |
/statusline | Configure your status line |
/login | Switch account / re-authenticate |
| Command | Purpose |
|---|
/init | Generate a starter CLAUDE.md for this project |
/doctor | Run configuration diagnostics |
| Command | Purpose |
|---|
/code-review | Review current diff (supports --effort, --fix, --comment) |
/review | Review a GitHub pull request |
/simplify | Simplify changed code for readability |
/verify | Run app and verify changes work |
/security-review | Security review of pending changes |
| Command | Purpose |
|---|
/desktop | Hand this session off to the Desktop app |
/remote-control | Drive this session from phone/browser |
/chrome | Connect/manage the Chrome browser integration |
/schedule | Create scheduled cloud routines |
/loop <interval> <prompt> | Repeat a prompt on an interval |
/plugin | Install/manage plugins and marketplaces |
| Command | Purpose |
|---|
/btw <question> | Ask a quick side question without logging it |
/usage | Show plan usage limits |
/exit or Ctrl+D | Exit the session |
!<command> | Run a shell command directly (e.g. !git status) |
/config model=claude-opus-4-8 # set a specific value
- Trick: type
/ and read the menu — you never memorize commands.
- Buckets: session (
/clear /compact) · config (/model /config) · quality (/code-review).
- Show:
/context then /compact — the pair everyone needs weekly.
- They’ll trip on: fearing
/clear — the old conversation stays resumable.
Learning path: ⬅ 03-core-cli-usage.md · Index · ➡ 05-interactive-mode-shortcuts.md