Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Slash Commands

Slash commands are operator-level shortcuts you type directly in the TUI input bar. They are not model-tool calls and are not gated by the permission rule grammar — they run as your direct action.

How the slash system works

Type / in the input bar to open the suggestion menu. A fuzzy typeahead list appears showing all registered commands grouped by category.

Typeahead is partially implemented

The slash-menu fuzzy typeahead is marked 🟡 (partial) in the parity matrix. Basic prefix matching works; full fuzzy ranking and category grouping are in progress.

Continue typing to narrow the list, then press Enter (or Tab) to select a command. Some commands run immediately (immediate: true) and return to the input bar; others open an overlay or emit output to the transcript.

Hooks fire on every slash submission: UserPromptSubmit carries is_slash: true, command, and args, so hooks can audit or veto any slash command.

Plugin-supplied commands

Plugins can register additional slash commands through the same SlashCommandRegistry. Built-in commands take priority; a plugin command with a conflicting name is dropped with a warning at registration time. See Plugins for details.

Common commands

The table below lists the most frequently used built-in commands. The full list — including commands added by plugins — is enumerated at runtime by /help inside the TUI.

CommandArgsWhat it does
/helpOpen the help overlay listing all visible commands
/clearClear transcript and conversation history; keep todos and system prompt
/quitExit caliban (/exit is an alias)
/resume[query]List persisted sessions (optional name substring filter)
/init[--force]Generate CLAUDE.draft.md from AGENTS.md / .cursorrules / git status
/model[id]Show or switch the active model (same-provider swap in v1)
/effort<level>Set reasoning effort: low, medium, high, max, or auto
/usageShow token usage and cumulative cost for this session
/costShow cumulative USD spend with per-model breakdown
/contextShow context-window utilization + top-N largest blocks
/compactTrigger the configured compactor to summarize history
/configOpen the configuration overlay (merged settings + scope chain)
/mcpOpen the MCP server status overlay
/hooksList configured hooks per event
/pluginsList installed plugins with enable/disable status
/permissionsOpen the permissions overlay; cycle mode with Tab, delete rule with d
/rewindOpen the checkpoint picker (also: Esc Esc on empty input)
/recapSummarize the conversation without mutating history
/btw<question>One-shot ephemeral side query to a fast model; result inlined
/export[path] [--format json]Export session transcript to markdown (or JSON)
/doctor[--deep]Run health checks: settings, MCP, skills, hooks, provider auth
/statusShow provider and auth status
/statuslineInspect the active custom status-line configuration
/loop[--n=N] [--interval=S]Plan repeated turns (execution bounded by --max-turns)

Full reference

The complete, up-to-date slash command index — including plugin-supplied commands and hidden aliases — lives in Slash Command Index. The index is generated from the live registry so it always reflects what is actually registered in your build.

Adding your own slash commands

Custom slash commands are defined as skills or plugins. See Custom Slash Commands for the authoring guide.