All categoriesconfigurationsession-management×utilitycontext-managementsetupparallel-agentsplanningdiagnostics
| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /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 |
| 2 | /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 |
| 3 | /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 |
| 4 | /redo Restore a previously undone message and file changes. Git-backed. Keybind: Ctrl+x r. | OpenCode | session-management | OpenCode |