All categoriesconfigurationsession-managementutilitycontext-managementsetupparallel-agentsplanningdiagnostics
| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /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 |
| 2 | /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 |
| 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 |