# Accept Edits Mode

> Claude edits files on its own, but asks to run things.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** acceptEdits, --permission-mode acceptEdits, accept edits on

## Think of it like

It is like a helper who may move things in the room. They still ask before they leave the house.

## 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

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.

## Example code

```bash
claude --permission-mode acceptEdits
```

Let Claude edit files without asking each time.

## Why it matters

It takes away the prompt you see most, the file edit. Shell commands still need a yes.

## Common mistake

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

## Three principles

- **Edits without asking.** Files in the project.
- **Simple file commands.** mkdir, mv, cp.
- **Other commands ask.** Still guarded.

## Related terms

- [Permission Mode](https://learn.benibix.com/term/ai/permission-mode)
- [Manual Mode](https://learn.benibix.com/term/ai/manual-mode)
- [Git](https://learn.benibix.com/term/development/git)

## Taught in

- [Claude Code Permission Modes](https://learn.benibix.com/learn/ai-claude-code/claude-code-permission-modes): Claude Code, 5/16

![The six permission modes on a line from asking about everything to asking about nothing.](https://learn.benibix.com/diagrams/cc-permission-mode.svg)

---

Source: https://learn.benibix.com/term/ai/accept-edits-mode
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
