[FEATURE] Agent view dispatch should support --allow-dangerously-skip-permissions
Resolved 💬 10 comments Opened May 12, 2026 by jonathanlaniado Closed May 13, 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
There's no way to set the permission mode when dispatching a session from the agent view input. If I want to run a session with --allow-dangerously-skip-permissions, it's just not possible from agent view.
The current workarounds are:
- Set
defaultModein settings to apply globally, which is too broad - Set
permissionModein a subagent's frontmatter, which requires creating a subagent definition for what should be a one-off dispatch
Proposed Solution
Support --allow-dangerously-skip-permissions (or a shorthand) as a modifier when dispatching from the agent view input. Could be:
- A prefix/flag in the dispatch input itself
- A keybinding that toggles the permission mode for the next dispatch (e.g.,
Ctrl+Pto cycle through modes before hitting Enter) - A persistent setting within agent view that applies to all new dispatches from that session
The existing guard (requiring the user to have accepted bypass mode interactively at least once) should still apply.
Priority
Medium - Would be very helpful
Feature Category
Interactive mode (TUI) / Agent view
Additional Context
Related to #39889, which covers the same gap for mobile/desktop dispatch. This is specifically about the CLI claude agents TUI.
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗