Slash Commands
Type / as the first character in the chat input to open the command palette. Slash commands let you control Clutch entirely from the keyboard — switch settings, read files, fetch URLs, and load skills without ever touching the mouse.
Trigger & Navigation
- Trigger:
/must be the first character typed in the input - Filter: Commands filter in real-time as you type
- Navigate: Arrow Up / Arrow Down cycle through commands
- Autocomplete: Tab fills in the highlighted command
- Execute: Enter runs the highlighted command
- Dismiss: Escape closes the palette
Command Reference
Commands are grouped into five categories. Client-side commands modify Clutch's state. AI-aware commands inject content into the message sent to the LLM.
| Command | Type | Description | Example |
|---|---|---|---|
/theme <name> |
Client | Switch the active theme instantly | /theme dracula |
/model <name> |
Client | Switch the active model | /model deepseek-v4-pro |
/provider <id> |
Client | Switch the active provider (auto-loads default model) | /provider opencode_go |
/workspace |
Client | Show the active workspace path | /workspace |
/add-workspace <path> |
Client | Add a new workspace directory | /add-workspace ~/Code/my-project |
/skills |
Client | Open the Skills page to browse installed skills | /skills |
/search-skills <q> |
Client | Search the curated skill catalog | /search-skills debugging |
/read <file> |
AI-aware | Read a file and inject contents into context | /read src/main.rs |
/ls <dir> |
AI-aware | List directory contents and inject into context | /ls src/ |
/fetch <url> |
AI-aware | Fetch a webpage and inject as markdown | /fetch https://example.com |
/github <repo> |
AI-aware | Fetch a GitHub repository README | /github mojoaar/clutch |
/skill <name> |
AI-aware | Load a skill's instructions into the current context | /skill brainstorming |
Dynamic Option Menus
Three commands show a scrollable list of available choices when you press Enter on them, instead of requiring you to type the value manually:
| Command | Options loaded from |
|---|---|
/model | Available models for the current provider (from cached model list) |
/provider | All configured providers (DeepSeek, OpenCode Go, OpenCode Zen) |
/theme | All 8 built-in themes (Clutch, Nord, Dracula, Cyberpunk, Catppuccin, GitHub, Tokyo Night, Monokai) |
In option mode, use Arrow Up / Arrow Down to pick, Enter to confirm, and Escape to go back to commands. If models haven't loaded yet, the command falls through to manual text entry.
How AI-Aware Commands Work
When you run an AI-aware command like /read src/main.rs, Clutch reads the file, wraps its contents in a structured format, and sends the result as your message to the LLM. The AI sees the file contents as if you had pasted them. Example:
/read src/main.rs
File contents:
```
fn main() {
println!("Hello, world!");
}
```
This means the LLM gets the full context without you needing to copy-paste or attach files manually.
Keyboard Shortcuts Summary
| Key | Action |
|---|---|
| / | Open command palette (as first character) |
| Arrow Up / Arrow Down | Navigate commands or options |
| Tab | Autocomplete command label in input |
| Enter | Execute command or select option |
| Escape | Close palette or go back to command list |