Repository navigation
Description
Preflight Checklist
- I have searched existing issues and this hasn't been reported yet
- This is a single bug report (please file separate reports for different bugs)
- I am using the latest version of Claude Code
Note: This issue was previously reported as a feature request in #11401, but it is actually a bug/regression in behavior.
What's Wrong?
When using --permission-mode plan --dangerously-skip-permissions together, the --dangerously-skip-permissions flag causes Claude to completely ignore the --permission-mode setting. Instead of starting in plan mode with permissions bypassed, it starts in bypass permissions mode.
The alternative flag --allow-dangerously-skip-permissions does respect the permission mode, but it prompts the user to trust the directory when launched. This is tedious and not what users expect when explicitly passing that flag.
What Should Happen?
claude --permission-mode plan --dangerously-skip-permissionsshould start in plan mode with permissions bypassed (no prompts for read-only operations)- The two flags should be composable:
--permission-modecontrols which mode to start in,--dangerously-skip-permissionscontrols whether to bypass permission prompts --allow-dangerously-skip-permissionsshould not prompt to trust the directory when used with an explicit--permission-mode
Steps to Reproduce
- Run
claude --permission-mode plan --dangerously-skip-permissions - Observe that Claude starts in bypass permissions mode, not plan mode
- The
--permission-mode planflag is silently ignored
Alternative reproduction:
- Run
claude --permission-mode plan --allow-dangerously-skip-permissions - Claude prompts to trust the directory before starting
- Previously this would drop directly into plan mode without prompting
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown - but multiple users have confirmed this worked previously with --allow-dangerously-skip-permissions
Claude Code Version
2.1.4 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
See also: #11401 (mislabeled as feature request), #5466, #7136
Multiple users have confirmed this issue in #11401 and are actively requesting a fix.
Activity
github-actions commentedon Jan 11, 2026
Found 2 possible duplicate issues:
--fork-sessionflag ignored when using--resumewith TUI session picker #15694This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
nullbio commentedon Jan 12, 2026
This is still an issue.
coygeek commentedon Jan 20, 2026
I use this workaround:
fix(tasks): bypass permissions prompt when starting Claude in plan mode
Fix --permission-mode plan conflict with --dangerously-skip-permissions
Enable plan mode for PLAN phase (#332)
jamesanglin commentedon Feb 9, 2026
This works for me.
claude --allow-dangerously-skip-permissions --permission-mode planAs others have stated, it does prompt you to trust the directory; however, you only have to do that once per project. This is no big deal if you're working a lot in the same project, but I can see how it might get tedious for other use cases.
fix: auto-dismiss Claude workspace trust prompt in terminals
github-actions commentedon Mar 11, 2026
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
github-actions commentedon Mar 18, 2026
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.