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. 10 commands indexed.

commands
10
tools
6

/fork

session-management

Antigravity CLI

Fork the current conversation thread into a new session, keeping original history intact. Alias: /branch.

forksessionbranch
view command →

/rewind

session-management

Antigravity CLI

Rewind conversation state to a previous point in history. Alias: /undo.

undorewindstate
view command →

/btw

context-management

Claude Code

Ask a quick side question without adding it to the main conversation history.

side-questioncontextquick
view command →

/resume

session-management

Claude Code

Resume a previous conversation by ID or name, or open the session picker.

resumesessionshistory
view command →

/resume

session-management

Codex CLI

Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over.

resumesessionshistory
view command →

/resume

session-management

Cursor CLI

Resume a previous chat session by folder name.

resumesessionshistory
view command →

/clear

session-management

Gemini CLI

Clear the terminal screen and visible history (same as Ctrl+L).

clearterminalvisual
view command →

/resume

session-management

Gemini CLI

Browse auto-saved sessions and manage manual checkpoints. Conversations are auto-saved; use tags for manual checkpoints.

resumesessionscheckpointshistory
view command →

/rewind

session-management

Gemini CLI

Navigate backward through history; revert chat and/or code to a prior state (also Esc Esc).

rewindundohistoryrollback
view command →

/sessions

session-management

OpenCode

List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l.

sessionsresumehistory
view command →