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

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.

CommandTypeDescriptionExample
/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:

CommandOptions loaded from
/modelAvailable models for the current provider (from cached model list)
/providerAll configured providers (DeepSeek, OpenCode Go, OpenCode Zen)
/themeAll 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

KeyAction
/Open command palette (as first character)
Arrow Up / Arrow DownNavigate commands or options
TabAutocomplete command label in input
EnterExecute command or select option
EscapeClose palette or go back to command list