Slash commands are typed in the TUI input field and executed immediately when you press Enter. They are only available in the interactive TUI — not in CLI / non-TTY mode.
Command Description Example Notes /clearClear the chat display /clearThe session JSONL file is not modified; history is preserved /sessionsOpen the session picker /sessionsUse arrow keys to select, Enter to resume /sessionShow the current session ID /session/helpDisplay all key bindings and slash commands /helpOutput appears in the chat pane /quitExit clido /quitEquivalent to pressing Ctrl+C when idle /initRe-run setup wizard /initReconfigure provider, model, API key, and roles /search <query>Search conversation history /search auth bugHighlights matching messages /exportSave conversation to a markdown file /exportSaves to current directory
Command Description Example Notes /configShow all settings /configDisplays provider, model, roles, agent, context /configure <intent>Change settings with natural language /configure use gpt-4.1/settingsOpen settings editor /settingsEdit roles and default model /enhance <prompt>Enhance a prompt before sending /enhance fix the login bugSends to utility model; result appears in input field for review. Press Enter to send or edit first
Command Description Example Notes /model [name]Show or switch the active model /model claude-opus-4-6Switches immediately; reverts after session ends /modelsOpen the interactive model picker overlay /modelsLive type-to-filter; shows pricing, context window, and role assignments /fastSwitch to the fast (cheap) model /fastUses [roles] fast from config, falls back to claude-haiku-4-5-20251001 /smartSwitch to the smart (powerful) model /smartUses [roles] reasoning from config, falls back to claude-opus-4-6 /favToggle current model in/out of favorites /favFavorites shown with ★ in the model picker and /model output /reviewer [on|off]Toggle reviewer sub-agent /reviewer onWhen on, a second model reviews each assistant response before it is shown
Command Description Example Notes /costPrint accumulated cost for this session /costMirrors the status strip numbers /tokensPrint input and output token usage /tokens/compactCompact the context window immediately /compactSummarises history via LLM; shows before/after message count /memory <query>Search long-term memory /memory error handlingThe agent also uses memory automatically /todoShow the agent’s current task list /todoDisplays pending tasks from the current session
Command Description Example Notes /branch <name>Create a new branch and switch to it /branch feature/authStashes uncommitted changes, creates branch, pushes with upstream /syncPull and rebase from upstream /syncStashes if needed, fetches, rebases, resolves simple conflicts /pr [title]Create a pull request /pr add login rate limitingAuto-generates title and body from diff; requires gh or prints for manual creation /ship [msg]Stage all changes, commit, and push /ship fix login bugAuto-generates message if none given; repair cycle on hook/push failures /save [msg]Stage all changes and commit locally (no push) /save wip checkpointAuto-generates message if none given; repair cycle on hook failures /undoUndo the last committed change /undoRuns git reset HEAD~1; shows what was undone /rollback [id]Restore to a checkpoint or commit /rollback ck_abc123Accepts checkpoint ID (ck_…) or git commit hash
Command Description Example Notes /planShow the current task plan /planActive when --plan or --planner flag is set /plan editRe-open the plan editor overlay /plan editEdit tasks, complexity, notes before executing /plan saveSave the current plan to .clido/plans/ /plan saveSaved plans can be resumed with clido plan run /plan listList all saved plans /plan listShows id, task count, done count, and goal
Command Description Example Notes /workflowList all saved workflows /workflowSame as /workflow list /workflow newCreate a workflow with AI guidance /workflow new review PRs and testAgent walks you through the design step by step /workflow listList all saved workflows /workflow listScans .clido/workflows/ and global dir /workflow showDisplay a workflow’s YAML /workflow show full-reviewShows the full YAML in the chat /workflow editOpen in text editor /workflow edit full-reviewCtrl+S validates & saves, Esc discards /workflow saveSave last YAML from chat /workflow save my-reviewExtracts YAML block from last assistant message /workflow runRun a saved workflow /workflow run full-reviewSends steps to the agent for execution
Command Description Example Notes /agentsShow current agent configuration /agentsLists main provider and fast provider (if configured) /profilesList all profiles /profilesShows active model per slot for each profile /profileOpen profile picker /profileSwitch, create, or edit profiles interactively /profile newCreate a new profile /profile newLaunches the guided setup wizard /profile edit [name]Edit a profile /profile edit cheapEdit provider, model, and API key for the named profile /settingsOpen settings editor /settingsEdit roles and default model; changes saved to config.toml /workdir [path]Show or set working directory /workdir ~/projects/myappWithout argument shows current cwd /checkRun diagnostics on the current project /checkInvokes the DiagnosticsTool /indexShow repo index stats /indexBuild with clido index build /rulesShow active CLIDO.md rules files /rulesOverlay listing all discovered rules /image <path>Attach an image to the next message /image screenshot.pngSupports PNG, JPEG, GIF, WebP /stopInterrupt current run /stopCancels the in-progress agent turn without exiting /copyCopy last assistant message to clipboard /copyUses OSC 52 escape sequence; requires terminal support /notify [on|off]Toggle desktop notifications /notify onShows system notifications when agent completes a turn /indexShow codebase index stats /indexBuild the index with clido index build
Type a / followed by the command name in the input field:
Press Enter to execute. Commands that produce output render it as a system message in the chat pane (visually distinct from user and assistant messages).
/memory accepts a search query as the rest of the line:
> /memory refactor authentication module
[memory search: "refactor authentication module"]
• User prefers JWT over session cookies (2026-03-15)
• Auth module was refactored to use tower-service (2026-03-10)
• AuthError variants: Expired, Invalid, MissingToken (2026-03-08)
/models opens a searchable overlay listing all models known to clido:
╭─ Models ─────────────────────────────────────────────────────────────────────╮
│ ★ claude-haiku-4-5-20251001 anthropic 0.80 4.00 200k fast │
│ ★ claude-opus-4-6 anthropic 15.00 75.00 200k reasoning │
│ > claude-sonnet-4-6 anthropic 3.00 15.00 200k │
│ gpt-4o openai 2.50 10.00 128k │
│ mistralai/mistral-large openrouter 2.00 6.00 32k │
╰──────────────────────────────────────────────────────────────────────────────╯
↑/↓ navigate Enter select f favorite Escape cancel Type to filter
Columns: ★ (favorited), model ID, provider, in$/mtok, out$/mtok, context window, role.
Key Action Up / DownMove selection EnterSwitch to the selected model fToggle favorite on the highlighted model EscapeClose the picker without switching Any text Live-filter models by ID or provider BackspaceDelete last filter character
Models are ordered: favorites (alphabetical) → recently used → rest (alphabetical).
/sessions opens a full-screen picker overlay:
╭─ Sessions ──────────────────────────────────────────────────────────────────╮
│ > a1b2c3 2026-03-21 "Refactor the parser module" ~/projects/app $0.02 │
│ d4e5f6 2026-03-20 "Add unit tests for lexer" ~/projects/app $0.04 │
│ 789abc 2026-03-19 "Fix memory leak in pool" ~/projects/lib $0.02 │
╰─────────────────────────────────────────────────────────────────────────────╯
↑/↓ navigate Enter open Escape cancel Type to filter
Key Action Up / DownMove selection EnterOpen the selected session EscapeClose the picker without changing sessions Any text Filter sessions by ID prefix or preview text
TUI slash commands are distinct from CLI subcommands. For example, /sessions in the TUI opens the picker, while clido sessions list on the command line prints a table. See CLI Reference for the full list of CLI commands.