CLI
Slash commands
Steer an interactive memcode session. Models, modes, cost, planning, history, and more.
Inside an interactive session, slash commands steer the agent without leaving
the flow. Type /help any time for the live list. Commands marked local work
even when you are signed out.
| Command | Description |
|---|
/help | Command reference. Alias /?. |
/login | Sign in to a hosted account. |
/logout | Sign out of a hosted account. |
/clear | Start a fresh session. Alias /new. |
/quit | Exit. Alias /exit. |
| Command | Description |
|---|
/model | Pick Automatic or pin a specific model. auto clears the pin. A vendor name such as openai or anthropic sets the Automatic strong-tier vendor. Anything else pins that model. Alias /models. |
/apikeys | Add your own provider keys. They are stored in the gateway vault, never written locally. Alias /keys. |
See Model routing for how Automatic decides.
| Command | Description |
|---|
/mode | Cycle ask, auto, allow-all, or set one directly. |
/effort | Thinking budget: off, medium, high, or auto. Session-scoped, resets on restart. |
/personality | Voice only, such as professional, dry, or zen. Never changes behavior or permissions. Persisted. |
/extramile | Toggle extra attention to edge cases and completeness. Persisted. |
/theme | Pick a color theme. Alias /themes. Persisted. |
/sync | Choose which editor-context files to write memory to, and run it. |
| Command | Description |
|---|
/plan <task> | Research read-only, then offer Execute, Advisor, or Cancel. |
/yolo <task> | Plan, auto-resolve open questions, and auto-execute. |
| Command | Description |
|---|
/cost | Session spend: tokens, cache hit rate, dollar estimate. |
/costp | Spend broken down by purpose. |
/costby | Spend broken down by backend. |
/status | One line: model, mode, branch, tokens. Local. |
/debug | Full runtime dump, including wire-trace state. Local. |
/doctor | Backend and engine health checks. |
| Command | Description |
|---|
/advisor <question> | A second opinion from a strong outside model. |
/overview | Current-state overview of the project. |
/next | Recommend the next move. |
/recap | Summarize recent work. |
/goal <what> | Record an objective. |
/arch | Show the stored architecture diagram. Local. |
/todos | Show the work-tracker checklist. Alias /todo. |
| Command | Description |
|---|
/compact | Summarize older turns to reclaim context. |
/resume [id] | Re-enter the most recent or a specific session. |
/fork [id] | Copy a session's transcript and checkpoints into a new one. |
/rewind [n] | Undo the agent's edits back to a checkpoint. Confirms first. |
| Command | Description |
|---|
/dispatch <task> | Spawn a detached, hands-off sub-agent in auto mode. |
/agents | List dispatched sub-agents. Use /agents stop <id> to terminate one. |
/jobs | Background shell jobs. Also /tail <job> and /kill <job>. |
/websites | List your organization's AI-built sites. Alias /sites. |