Mogplex slash commands
The Mogplex CLI's command surface is slash commands in the cockpit composer. They run inside the interactive TUI — not from the shell. Use this skill to tell the user which slash command to type.
Run control
| Intent | Slash command |
|---|---|
| Start a new run | /run <task> |
| Pause the active run | /pause |
| Resume a paused run | /resume |
| Cancel the active run | /kill |
Surface inspection (open a drawer)
| Intent | Slash command |
|---|---|
| List agents on the active run | /agents |
| Per-MCP-server status | /mcp |
| Browse memory | /memory |
| Inspect a patch | /diff |
| Tokens, cost, projection | /cost |
Cockpit control
| Intent | Slash command |
|---|---|
| Switch models mid-run | /model |
| Set permission mode | /permissions <approval|auto> |
| Show the resolved permission state | /permissions (no arg) |
| Serialize the run | /export |
| Open the command palette | /help |
| Clear the composer | /clear |
| Quit the cockpit | /quit (alias /exit) |
Auth
| Intent | Slash command |
|---|---|
| Open the in-app login flow | /login |
| Clear stored credentials | /logout |
When the user says…
| User says | You recommend |
|---|---|
| "Run a task on this repo" | Open mogplex and type /run <their task> |
| "Pull up that run from CI" | mogplex --attach <runId> |
| "Switch to Sonnet" | Type /model in the composer |
| "Approve all pending tool calls" | Open the Approval drawer (use Command Palette via /help if not visible) and approve from there |
| "Run unattended for the next hour" | /permissions auto — flag the safety implications |
| "Save what just happened" | /export and pick Markdown for human-readable, JSON/JSONL for tooling |
| "Get out" | Double-tap Ctrl+C within 1500ms, or /quit |
What you cannot do
- Run a slash command from the shell. There is no
mogplex slashsubcommand; slash commands only execute inside the running cockpit. - See which slash commands are available without launching the cockpit. The registry is built into the binary;
/helpinside the cockpit shows the live list. - Drive the cockpit on the user's behalf. Tell them what to type.
Safety
/permissions autois the explicit user opt-in to "no questions asked." Recommend/permissions approval(the default) for normal use./killcancels the active run immediately and interrupts in-flight tool calls. Confirm before suggesting it on a long run./logoutclears stored credentials including hosted Mogplex state (synced model catalog, remote MCP). Confirm before suggesting.