| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /rewind Rewind conversation state to a previous point in history. Alias: /undo. | Antigravity CLI | session-management | Antigravity CLI |
| 2 | /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 |
| 3 | /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 |
| 4 | /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 |
| 5 | /rewind Navigate backward through history; revert chat and/or code to a prior state (also Esc Esc). | Gemini CLI | session-management | Gemini CLI |
| 6 | /redo Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r. | 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 |