Reference · 2 min read
Slash commands
Built-in slash commands for chat — session control, model routing, sub-agents, and custom commands in `.miton/commands/`.
- Product stage
- Pre-release development
- Last reviewed
- 2026-07-23
- Successful result
- The change is visible in the active project.
Who this is for: anyone extending chat with / commands — built-in actions, skills, or your own
YAML definitions.
Type / in the chat input to open the command picker. Filter by name, source, or shortcut; navigate
with the keyboard.
Task-oriented setup: Skills and commands.
Built-in commands
Session and export
| Command | What it does |
|---|---|
/help |
Open the command picker |
/clear |
Clear the current session |
/fork |
Fork the session into a new one |
/compact |
Condense older turns to free context |
/export |
Export session to Markdown or JSON |
/rewind |
Open the rewind drawer |
/miton |
Product help + allowlisted settings (ADR-0204); also $miton |
Model and routing
| Command | What it does |
|---|---|
/model |
Switch model for this session |
/profile |
Switch routing profile (cost / quality preset) |
/mode |
List or set steering mode (Chat, Plan, Confirm, …) |
/memory |
Open memory settings |
Sub-agents
| Command | What it does |
|---|---|
/verify |
Run the verifier sub-agent |
/explorer <question> |
Run the explorer sub-agent |
/debugger <hint> |
Run the debugger sub-agent |
/test-runner |
Start the test-runner sub-agent |
/orchestrator <plan> |
Run the orchestrator sub-agent |
Built-in commands are available in every surface with a chat input.
Custom commands
Add a YAML file at .miton/commands/<name>.yaml in your project root:
| Field | Purpose |
|---|---|
name |
Slash name shown in the picker |
description |
One-line summary |
systemPrompt |
Instructions for the agent |
tools |
Allowed tool names |
model / routingProfile |
Optional overrides |
args |
Argument specs for the picker |
workspace |
project, user, or shared scope |
Install community commands from the shared skill registry (moderated in Settings).
Workspace configuration
.miton/commands.yaml in the project root can:
- Disable built-in commands for this project
- Assign keyboard shortcuts to commands
- Set default argument values
Loaded when the project opens; persists across sessions.
Command history
Recent commands appear in the picker menu. History is per user (not per project) and stored locally.
Limits
- Slash commands are single invocations — multi-turn work continues as a normal session
- Plugin-provided commands follow the plugin model; they are not slash YAML files
See also
- Permission modes —
/modetargets - Keybindings
- Glossary — skills and sub-agents defined