⌨️Accept Edits Mode
Also known as acceptEdits, --permission-mode acceptEdits, accept edits on
Claude edits files on its own, but asks to run things.
Think of it like
It is like a helper who may move things in the room. They still ask before they leave the house.
Example
Lucy asks Claude to rename a function in forty files. In this mode it makes all the edits. Then she checks the whole change in git.
Why it matters
It takes away the prompt you see most, the file edit. Shell commands still need a yes.
Definition
Example code
bash
claude --permission-mode acceptEditsCommon mistake
Key takeaways
- 1Edits without asking. Files in the project.
- 2Simple file commands. mkdir, mv, cp.
- 3Other commands ask. Still guarded.