9 cards
`/context`
Shows context usage by category with optimization hints.
`/compact [focus]`
Summarizes the conversation to free context while keeping the thread of work; state a focus so the summary keeps what you need.
`/clear`
Starts a new conversation with empty context; use when switching to unrelated work.
`/rewind` or Esc twice
Go back to a checkpoint: restore code, conversation, or summarize from a point.
Checkpoint limits
Does not track files changed only by Bash commands, most subagent edits, or changes outside Claude Code; does not replace git.
`/diff`, `/review`, `/security-review`
View working tree changes; review a diff/PR/branch; security analysis of changes on the branch.
`/usage` (alias `/cost`)
Session cost, plan limits and usage statistics.
`/model` and `/effort`
Switch model (switching mid-session loses the prompt cache); set effort from `low` to `max` or `auto`.
Red flags when reviewing Claude's diff
Tests with changed expected values, empty `catch {}`, new `as any`/`@ts-ignore`, dependencies nobody asked for, helpers duplicating existing code.