Skip to content

Slash Commands

Slash commands let you invoke specialized AI workflows directly from the chat input. Instead of writing a full prompt, type / to browse available commands, select one, and let the AI follow a precise workflow tailored for that task.

example-of-explain-error-code-command

How It Works

  1. Click the chat input and type /.
  2. A command palette opens, showing all available commands with descriptions.
  3. Use the arrow keys or mouse to select a command, then press Enter.
  4. Add any relevant details after the command name (error message, SQL, etc.).
  5. Press Cmd+Enter (or Ctrl+Enter) to send.

The command is expanded on the server before reaching the AI — you see the original /command in the chat history, while the AI receives the full structured prompt.

Available Commands

/explain_error_code

Diagnoses a ClickHouse error code or DB::Exception message using a dedicated error handbook. The AI looks up the exact function signature, setting name, or memory configuration relevant to the error code and provides a targeted fix.

Usage:

/explain_error_code error code: 42
error message: DB::Exception: Number of arguments for function toDate doesn't match
sql:
SELECT toDate(event_time, 'UTC') FROM events

Supported error codes include:

CodeSymbolic NameDescription
42NUMBER_OF_ARGUMENTS_DOESNT_MATCHWrong number of arguments passed to a function
115UNKNOWN_SETTINGUnrecognized ClickHouse setting name
241MEMORY_LIMIT_EXCEEDEDQuery exceeded a configured memory limit

For unsupported codes the AI falls back to its general ClickHouse knowledge and provides a best-effort diagnosis.

Keyboard Reference

KeyAction
/ at the start of inputOpen the command palette
/ Navigate commands
EnterSelect the highlighted command
EscapeClose the palette without selecting
Cmd+Enter / Ctrl+EnterSend the message

Next Steps

Released under the Apache License 2.0