[Feature Request] Option to start session with `auto-accept edits on` (shift-tab).

Status Closed — not planned
Maintainer reply None cached
Activity 9 comments · opened Jul 23, 2025 · closed Jan 16, 2026

I always use the auto-accept edits on. Sometimes it's frustrating that in my new session I did a request to minutes later find it stopped at the beginning because I didn't set that mode on.

Can we have a setting for it in the .claude/settings.local.json file, to set the default mode?

View original on GitHub ↗

9 Comments

mkbrechtel · 1 year ago

claude --permission-mode acceptEdits

~> claude --help
...
--permission-mode <mode> Permission mode to use for the session (choices: "acceptEdits", "bypassPermissions", "default", "plan")

put it in your shell config, e.g. .bashrc: alias claude='claude --permission-mode acceptEdits'

ftzi · 1 year ago

Thnx! I didn't know there was such option, I will use it. Still, I would appreciate a setting in the JSON file as aliases are a bit hacky

mnapoli · 1 year ago

+1 to be able to configure this instead of creating aliases.

baleti · 1 year ago

I'd rather have it in settings.json (or similar) than append to command line each time

ghost · 11 months ago

Please make auto-accept edits sticky via a write to settings.local.json

Bonus points: give a warning, and suggestion to create, if there isn't a local git repo

github-actions[bot] · 10 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

brandon-pereira · 10 months ago

Since this is the top search result (for me at least), to anyone coming here looking for how to do this without an alias, add/merge this into to your .claude/settings.local.json

{
  "permissions": {
    "defaultMode": "acceptEdits"
  }
}
github-actions[bot] · 9 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.