← Back to course
Claude Code Basics · you're the boss
Reading your files is always safe — Claude does that freely. But anything that changes things — an edit, a command — happens on your terms, from "ask me every time" to "just go." Out of the box, it asks first.

The default mode is the cautious one. Looser modes trade prompts for speed — you opt into them.
Think before doing
For anything big, switch to Plan mode. Claude explores and shows you exactly what it intends to do — and changes nothing until you say go.

Your control panel
Switch with the mode menu or Shift+Tab.
Going the wrong way? Hit Stop (or Esc) and redirect.
You hold the keys.
Your undo button
Took a wrong turn? Rewind rolls your session back to an earlier point — the conversation and the file changes Claude made — so you can experiment without fear.
/rewind — or press Esc twice. Pick an earlier point to roll back to.
A session-level safety net — it doesn't undo raw shell commands (like deleting files); that's what git is for.