Slash commands
Type a line starting with / and press enter to run a command instead of sending a chat message. Inspired by Claude Code.
/mode
Switch mode on the fly, no restart. /mode guided flips to Socratic mode, /mode auto goes back to the full agent. The four modes, auto, explain, guided, review, are detailed in The 4 modes.
Switching mode keeps the history but resets the permission cache.
/model
Pick or switch the active model.
/modelalone, opens a picker that fetches the list of installed models from your inference server (GET /v1/models). Navigate with↑/↓, confirm withenter, cancel withesc. The current model is marked (current)./model <name>, switch directly without opening the picker. Example:/model qwen2.5-coder:7b.
Switching mid-conversation keeps the history. Useful for delegating: start a thread with a small model to rough things out, then switch to a bigger one for the serious work.
/workspace
/workspace <path> changes the working directory for file tools. Mini-claude also auto-detects it when you mention an absolute path in a message. Any access outside the workspace asks for permission.
/audit
/audit [path] produces a deterministic project summary: Mini-claude gathers the data itself (tree + README + manifest) and only asks the model to synthesize. This sidesteps small models’ tendency to invent file contents, handy when tool calling is weak or impossible.
/undo
/undo rewinds the last commit Mini-claude made (git reset --hard HEAD~1). It refuses to touch commits you didn’t make through the agent, your own work is never at risk. Requires a git repo. See Permissions & safety.
/compact
/compact elides old, large tool outputs to free up context window. Long sessions also do this automatically once history crosses a threshold.
/clear
Reset the conversation. The history is wiped, the system prompt is re-applied, the permission cache is reset, 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. 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- during a permission prompt:
yonce ·aalways (this session) ·ndeny