Skip to content

Feature Request: Add YOLO mode (bypassPermissions) to Shift+Tab permission mode cycle #15898

Description

@darioluanne770968-prog

Summary

Currently, pressing Shift+Tab cycles between three permission modes:

  • Normal mode
  • Plan mode
  • Auto-accept edits mode

I'd like to have bypassPermissions (YOLO mode) added as an option in this Shift+Tab cycle.

Use Case

As a developer, I often have different working scenarios:

  1. Busy / AFK: When I'm away from my computer or busy with other tasks (video editing, meetings, etc.), I want Claude to run autonomously without waiting for my approval on each action.

  2. Available / Monitoring: When I have time to watch the terminal, I want to review and approve each action manually.

Currently, switching between these modes requires restarting Claude Code entirely, which:

  • Loses the current conversation context (unless using --resume)
  • Interrupts the workflow
  • Is inconvenient for frequent switching

Proposed Solution

Add bypassPermissions (YOLO mode) to the Shift+Tab cycle:

Normal → Plan → Auto-accept edits → YOLO mode → Normal ...

Or provide a keyboard shortcut / slash command to toggle YOLO mode within an active session.

Alternative Solutions Considered

  1. Shell aliases (yolo / safe) - Only work when starting a new session, not within an active session
  2. Modifying settings.json - Changes don't take effect until restart
  3. MCP/Hooks/Skills - Cannot modify core permission settings at runtime

Additional Context

I understand YOLO mode has security implications. Perhaps it could:

  • Require an additional confirmation when enabling via Shift+Tab
  • Show a prominent visual indicator when YOLO mode is active
  • Have a timeout option (auto-revert to normal mode after X minutes)

Thank you for considering this feature!

Activity

  1. github-actions commented on Dec 31, 2025

    @github-actions

    Found 1 possible duplicate issue:

    1. UI/UX: "Bypass permissions" mode should be toggleable via Shift+Tab without requiring the startup flag #6265

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. FrostKiwi commented on Dec 31, 2025

    @FrostKiwi

    Because of reports like this: https://old.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/ I'd say suggest it remain the launch parameter --dangerously-skip-permissions to ensure there is a no-chance-of-misunderstanding "user consent" step and not something you may accidentally enable by having a key combo register twice.

  3. midlifedad commented on Jan 12, 2026

    @midlifedad

    +1 for adding dontAsk mode to the Shift+Tab cycle.

    Use case: I'm running a multi-agent workspace (12 Claude Code instances in tmux panes) where agents work autonomously on assigned projects. Each agent has configured permissions via settings.json:

    {
      "permissions": {
        "defaultMode": "dontAsk",
        "allow": ["Bash(git *)", "Bash(npm *)", "Edit(**)", ...],
        "ask": ["Bash(git push *)"],
        "deny": ["Bash(rm -rf /)", "Bash(sudo *)"]
      }
    }

    This gives me fine-grained control: common operations auto-approve, dangerous commands are blocked, and specific commands (like git push) always prompt for human review.

    The problem: If I accidentally press Shift+Tab while checking on an agent, they drop out of dontAsk mode and there's no way to get back without restarting Claude Code. The current cycle (Default → Accept Edits → Plan) doesn't include dontAsk.

    Why this makes sense:

    • dontAsk respects the configured allow/deny lists - it's not bypassing security, it's using the configured security
    • It's already trusted enough to be the startup default, so it should be toggleable during a session
    • The current behavior forces a full restart just to restore the configured permission mode
    • For multi-agent setups, restarting means losing context and interrupting work

    dontAsk is fundamentally different from bypassPermissions - it enforces the configured rules rather than ignoring them. Adding it to the Shift+Tab cycle would make the permission system much more usable for workflows that rely on pre-configured permissions.

  4. DrAlexHarrison commented on Jan 13, 2026

    @DrAlexHarrison

    Clauding dontask mode as I write this. If real, will use. Thank you! +1 for yolo.

  5. 1kko commented on Jan 24, 2026

    @1kko

    +1 for @midlifedad, this will generally allow power users to modify on their own, while protecting entry levels.

  6. hikidd commented on Feb 25, 2026

    @hikidd

    I love YOLO mode—it’s really handy in the Gemini CLI, but Claude doesn’t have it. That’s a bummer.

  7. giglsmith commented on Mar 18, 2026

    @giglsmith

    Claude Code Mode Switching Workaround
    Starting Claude Code with the --dangerously-skip-permissions flag at startup enables full mode cycling via Shift+Tab mid-session, allowing you to switch between Normal, Auto-Accept, Plan, and Bypass modes as expected. Without this flag, Shift+Tab only cycles through the first three modes and bypass is inaccessible during a session. Note that the session starts in bypass mode, so switch to your preferred mode immediately after launch.

  8. joaovcoliveira commented on Mar 26, 2026

    @joaovcoliveira

    Until this ships, npx claude-trust-me-bro enable gives you persistent YOLO without the --dangerously-skip-permissions flag — uses hooks + allow rules so you don't lose session context. tmb disable to go back to normal. https://github.com/joaovcoliveira/claude-trust-me-bro (author here)

  9. Mr-Wallet commented on Apr 6, 2026

    @Mr-Wallet

    I would also like to see dontAsk added to the cycle (and this is the only open issue that seems to have any mention of it at all). Sometimes I want the AI to avoid doing something dumb and try to figure out how to do it with only approved tools so it doesn't get completely stuck on a permissions prompt until I come check it.

  10. stefmf commented on Apr 12, 2026

    @stefmf

    +1 — This would be very useful. Starting a session without --dangerously-skip-permissions and then needing to toggle it on mid-conversation currently requires a full restart. A slash command like /dsp or adding it to the Shift+Tab cycle would save a lot of friction.

  11. bcherny commented on Aug 17, 2026

    @bcherny
    Collaborator

    You can already get this. Start Claude Code with claude --allow-dangerously-skip-permissions: that adds Bypass permissions to the Shift+Tab cycle without turning it on, so you cycle Manual, Accept edits, Plan, Bypass permissions and switch mid-session without restarting. The status bar shows ⏵⏵ bypass permissions on while it's active. Starting with --dangerously-skip-permissions or --permission-mode bypassPermissions also puts it in the cycle (already active).

    Docs: https://code.claude.com/docs/en/permission-modes#switch-permission-modes

    🤖 Generated with Claude Code

  12. ei-grad commented on Aug 24, 2026

    @ei-grad

    @bcherny but this flag is not available in settings.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions