claude-code - 💡(How to fix) Fix [FEATURE] Add `/mode <mode>` command to switch Claude Code mode

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

However the workarounds proposed in that issue only work for initializing Claude Code in a certain mode, not switching mid-session. For example, I like to start my sessions in plan mode, then switch to auto, and sometimes when Claude is going off the rails i like to turn auto mode off and ask it questions / re-plan.

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

Shift + tab is not enterable on some terminals (e.g. from mobile). I know there have been previous feature requests about this but they've all been closed as a duplicate of https://github.com/anthropics/claude-code/issues/3429.

However the workarounds proposed in that issue only work for initializing Claude Code in a certain mode, not switching mid-session. For example, I like to start my sessions in plan mode, then switch to auto, and sometimes when Claude is going off the rails i like to turn auto mode off and ask it questions / re-plan.

Proposed Solution

Add a /mode <mode> slash command to switch the mode, e.g.:

  • /mode default — ask before edits
  • /mode plan — plan mode
  • /mode edit (alias: /mode accept-edits) — auto-accept edits
  • /mode auto — auto mode

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

Interactive mode (TUI)

Use Case Example

Example of why I might want to switch mid-session:

  1. Start my claude code in default mode to provide it with context and talk about a problem
  2. Switch to plan mode when we're clear on the direction and approach
  3. Switch to auto mode when plan is approved
  4. Switch back to default mode if things aren't working as expected

Additional Context

No response

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

claude-code - 💡(How to fix) Fix [FEATURE] Add `/mode <mode>` command to switch Claude Code mode