Slash command
Free up context by summarizing the conversation so far. Optionally pass focus instructions for the summary.
Syntax
/compact [instructions]Example
/compact focus on the auth changes we madeReplaces earlier turns with a concise summary, freeing context while keeping critical details. Optionally pass focus instructions to guide what the summary emphasizes. Use after long exchanges so Claude retains key points without filling the context window.
configuration
View hook configurations for tool events. Comma-separated matchers like Bash,PowerShell work correctly as of v2.1.191.
parallel-agents
Stop the attached background session while keeping its transcript and git worktree.
code-review
Review the current diff for correctness bugs and for reuse, simplification, and efficiency cleanups. Pass --fix to apply findings, --comment to post as GitHub PR comments, or ultra for a deep cloud review.
setup
Initialize project with a CLAUDE.md guide covering repo conventions, commands, and agent instructions.
session-management
Resume a previous conversation by ID or name, or open the session picker.
configuration
Set the model effort level: low, medium, high, xhigh, max, or ultracode. Takes effect immediately without waiting for the current response.