[FEATURE] Dangerously skip allow permissions but continue to respect `permissions.deny`
Status Closed — not planned
Maintainer reply None cached
Activity 10 comments · opened Sep 5, 2025 · closed Jan 11, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I want to be able to run Claude Code with --dangerously-skip-permissions but ONLY for allowed and unknown permissions. I want CC to continue respecting my permissions.deny settings.
The rationale is that I know what is of utmost danger to my machine, and I've already put those commands under permissions.deny.
Proposed Solution
Provide another mode that respects permissions.deny but which ignores all other commands.
Priority
High - Significant impact on productivity
Feature Category
Configuration and settings
10 Comments
This is exactly how I wish dangeously-skip worked. Stay away from
git push, you slippery snake!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.
Claude is deleting people's home directories.
Can you please implement this feature, Anthropic? 🙏
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.
Please reopen, this is important for security!
I agree, this is how I'd like dangerously-skip-permissions to work too!
You can combine
--dangerously-skip-permissionswith--disallowedTools:Alas, once you call
claudelike this, you cannot give it permission to call any of the disallowed tools. I wish this were possible:It currenly works that way. You just set ~/.claude/settings.json ->
permissions.deny: [ "Bash(rm: *)" ]<img width="515" height="384" alt="Image" src="https://github.com/user-attachments/assets/a2164d4f-06f0-421f-af2f-fb262595c393" />
oh that's good to know thx @genesiscz!
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.