Slash Commands#
All commands start with /. Typing / in the input field shows autocomplete.
Getting Started (2)#
| Command | Description |
|---|
/help [command] | Help for a command or general help |
/quickstart | Quick start with examples |
Sessions (8)#
| Command | Description |
|---|
/model [name] | Switch model (flash, pro, sonnet, opus, haiku) |
/clear | Clear conversation history |
/compact | Force context compaction |
/save [name] | Save current session |
/resume <id> [--force] | Restore a saved session |
/sessions [--all] | List saved sessions |
/stats | Session statistics (tokens, cost, context) |
/instructions [--source] | Show loaded project instructions |
Auth & Settings (9)#
| Command | Description |
|---|
/login [provider] [key] | Set provider API key |
/logout [provider|all] | Remove API key(s) |
/oauth-login | Login to Gemini via Google account (OAuth) |
/oauth-logout | Remove OAuth credentials |
/provider [name] | Switch AI provider |
/status | Current configuration status |
/doctor | Environment and configuration diagnostics |
/config | Show current settings |
/update [install|backups|rollback] | Check and install updates |
Git (3)#
| Command | Description |
|---|
/init | Initialize GOKIN.md for the project |
/commit [-m message] | Create a git commit |
/pr [--title title] [--draft] [--base branch] | Create a pull request |
Planning & Observability (10)#
| Command | Description |
|---|
/plan | Toggle planning mode |
/resume-plan [list|<plan_id>] | Resume a paused plan |
/tree-stats | Tree planner statistics |
/health | Runtime health and provider reliability |
/policy | Policy engine and circuit breaker state |
/ledger | Current plan run ledger |
/journal | Recent execution journal events |
/recovery | Latest recovery snapshot |
/observability | Combined observability dashboard |
/memory-governance | Memory and session governance state |
| Command | Description |
|---|
/browse [path] | Interactive file browser |
/open <file> | Open file in editor |
/copy [--last|--all|--ascii] [text] | Copy to clipboard |
/paste | Get text from clipboard |
/ql <file> | Quick Look (macOS only) |
/clear-todos | Clear all todo tasks |
/permissions [on|off] | Enable/disable permission prompts |
/sandbox [on|off] | Enable/disable bash sandbox |
/theme [name] | Switch UI theme |
/semantic-stats | Semantic index statistics |
/semantic-reindex | Rebuild semantic index |
/register-agent-type <name> "<desc>" | Register a custom agent type |
/list-agent-types | List all agent types |
/unregister-agent-type <name> | Remove a custom agent type |
Options for /register-agent-type:
/register-agent-type explorer "Code explorer agent" --tools read,glob,grep --prompt "You are a code explorer"
Keyboard Shortcuts#
Navigation#
| Key | Action |
|---|
↑ / ↓ | Navigate suggestions or history |
Ctrl+B | Scroll up |
Ctrl+F | Scroll down |
Ctrl+U | Scroll half page up |
Ctrl+D | Scroll half page down |
| Key | Action |
|---|
Enter | Send message |
Tab | Autocomplete command / apply code |
Ctrl+R | Reverse search input history |
Ctrl+U | Clear input line |
Ctrl+L | Clear screen / redraw |
Esc | Cancel / close modal |
UI Controls#
| Key | Action |
|---|
Ctrl+P | Command palette (all actions) |
Ctrl+G | Select mode (freeze + native text selection) |
Ctrl+C | Quit application |
Ctrl+D | Quit (alternative) |
Shift+Tab | Toggle planning mode |
Shift+Y | Copy chat history |
Option+C / Alt+C | Copy last AI response |
Code Actions#
| Key | Action |
|---|
Tab | Apply code block |
Enter | Accept diff |
Context Dialogs#
| Context | Keys |
|---|
| Command palette | Type to filter, ↑/↓ navigate, Enter select |
| File browser | / navigate, Enter select, Esc cancel |
| Permission dialog | y Allow, a Always, n Deny, Esc Cancel |
| Shortcuts | Type to filter, ↑/↓ scroll, Esc close |
Each command has metadata:
| Field | Description |
|---|
| Category | Category (Getting Started, Session, Auth, Git, Planning, Tools) |
| Priority | Sort order within category |
| Platform | Platform restriction (darwin, linux, windows) |
| RequiresGit | Requires a git repository |
| RequiresAPI | Requires a configured API key |
| Advanced | Hidden by default, visible in search |
On command name typos, Gokin suggests the closest match (Levenshtein distance).