bypassPermissions does not suppress 'edit its own settings' prompt for SKILL.md
Resolved 💬 3 comments Opened Mar 31, 2026 by lucky-bee-industries Closed Apr 4, 2026
Description
With defaultMode: "bypassPermissions" and skipDangerousModePermissionPrompt: true both set in ~/.claude/settings.json, Claude Code still prompts:
Do you want to make this edit to SKILL.md? 1. Yes 2. Yes, and allow Claude to edit its own settings for this session 3. No
Expected behavior
The prompt should be suppressed — the user has explicitly opted into bypass mode and skipping dangerous mode prompts.
Current behavior
A hardcoded check for Claude editing its own config files (like SKILL.md) overrides both settings and prompts anyway.
Settings
{
"permissions": {
"defaultMode": "bypassPermissions",
"skipDangerousModePermissionPrompt": true,
"allow": ["Read", "Edit", "Write", "..."]
}
}
Request
Either respect the existing bypass settings for self-edit prompts, or add a dedicated config flag (e.g. "allowSelfEditSettings": true) to permanently suppress this prompt.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗