Study FAQ
What can Claude Code do in plan mode, and what changes when I approve a plan?
Also asked as 2
- Does Claude Code plan mode allow shell commands or source edits?
- How should I review Claude Code's proposed actions before leaving plan mode?
Answer
Use Claude Code plan mode to inspect a repository and review a proposal before granting edit authority. In the terminal, start with claude --permission-mode plan. Typical plan-mode sessions block source edits until approval, while allowing file reads and certain shell activity. What a shell command can do depends on the session's configured permission controls.
If auto mode is available and useAutoModeDuringPlan is enabled, a classifier reviews shell commands subject to the documented exclusions. When that classifier is unavailable or disabled, commands outside Claude Code's built-in read-only set normally prompt. In an interactive terminal session that has bypass permissions enabled in its mode cycle, most edits and commands can run without a prompt before plan approval. Leave bypass unavailable when edits require prior review.
Check the proposed files, commands and external effects before approving. The approval choice determines the next permission mode. Select manual approval for a task that still requires review of individual edits. Broader permissions can be convenient for an isolated disposable environment with limited credentials. Keep managed deny rules, environment isolation and service permissions in place during planning and execution.
Claude Code permission modes · Claude Code permission rules · Claude Code CLI flags
Full explanation
Claude Code Context, Settings, and Permission Architecture
Study guide · CCAR-F
Read the full explanation