Slash command
Enter plan mode to design your approach before coding. Claude proposes an execution plan for review before any implementation starts.
Syntax
/plan [description]Example
/plan refactor the auth module to use JWTSwitches Claude Code into plan mode where it researches the codebase and produces a reviewable plan. Pass an optional description to enter plan mode and immediately start with that task, e.g. /plan fix the auth bug. While a task is already running, /plan is temporarily unavailable.
context-management
Visualize current context usage as a colored grid. Shows optimization suggestions for context-heavy tools and capacity warnings.
session-management
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.
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.
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.
configuration
Set or view the default environment for cloud agents spawned from Claude Code sessions.
configuration
View hook configurations for tool events. Comma-separated matchers like Bash,PowerShell work correctly as of v2.1.191.