AcceptEdits Mode: Speeding up Refactoring
AcceptEdits mode is the sweet spot for developers who have already reviewed a plan and want Claude to execute it without interruption.
Behavior
In addition to read-only tools, it automatically allows:
- File Edits
- FS Commands:
mkdir,touch,rm,rmdir,mv,cp,sed.
Constraints
- Scope: Only affects the current working directory and
additionalDirectories. - Protected Paths: Still prompts if it tries to touch
.gitor.claude. - Non-FS Commands: Commands like
npm installorcurlstill prompt for approval.
Status Bar Indicator: ⏵⏵ accept edits on
Typical Workflow
You've reviewed a 10-file refactoring plan. You don't want to press 'y' for every single edit. You switch to acceptEdits and watch Claude work. You can review the changes afterward using git diff.