Type / to get an autocomplete list of commands
- Models
- Selecting:
/model [sonnet|opus] - leave model out to check current one
- Which to use
- Sonnet: daily driver
- Opus: expensive but powerful
- Write mode (shift-tab to toggle)
- Normal: have to approve everything
- Auto-accept edits
- Plan mode (don’t write to files)
- Referencing files:
@ prefix
- Thinking mode
- Use phrasing like “think/think hard/think harder” (works in either Sonnet or Opus)
- Context windows
- Will warn that auto-compact is coming soon
/compact - Manually compact in advance so you don’t lose context in the middle of something you need it for
/clear to fully clear context if done tasks
- Rules -
CLAUDE.md
- Put individual rules in here; not separate rules like Cursor
- Can be at user level, project level, and in project subdirs
# command: create a memory and add it to the file
- Commands: a shortcut for a repeated prompt
- Within it,
! interpolates a bash command
- Subagents
- They have their own context window
- So when you have parts of the work that require different kinds of context, have different subagents, one per role
- Misc
/init
/resume - pick up a conversation you left off in a previous run, can choose from a list