| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /clear Clear the active terminal viewport and reset the screen buffer. Alias: /new. | Antigravity CLI | utility | 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 | /goal Set a persistent goal — Claude keeps working across turns until the condition is met. View, pause, resume, or clear with subcommands. | Claude Code | planning | Claude Code |
| 4 | /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 |
| 5 | /goal Set a persistent task goal (max 4,000 chars). Codex tracks it across turns. Subcommands: pause, resume, clear, view. | Codex CLI | planning | Codex CLI |
| 6 | /new Start a new conversation inside the same CLI session without clearing the terminal view. | Codex CLI | session-management | Codex CLI |
| 7 | /clear Clear the terminal screen and visible history (same as Ctrl+L). | Gemini CLI | session-management | Gemini CLI |
| 8 | /new Start a new session. Aliases: /clear. Keybind: Ctrl+x n. | OpenCode | session-management | OpenCode |