Skip to Content
CLI ReferenceSlash Commands

Slash Commands

In the chat composer, type / to open an autocomplete popup of commands (these mirror the web UI’s quick-switchers). Keep typing to filter; tab completes, enter runs.

Slash command autocomplete in the composer

CommandArgumentAction
/newStart a fresh chat (agentless until you attach one)
/agentAttach / switch the agent (opens a picker)
/clearagentDetach the agent (general chat)
/model<model-name>Set the model for this chat
/chainSet the provider chain (opens a picker)
/copyCopy the last reply to the clipboard
/usageShow this chat’s token / tool usage in the sidebar
/agentsShow the chat’s agent hierarchy tree in the sidebar
/infoShow chat info (id, counts) in the sidebar
/localToggle running shell/file tools on this machine
/yoloToggle auto-approve for local commands (no confirmation prompt)
/cd<path>Set the host working directory for local execution
/pwdShow the host working directory for local execution
/helpShow available commands in the status line

Aliases: /stats/usage; /hierarchy, /tree/agents; /?/help.

/local and /yolo let the agent run commands on the machine the TUI runs on. /yolo removes the per-command confirmation prompt — use it only when you trust the agent and the working directory. See Local Execution.