Slash Commands
In PI mode, press / to open command autocomplete.
Recognized slash commands are handled as commands, not normal user chat turns.
Command reference
Section titled “Command reference”| Command | Description |
|---|---|
/models | Interactive model picker |
/new | Start new session |
/sessions | List sessions |
/compact | Compact context |
/fork | Fork current session |
/state | Show state |
/stats | Show stats |
/commands | List commands |
/thinking | Toggle thinking visibility |
/tools | Toggle tool output |
/rename | Rename session |
/export | Export session |
/undo | Undo last action |
/theme | Open theme picker |
/help | List all commands |
/exit | Hard stop PI session |