Type any of these in the input box (they autocomplete as you type).
| Command |
Description |
/clear |
Clear the current context (persists to disk) |
/compact |
Force context compaction on the next turn |
/rewind <n> |
Rewind to keep only the first N messages |
/rewind |
List recent messages with indices |
/sessions |
List previous sessions (up to 20) (/session also works) |
/resume <id> |
Resume a previous session by ID |
See Sessions for details on persistence, resume, and rewind.
| Command |
Description |
/model <name> |
Switch to a different model |
/model |
Open the model picker (/models also works) |
/thinking <variant> |
Set thinking variant (high, max, thinking, off) |
/thinking |
Show usage help |
| Command |
Description |
/persona <name> |
Switch to a named persona (opens confirm modal) |
/persona |
List available personas |
/persona default |
Clear the active persona |
| Command |
Description |
/permissions |
Open the permission mode picker (/permission also works) |
/permissions <mode> |
Switch directly: standard, permissive, auto, auto_plus, dangerous |
See Permissions for mode details, rules, and sandboxing.
| Command |
Description |
/help |
Show available commands |
/cost |
Show cost breakdown (tokens, $) |
/todo |
Show the session todo list |
/mouse /m |
Toggle mouse capture for text selection |
/quit /q |
Exit mew |