Skip to main content
Version: MVP

Slash commands

7 min readFor operatorsUpdated 2026-05-22

Craik's interactive shell uses a central slash-command registry. The registry gives every command a name, aliases, summary, usage, examples, readiness requirement, and mutation flag so shell, TUI, dashboard, and tests can share one command contract.

Core commands

/help
/setup
/auth
/provider
/provider login <provider>
/model
/status
/doctor
/sessions
/resume <session-id>
/approvals
/handoffs
/receipts
/skills
/memory
/gateway
/exit

Use /help <command> for command-specific syntax:

/help provider

Unknown commands return a nearest-match suggestion when possible:

unknown slash command: /stats. Did you mean /status?

Readiness gates

Setup commands are available before auth. Commands that inspect governed runtime objects may require an operator session and return a blocked message until the state exists.

The registry is also exposed for automation tests:

craik slash /status
craik slash "/help provider"

Use direct subsystem commands for full JSON outputs and mutation flows:

craik auth login openai
craik model set openai/gpt-5
craik session list

The dashboard action endpoint dispatches only read-only slash-command families. Mutating families such as /auth, /provider, /model, and /resume remain available through their direct CLI/runtime surfaces.