$ recombobulate _
home / tips / set-acceptedits-mode-to-skip-file-write-prompts
0

Set acceptEdits Mode to Skip File-Write Prompts

bagwaa @bagwaa · Mar 26, 2026 · Configuration
set-acceptedits-mode-to-skip-file-write-prompts

Clicking "Allow" every time Claude wants to write a file gets old fast. But handing over bash approval with --dangerously-skip-permissions feels like too much. acceptEdits is the mode most people don't know exists.

// ~/.claude/settings.json
{
  "defaultMode": "acceptEdits"
}

With acceptEdits active, Claude can freely create, edit, and delete files without stopping to ask. It will still pause and ask for your approval before running any bash or shell command. That means no surprise rm -rf calls, no rogue git push, but also no endless clicking through file-write confirmations.

There are actually five permission modes in Claude Code:

  • default — asks before every file write and bash command
  • acceptEdits — auto-approves file edits, still asks for bash
  • plan — read-only, Claude can look but cannot touch anything
  • auto — an AI classifier watches each action and decides in real time
  • bypassPermissions — skips all checks, for isolated sandboxes only

You can set acceptEdits as your default in ~/.claude/settings.json (as shown above), or cycle to it mid-session by pressing Shift+Tab until you see the mode label change.

It is a solid default for day-to-day coding where you trust Claude with the files but want a human in the loop before anything runs on your machine.

acceptEdits gives you the speed of automation with a safety net where it actually matters — bash commands.


via @xankriegor_

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Switch to the Stable Update Channel with autoUpdatesChannel

The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.

bagwaa @bagwaa · 1 hour ago
0
Set Claude's Response Language with the language Setting

The language setting makes Claude respond in your preferred language by default, across every session and project.

bagwaa @bagwaa · 2 hours ago
0
Customize or Remove Claude's Git Attribution with the attribution Setting

The attribution setting lets you customize or completely remove Claude's Co-Authored-By trailer from git commits and pull requests.

bagwaa @bagwaa · 2 hours ago