claude-code - 💡(How to fix) Fix [FEATURE] Agent view dispatch should support --allow-dangerously-skip-permissions

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

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 defaultMode in settings to apply globally, which is too broad
  • Set permissionMode in a subagent's frontmatter, which requires creating a subagent definition for what should be a one-off dispatch

Support --allow-dangerously-skip-permissions (or a shorthand) as a modifier when dispatching from the agent view input. Could be:

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • 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 defaultMode in settings to apply globally, which is too broad
  • Set permissionMode in 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+P to 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.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING