Allow toggling permissions mid-session without restart

Resolved 💬 3 comments Opened Dec 26, 2025 by jordandm Closed Dec 29, 2025

Feature Request

Current behavior: To enable --dangerously-skip-permissions (YOLO mode), you must restart Claude Code with the flag. This loses all conversation context.

Requested behavior: Allow enabling/disabling blanket permissions mid-session via a slash command like /dangerously-skip-permissions or /yolo.

Why this matters:

  • Restarting loses valuable context built up during a session
  • Users may start a session not knowing they'll need YOLO mode
  • Breaks workflow to have to restart and re-explain context
  • The permission toggle is a user preference, not a security boundary that requires a fresh session

Proposed solution:
Add a slash command that toggles the same behavior as --dangerously-skip-permissions without requiring a restart.

Use case example:

  1. Start a session normally
  2. Build up context over 30+ minutes of work
  3. Realize you need to run many similar commands without approval prompts
  4. Currently: Must restart and lose all context
  5. Desired: Run /yolo and continue with blanket permissions

---
Submitted via Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗