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. 3 commands indexed.
commands
3
tools
5
allconfigurationsession-managementcontext-managementsetupcode-reviewplanningdiagnosticsparallel-agentsintegrationsexplorationautomation
/quit
session-management
Exit the Cursor CLI.
exitquit
view command →
/exit
session-management
Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q.
exitquit
view command →
/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.
undorevertgitrollback
view command →