# mogplex-slash (/cli/skills/mogplex-slash)



<Callout>
  This page mirrors the canonical `SKILL.md` at [`skills/mogplex-slash/SKILL.md`](https://github.com/webrenew/mogplex-docs/blob/main/skills/mogplex-slash/SKILL.md). Copy that file into your agent host (see [Skills overview](/cli/skills) for install paths).
</Callout>

## Frontmatter [#frontmatter]

```yaml
name: mogplex-slash
description: Recommends the right Mogplex slash command for a user's intent and explains what each command does in the cockpit composer. Use when the user asks how to start, pause, kill, or control a Mogplex run, attach to one from CI, switch models, manage approvals, or export.
```

## Body [#body]

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 [#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) [#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 [#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 [#auth]

| Intent                     | Slash command |
| -------------------------- | ------------- |
| Open the in-app login flow | `/login`      |
| Clear stored credentials   | `/logout`     |

### When the user says… [#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 [#what-you-cannot-do]

* Run a slash command from the shell. There is no `mogplex slash` subcommand; 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; `/help` inside the cockpit shows the live list.
* Drive the cockpit on the user's behalf. Tell them what to type.

### Safety [#safety]

* `/permissions auto` is the explicit user opt-in to "no questions asked." Recommend `/permissions approval` (the default) for normal use.
* `/kill` cancels the active run immediately and interrupts in-flight tool calls. Confirm before suggesting it on a long run.
* `/logout` clears stored credentials including hosted Mogplex state (synced model catalog, remote MCP). Confirm before suggesting.

## See also [#see-also]

* [using-mogplex-cli](/cli/skills/using-mogplex-cli)
* [mogplex-auth](/cli/skills/mogplex-auth)
* [Commands](/cli/commands)
