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.

Understanding how Slate works will help you use it more effectively. To get the most out of Slate, you’ll need to set up your environment and know how to prompt it well: -> Workspace Setup -> Prompting Guide

Frequently Used Features

Switching Sessions

Use /sessions to switch between existing sessions:

Session Selection Process

  1. Type /sessions and press Enter
  2. Use ↑/↓ arrows to navigate available sessions

Cancellation

Esc

Cancels the current agent step, current input or closes dialogs.

Ctrl+C

Hard interrupt - Stops the cli.

Message Queue

When Slate is busy and you submit a message, behavior depends on queue mode:
  • In queue mode (default), your message is queued and sent after the current run completes.
  • In interrupt mode, your message interrupts the current run and is sent next.

Follow-up messages

Queued messages appear above the input box as “follow-up message(s)” with a count badge [n] showing how many are waiting. Messages drain automatically (with a short 50ms delay) once the session goes idle.

⌥ + ↑ (Alt+Up)

Pops the latest queued message back into the composer so you can edit it before it’s sent.

Esc on empty input

While the agent is busy, pressing Esc on an empty input aborts the session and restores all queued messages into the composer.
Use /queue-mode to toggle between queue mode and interrupt mode while the agent is busy.
The queue persists across navigation — queued messages are stored in draft state and won’t be lost if you switch sessions and come back.

Multi-line Messages

Use Ctrl+L to focus the input box from elsewhere in the UI. Use Ctrl+Enter or Option/Alt+Enter to insert newlines:
> Please help me with:
  1. Parsing this JSON file    [Ctrl+Enter]
  2. Validating the schema     [Ctrl+Enter]
  3. Handling errors properly   [Enter to send]
Use Ctrl+A or Ctrl+E to jump to the beginning or end of the input context.

Shell Command Input

Execute shell commands directly with !:
!ls              # List files
!pwd             # Show directory
!git status      # Check git status
This will send the command output to Slate directly.

Context Management

Use @filename references:
> Please review @src/main.ts and suggest improvements
Add directories to expand agent’s context:
/workspace add ./src
/workspace add ./tests
/workspace list
Start fresh when switching tasks:
/workspace clear    # Clear workspace directories

Long Prompts

Press Ctrl+X then E to open your external editor for composing complex prompts:
1

Press Ctrl+X then E

Opens your system’s default editor
2

Write your prompt

Compose your detailed message in the editor
3

Save and close

The content automatically returns to Slate
This will not work if your permissions do not allow access to tmp or var as this command uses a temp file for your default text editor

Hotkey reference

Explore Slate’s complete set of commands.