Skip to content
Slash commands

Slash commands

Type a line starting with / and press enter to run a command instead of sending a chat message. Inspired by Claude Code.

/model

Pick or switch the active model.

  • /model alone — opens a picker that fetches the list of installed models from your inference server (GET /v1/models). Navigate with /, confirm with enter, cancel with esc. The current model is marked (current).
  • /model <name> — switch directly without opening the picker. Example: /model qwen2.5:7b.

Switching mid-conversation keeps the history. Useful for delegating: start a thread with a fast 1B model to refine the prompt, then switch to a 7B for the answer.

/clear

Reset the conversation. The chat history is wiped, the system prompt (if any) is re-applied, and the welcome screen returns. The model itself doesn’t reset — it’s stateless, so the next message starts fresh.

/quit

Exit mini-claude. Same as pressing esc or ctrl+c. /exit is an alias.

Unknown commands

Typing something like /foo shows a red error in the status line at the bottom: unknown command: /foo (try /model, /clear, /quit). The input is consumed; you don’t accidentally send it as a chat message.

Keyboard cheatsheet

  • enter — send the current message (or run the slash command)
  • ctrl+j — insert a newline (multi-line input)
  • esc / ctrl+c — quit (cancels the picker first if open)
  • / — navigate the model picker (when open)
  • pgup / pgdn — scroll the conversation history