Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.randomlabs.ai/llms.txt

Use this file to discover all available pages before exploring further.

This reference covers all available commands and hotkeys in Slate CLI, with interaction commands prioritized for quick access.

Quick Reference

Agent Interaction

1

Ctrl+X then E

Open external editor - Compose long prompts in your preferred editor
2

Ctrl+X then M

Open model picker - Switch between available models
3

Ctrl+O

Toggle subagent overlay - View active subagent sessions
4

Ctrl+Y

Navigate to parent session - Return to the parent session from a subagent session
5

Ctrl+Z

Undo last clear - Restore the last cleared input
6

Ctrl+L

Focus input - Move focus back to the input box from dialogs or other UI regions
7

Ctrl+C

Cancel/Exit - Cancel current operation or exit the application
1

!

Enter shell mode - Type ! to enter bash command mode
2

↑/↓ arrows

Navigate history - Browse through previous commands
3

Tab

Autocomplete - Complete commands and file paths

Slash Commands

All commands start with / and support autocomplete with Tab

Core Commands

Agent & Session Controls

Rename the active session.
Show or hide message timestamps in the current session.
Toggle between default permission prompts and session yolo mode.
Switch to the next configured main model.
Switch to the next available thinking/effort level for the current model.
Open your configured external editor for composing a prompt.
Open workspace configuration and permissions.

Workspace Management

Open the workspace manager to add, remove, and review workspace directories.
Open workspace management with quick-add flow for directories.

Theme Commands

System Commands

1

/auth

Login to your Slate account
2

/logout

Logout from your current account
1

/version

Check the current version of Slate CLI
2

/docs

Open Slate documentation in your browser
3

/config

Open workspace configuration and permissions
4

/man

Open the built-in manual page
5

/usage

View credit usage and remaining balance
6

/billing (aliases: /plan, /subscription, /org)

Switch billing context (personal/organization)
7

/mcps

Manage MCP servers and tools
8

/workspace (alias: /workspaces)

Open workspace manager
9

/add-dir

Quick-add a workspace directory
10

/queue-mode

Toggle queue vs interrupt behavior while the agent is busy
11

/exit

Exit the application gracefully

Shell Mode

Type ! at the beginning of a line to enter shell mode for direct command execution

Shell Mode Features

Command Execution
  • Run any shell command directly
  • Commands execute in the current workspace
  • Output is captured and displayed
  • Exit codes are reported
History & Completion
  • Full command history with ↑/↓ arrows
  • Tab completion for commands and paths
  • Persistent history across sessions

Common Shell Operations

!ls -la              # List files in detail
!pwd                 # Show current directory
!cd src              # Change directory
!cat README.md       # Display file contents
!mkdir new-folder    # Create directory

Special Key Combinations

KeyAction
EnterConfirm/Select
EscapeCancel/Close
Ctrl+CForce close/Cancel
↑/↓Navigate options
TabMove to next field

Tips & Tricks

  • Press Tab after typing / to see all available commands with autocomplete
  • Use the up arrow in shell mode to quickly find previous commands
  • Drag and drop files directly into the prompt for automatic path references
  • Ctrl+X then E opens your system’s default editor for composing complex prompts
  • Ctrl+X then M opens the model picker to switch models without leaving the chat
  • Use /workspace add . to quickly add the current directory
  • Chain shell commands with !command1 && command2
  • Use Ctrl+O to inspect subagent sessions while they run
  • Theme switching persists across sessions

Exit Codes

Understanding exit codes helps diagnose issues when commands fail
CodeDescription
0Success
1General error or invalid usage
2Misuse of shell command
126Command found but not executable
127Command not found
128Invalid exit argument
130User interrupted (Ctrl+C)