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.
diagnostics
Audit and clean up your Claude Code setup: unused skills, MCPs, and plugins, CLAUDE.md dedup and splitting, slow hooks, auto mode, and permission pre-approval. Confirms before making changes.
setup
Initialize project with a CLAUDE.md guide covering repo conventions, commands, and agent instructions.
configuration
View hook configurations for tool events. Comma-separated matchers like Bash,PowerShell work correctly as of v2.1.191.
code-review
Analyze pending branch for security vulnerabilities — injection, auth issues, data exposure, and other OWASP risks.
code-review
Open an interactive diff viewer showing uncommitted changes and per-turn diffs. Navigate with arrow keys between the git diff and individual Claude turns.
session-management
Resume a previous conversation by ID or name, or open the session picker.