Mogplex Docs
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

CommandWhat it does
/run <task>Start a new run with the given task as the initial prompt.
/pausePause the active run. Agents stop at the next safe point.
/resumeResume a paused run.
/killCancel the active run. Agents are stopped; in-flight tool calls are interrupted.

Surface inspection

CommandWhat it does
/agentsList agents on the active run with status and current action.
/mcpOpen the MCP drawer — per-server status and tools.
/memoryOpen the Memory drawer — browse and manage entries.
/diffOpen the Diff drawer — inspect patches produced by the run.
/costOpen the Cost drawer — tokens, cost, projections per agent.

Cockpit control

CommandWhat it does
/modelOpen 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.
/exportOpen the Run Export drawer — serialize the run as JSON, JSONL, or Markdown.
/helpOpen the Command Palette to fuzzy-search every action.
/clearClear the composer.
/quit (alias /exit)Clean exit.

Auth

CommandWhat it does
/loginOpen the in-app login flow.
/logoutClear 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 tests

If 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

Edit on GitHub

On this page