| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /exit Exit the active session and terminate agy safely. Alias: /quit. | Antigravity CLI | session-management | Antigravity CLI |
| 2 | /fork Fork the current conversation thread into a new session, keeping original history intact. Alias: /branch. | Antigravity CLI | session-management | Antigravity CLI |
| 3 | /rename Rename the active conversation thread for better tracking and retrieval. | Antigravity CLI | session-management | Antigravity CLI |
| 4 | /resume Resume or switch to a past conversation session. Aliases: /switch, /conversation. | Antigravity CLI | session-management | Antigravity CLI |
| 5 | /rewind Rewind conversation state to a previous point in history. Alias: /undo. | Antigravity CLI | session-management | Antigravity CLI |
| 6 | /clear Start a new conversation with empty context. Previous session stays in /resume; use /rewind (v2.1.191+) to undo a clear in-session. Aliases: /reset, /new. | Claude Code | session-management | Claude Code |
| 7 | /resume Resume a previous conversation by ID or name, or open the session picker. | Claude Code | session-management | Claude Code |
| 8 | /rewind Rewind code and/or conversation to a checkpoint. As of v2.1.191, restore context from before /clear ran. Aliases: /checkpoint, /undo. | Claude Code | session-management | Claude Code |
| 9 | /archive Archive the current session and exit. Removes it from active session lists; transcript kept locally. Restore with 'codex unarchive <SESSION>'. | Codex CLI | session-management | Codex CLI |
| 10 | /fork Fork the current conversation into a new thread with a fresh ID, leaving the original transcript untouched for parallel exploration. | Codex CLI | session-management | Codex CLI |
| 11 | /new Start a new conversation inside the same CLI session without clearing the terminal view. | Codex CLI | session-management | Codex CLI |
| 12 | /resume Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over. | Codex CLI | session-management | Codex CLI |
| 13 | /new-chat Start a new chat session with empty context. | Cursor CLI | session-management | Cursor CLI |
| 14 | /quit Exit the Cursor CLI. | Cursor CLI | session-management | Cursor CLI |
| 15 | /resume Resume a previous chat session by folder name. | Cursor CLI | session-management | Cursor CLI |
| 16 | /clear Clear the terminal screen and visible history (same as Ctrl+L). | Gemini CLI | session-management | Gemini CLI |
| 17 | /restore Revert files to their pre-tool state using checkpointing. Pass a tool_call_id to restore a specific checkpoint. | Gemini CLI | session-management | Gemini CLI |
| 18 | /resume Browse auto-saved sessions and manage manual checkpoints. Conversations are auto-saved; use tags for manual checkpoints. | Gemini CLI | session-management | Gemini CLI |
| 19 | /rewind Navigate backward through history; revert chat and/or code to a prior state (also Esc Esc). | Gemini CLI | session-management | Gemini CLI |
| 20 | /exit Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q. | OpenCode | session-management | OpenCode |
| 21 | /export Export the current conversation to Markdown and open in $EDITOR. Keybind: Ctrl+x x. | OpenCode | session-management | OpenCode |
| 22 | /new Start a new session. Aliases: /clear. Keybind: Ctrl+x n. | OpenCode | session-management | OpenCode |
| 23 | /redo Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r. | OpenCode | session-management | OpenCode |
| 24 | /sessions List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l. | OpenCode | session-management | OpenCode |
| 25 | /share Share the current session publicly. | OpenCode | session-management | OpenCode |
| 26 | /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 |