Slash Commands
Slash commands provide quick actions inside the query editor. Type / followed by a command name to execute it.
query-cli — Command Palette
Available Commands
| Command | Description | Confirm? |
|---|---|---|
/run | Execute the current query | No |
/commands | Open the command palette | No |
/help | Show keyboard shortcuts | No |
/ai-config | Pick an AI adapter and model | No |
/ask-ai | Insert @ai: at the cursor | No |
/save-query | Save the current query under a name | No |
/new-query | Start a new empty query | No |
/rename-query | Rename the active query | No |
/delete-query | Delete the active query | Yes |
/switch-query | Switch to another saved query | No |
/exit | Disconnect and return to connection select | Yes (if unsaved) |
Using Commands
- Type
/in the editor - A suggestion popup appears with matching commands
- Use
↑/↓to navigate andTaborEnterto 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 usersCommand Palette
The command palette (F9 or Ctrl+P) provides a searchable list of all commands:
query-cli — Command Palette