slash commands / reference
COMMAND REFERENCE▌
Slash commands for every AI coding tool — Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode. Find the right command for your workflow. 7 commands indexed.
/exit
session-management
Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q.
/export
session-management
Export the current conversation to Markdown and open in $EDITOR. Keybind: Ctrl+x x.
/new
session-management
Start a new session. Aliases: /clear. Keybind: Ctrl+x n.
/redo
session-management
Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r.
/sessions
session-management
List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l.
/share
session-management
Share the current session publicly.
/undo
session-management
Remove the last message and its responses, and revert any file changes made. Git-backed — requires a git repository. Keybind: Ctrl+x u.