Skip to content
BENIBIX Learn

Accept Edits Mode

AI⌨️ Claude CodeClaude Code Concepts

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

Accept edits mode lets Claude Code edit files without asking each time. It also runs common file commands on its own, such as mkdir, touch, mv and cp. Other shell commands still need your yes. Its value in settings files is acceptEdits. It fits work where you review the changes at the end, for example in git, rather than one by one.

Example code

bash
claude --permission-mode acceptEdits
Let Claude edit files without asking each time.
Accept edits mode lets file edits through and asks about the rest.

Common mistake

Forgetting to review the changes. Nothing stops a bad edit, so read the diff before you commit.

Key takeaways

  1. 1
    Edits without asking. Files in the project.
  2. 2
    Simple file commands. mkdir, mv, cp.
  3. 3
    Other commands ask. Still guarded.

Learn it properly