Permission prompts still appear with --dangerously-skip-permissions + skipDangerousModePermissionPrompt: true
Resolved 💬 3 comments Opened Apr 18, 2026 by nbarrett Closed Apr 22, 2026
Summary
Permission prompts continue to appear in the desktop/IDE UI for tool calls despite both:
- The CLI being launched with
--dangerously-skip-permissions "skipDangerousModePermissionPrompt": trueset in~/.claude/settings.json
Expected: no prompts at all — that is the user-visible contract of the flag name.
Actual: certain tool calls (observed with Bash for things like git push --force-with-lease, gh run rerun, and running background gh run watch tasks) still trigger a UI prompt, breaking auto-mode / long-running flows.
Impact
- Interrupts batch work the user has explicitly opted into.
- Erodes trust in the flag — user has explicitly chosen to accept risk.
- Makes automation (scheduled tasks, /loop dynamic mode, chained tool calls) unreliable.
Repro hints (approximate)
- Launch
claude --dangerously-skip-permissionswithsettings.jsoncontaining"skipDangerousModePermissionPrompt": true. - From within a normal session, have the agent issue a
Bashtool call likegh run rerun <id>orgit push --force-with-lease .... - A prompt still appears in the UI.
Environment
- Claude Code
2.1.111(via desktop-bundled claude-code) - Platform: darwin / macOS
- Permission mode:
autowith--allow-dangerously-skip-permissions
Ask
Respect the flag uniformly — if the user has opted into dangerous skip, no tool-use category (Bash, git operations, background process launches) should re-prompt in the UI layer.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗