While Chatting
Type / to open the command menu and use ↑ / ↓ to move the highlight, Enter to confirm. With an empty input, ↑ / ↓ recalls previous messages.
Commands
| Command | Description |
|---|---|
/new | Start a new session (keeps the current one) |
/compact | Compact the context |
/model | Pick or switch the model |
/models | List available models |
/provider | Pick or switch the provider |
/memory [on|off|t] [--project] | View/toggle memory, or save a note |
/tokens | Context usage, total usage, and estimated cost |
/ctx | Pick the local-model context window (Ollama only) |
/permission [ask|accept-edits|allow-all] [--project] | View/set the confirmation mode |
/think | Choose thinking intensity |
/sandbox [off|workspace|strict] [--project] | View/set the sandbox |
/undo | Undo the last turn |
/redo | Resend the last message |
/diff | Show uncommitted workspace changes |
/plan | Toggle read-only plan mode |
/sessions [id] | List or switch saved sessions (alias /resume) |
/reload | Reload the rules |
/rename <title> | Rename the current session |
/attach <path> | Attach a local image |
/mcp | Show MCP status |
/skills [list|info <name>|enable|disable <name> [--project]] | Show/enable/disable skills |
/path | Show the working directory |
/paste | Paste an image from the clipboard |
/help | Show all commands |
/exit | Exit (aliases /quit, /q) |
Shortcuts
- Ctrl+C clears the input (press twice to exit)
- Ctrl+V pastes an image; a multi-line paste becomes a snippet
- Ctrl+B selects text to copy
- mouse drag-select also copies on release
- click a tool or thinking block to expand or collapse it
- when it asks you to choose, use ↑/↓ and Enter (Space checks items in multi-select)