Safeguard Docs
Safeguard CLI

Slash commands

Every command available inside the Safeguard interactive terminal

Slash commands

Inside the interactive terminal, anything beginning with / is a command rather than a message. Type / on its own to open the palette and filter as you type; and move, enter runs, esc closes.

/help lists these in the terminal itself.

Account

CommandWhat it does
/loginSign in and start scanning. Opens your browser to approve the session, then the runner begins polling for jobs.
/logoutSign out and go offline. Stops the runner.
/whoamiShow who you're signed in as.

AI

CommandWhat it does
/modelShow or switch the AI model. With no argument it opens a picker; with one it switches directly.
/compactSummarize the conversation to free context.
/resumeResume your last session in this folder.

/model accepts an id or a label, matched case-insensitively, so /model griffin-2p and /model Premium do the same thing. An unknown name is rejected and lists what is available rather than switching to a model that does not exist.

Runner

CommandWhat it does
/scanScan a folder, image, or repo. Called with no argument, it asks what to scan.
/statusShow current scan status — user, tenant, runner, uptime, job counts, approval mode.
/jobsShow recent scan history.
/permissionsChoose approval mode: ask, auto, or yolo.

Tools

CommandWhat it does
/doctorDiagnose health and connectivity.

General

CommandWhat it does
/copyCopy the last response to the clipboard.
/clearClear the conversation. Also forgets the context the assistant was carrying.
/versionShow version info.
/helpShow all commands.
/quitExit Safeguard.

/copy is new in 1.2.0. Your terminal's own selection works too — the CLI does not capture the mouse — but /copy is easier than dragging across a long answer. See Selecting and copying.

Attaching a file

@ is not a command, but it behaves like one: typing it opens a picker for the folder you started in, and the file you choose is attached to your message so the assistant can read it.

Next Steps

On this page