Slash Commands
Common workflows in the composer — start a run, pause, switch model, view a diff, approve, export.
For the full list of slash commands, see Commands. This guide walks the workflows that actually use them.
Start a run
/run review the staged diff for regressionsThe Agents panel populates as core spawns workers. The Timeline streams events. Watch the Header for transport: nominal and a non-empty model.
Pause and resume
/pause
/resume/pause lets agents stop at the next safe point. Use it before you switch models or change permissions.
Switch the model mid-run
/modelOpens the Model Picker drawer. Pick a model and confirm. If the active permission mode gates change_model as ask, the change surfaces in the Approval drawer first.
Inspect a diff
/diffOpens the Diff drawer with the most recent patch. Step through hunks; approve or reject if the run is gated.
Approve or reject pending tool calls
The Approval drawer surfaces gated requests automatically. From the composer, you can also use the Command Palette:
/helpThen search "Approval" to focus the drawer.
See Concepts → Approvals.
Switch permission modes
/permissions auto
/permissions approvalauto runs everything without asking; approval (the default) gates anything that touches the workspace. The change applies on the next /run — no restart required.
Check cost and usage
/costPer-agent and per-run breakdown. Crossed thresholds also appear in the Priority alerts strip.
Export the run
/exportOpens the Run Export drawer. Pick a format (JSON, JSONL, Markdown) and scope.
See Reference → Export.
Kill the run
/killCancels the active run immediately. Agents are stopped; in-flight tool calls are interrupted.
Quit the cockpit
/quitOr /exit, or double-tap Ctrl+C (single press is a soft-interrupt — see Reference → Keybindings).
Common pitfalls
- Typing
/runwith no arguments — sends an empty task; you'll get an inline composer error. - Forgetting that
/permissionsis per-spawn — you set the mode now; it applies to the next/run. - Using
qwith a drawer open —qonly quits when no drawer is open. While a drawer is open it's reserved for the drawer. - Pressing Ctrl+C once and walking away — that's a soft-interrupt, not a quit. Press it twice within 1500ms to exit.
Add your own commands
Custom commands are markdown prompt templates from project or user scope. The
authoring format exists in the CLI runtime, but the running cockpit's active
registry is still whatever /help shows.
Use project commands for repo workflows:
.agents/commands/review-staged.md
.agents/commands/release/notes.mdUse user commands for personal workflow shortcuts:
$MOGPLEX_HOME/commands/debug-failing-test.mdSee Custom Slash Commands for frontmatter, arguments, aliases, template variables, precedence rules, and the current registry limitation.
See also
- Commands — full slash command reference
- Custom Slash Commands
- Reference → Keybindings
- Reference → Drawers