docs/features/auto-approve.mdx
Auto Approve lets you decide which actions Cline can take without prompting you each time. It keeps you out of approval popups during routine work while letting you keep tight control over high-risk actions.
If you find yourself repeatedly clicking approve for the same safe operations, Auto Approve fixes that.
<Frame> <video style={{ width: "100%" }} src="https://storage.googleapis.com/cline_public_images/autoapprove.mp4" autoPlay controls playsInline /> </Frame>Auto Approve is evaluated per tool call. When Cline is about to read a file, edit a file, run a command, or use the browser, it checks your Auto Approve settings for that category.
A few details matter:
| Setting | What It Allows |
|---|---|
| Read project files | Read files, list files, search in your workspace |
| Read all files | Read files outside your workspace (requires base toggle) |
| Edit project files | Create and edit files in your workspace |
| Edit all files | Edit files outside your workspace (requires base toggle) |
| Execute safe commands | Run terminal commands marked safe |
| Execute all commands | Run commands requiring approval (requires base toggle) |
| Use the browser | Browser tool for web fetching and searching |
| Use MCP servers | MCP tools and resources |
| Enable notifications | Notifies you about long-running commands |
Cline does not use a fixed allowlist. The model marks each command with a requires_approval flag based on the command and arguments. These are examples, not guarantees.
Commonly treated as safe:
npm run build, npm test - Build/test outputgit status, ls -la, cat package.json - Read-only commandsCommonly requires approval:
npm install <pkg> - Modifies dependenciesrm -rf <path> - Deletes filesmv <a> <b> - Moves files (can overwrite)sed -i ... - In-place file editsA good default setup:
If you enable edits, use Checkpoints so you can roll back quickly.
YOLO mode is Auto Approve on steroids. Check the box and Cline auto-approves everything: file changes, terminal commands, browser actions, MCP tools, and mode transitions.
<Note> **Warning: This is dangerous.** YOLO mode disables all safety checks. Cline executes whatever it decides without asking permission. </Note>When YOLO mode is enabled:
Rapid prototyping where you want zero friction and don't care about potential mistakes. Perfect for throwaway experiments.
Trusted, repetitive tasks where you've validated Cline's approach and want to eliminate approval overhead.
Demonstration purposes where you want to show Cline's capabilities without interruptions.
Cline could:
Navigate to Cline Settings, then Features, and check "YOLO Mode." No confirmation dialogs. Once enabled, Cline auto-approves all actions immediately. Uncheck to disable.