Configure & Extend
Slash Commands
Every slash command you can type in the Mogplex CLI composer.
The CLI's command surface is slash commands in the composer. There are no top-level subcommands beyond bare mogplex (open the cockpit) and mogplex --attach <runId> (attach mode).
Run control
| Command | What it does |
|---|---|
/run <task> | Start a new run with the given task as the initial prompt. |
/pause | Pause the active run. Agents stop at the next safe point. |
/resume | Resume a paused run. |
/kill | Cancel the active run. Agents are stopped; in-flight tool calls are interrupted. |
Surface inspection
| Command | What it does |
|---|---|
/agents | List agents on the active run with status and current action. |
/mcp | Open the MCP drawer — per-server status and tools. |
/memory | Open the Memory drawer — browse and manage entries. |
/diff | Open the Diff drawer — inspect patches produced by the run. |
/cost | Open the Cost drawer — tokens, cost, projections per agent. |
Cockpit control
| Command | What it does |
|---|---|
/model | Open the Model Picker drawer — switch the run's model. |
/permissions <mode> | Set the active permission mode (approval or auto). Takes effect on next run. |
/permissions | (no arg) Show the resolved permission state and where each rule came from. |
/export | Open the Run Export drawer — serialize the run as JSON, JSONL, or Markdown. |
/help | Open the Command Palette to fuzzy-search every action. |
/clear | Clear the composer. |
/quit (alias /exit) | Clean exit. |
Auth
| Command | What it does |
|---|---|
/login | Open the in-app login flow. |
/logout | Clear stored Mogplex token. The login screen appears next launch. |
Composing tasks
Anything that is not a slash command is sent to the active agent as a task or follow-up:
> rebuild the validation layer using zod and update the testsIf you type a partial slash command, autocomplete candidates appear above the line. Unknown slash commands surface as inline composer errors so you don't accidentally send them as prompts.
See also
- Reference → Drawers — what each drawer does once opened.
- Concepts → Permissions — what
/permissions <mode>actually changes. - Concepts → Attach —
--attach <runId>for in-flight runs.