Slash command
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.
Syntax
/clear [name]Wipes the active context window. Optionally name the previous conversation so you can find it in /resume. If you cleared too aggressively, /rewind (v2.1.191+) restores context from before the clear without starting from zero. Aliases: /reset, /new.
configuration
View hook configurations for tool events. Comma-separated matchers like Bash,PowerShell work correctly as of v2.1.191.
parallel-agents
Orchestrate large-scale changes across a codebase in parallel. Decomposes work into 5–30 independent units, each in its own git worktree with its own PR.
setup
Edit CLAUDE.md memory files, enable or disable auto-memory, and view auto-memory entries.
configuration
Set or view the default environment for cloud agents spawned from Claude Code sessions.
parallel-agents
Detach the current session to run as a background agent and free this terminal. Optionally pass a final instruction before detaching.
session-management
Resume a previous conversation by ID or name, or open the session picker.