Skip to content

Slash Commands

Slash commands provide quick actions inside the query editor. Type / followed by a command name to execute it.

query-cli — Command Palette
Commands
Search by name or description...
↑/↓navigate·enterrun·escclose
Execute the current query
/run
Open the command palette
/commands
Show keyboard shortcuts
/help
Pick an AI adapter and model
/ai-config
Insert @ai: at the cursor
/ask-ai

Available Commands

CommandDescriptionConfirm?
/runExecute the current queryNo
/commandsOpen the command paletteNo
/helpShow keyboard shortcutsNo
/ai-configPick an AI adapter and modelNo
/ask-aiInsert @ai: at the cursorNo
/save-querySave the current query under a nameNo
/new-queryStart a new empty queryNo
/rename-queryRename the active queryNo
/delete-queryDelete the active queryYes
/switch-querySwitch to another saved queryNo
/exitDisconnect and return to connection selectYes (if unsaved)

Using Commands

  1. Type / in the editor
  2. A suggestion popup appears with matching commands
  3. Use ↑/↓ to navigate and Tab or Enter to accept

Examples

sql
-- Save your current work
/save-query

-- Start fresh
/new-query

-- Get AI help
/ask-ai

-- Then type your request:
@ai: show me all active users

Command Palette

The command palette (F9 or Ctrl+P) provides a searchable list of all commands:

query-cli — Command Palette
Commands
Search by name or description...
↑/↓navigate·enterrun·escclose
Execute the current query
/run
Open the command palette
/commands
Show keyboard shortcuts
/help
Pick an AI adapter and model
/ai-config
Insert @ai: at the cursor
/ask-ai

Released under the MIT License.