Cycle approval modes during a session

tools & sandbox

// what it does

Approval modes control how much the agent can do without asking. Press Shift+Tab to cycle default (prompt for everything), auto_edit (auto-approve file edits), and plan (read-only, no changes). Ctrl+Y separately toggles YOLO, which auto-approves every tool call including shell commands.

// shortcut

Shift+Tab
Ctrl+Y

// gotcha

Plan mode is read-only, so the agent will draft changes but refuse to apply them — switch out of it before you expect edits to land. YOLO is the opposite extreme with no confirmation on shell commands; the --approval-mode flag accepts default, auto_edit, and yolo for setting the mode at launch.

// resources