All categoriesconfigurationsession-management×utilitycontext-managementsetupparallel-agentsplanningdiagnostics
| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /exit Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q. | OpenCode | session-management | OpenCode |
| 2 | /export Export the current conversation to Markdown and open in $EDITOR. Keybind: Ctrl+x x. | OpenCode | session-management | OpenCode |
| 3 | /new Start a new session. Aliases: /clear. Keybind: Ctrl+x n. | OpenCode | session-management | OpenCode |
| 4 | /redo Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r. | OpenCode | session-management | OpenCode |
| 5 | /sessions List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l. | OpenCode | session-management | OpenCode |
| 6 | /share Share the current session publicly. | OpenCode | session-management | OpenCode |
| 7 | /undo Remove the last message and its responses, and revert any file changes made. Git-backed — requires a git repository. Keybind: Ctrl+x u. | OpenCode | session-management | OpenCode |