Add slash command to change to plan mode
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 7 comments · opened Jul 13, 2025 · closed Jan 25, 2026
Using the terminal on Android tablets/phones isn't possible, or I haven't found a way, to trigger the SHIFT+TAB combination. It would be fantastic to add a /plan to trigger the plan mode without a combination of keys
7 Comments
Hey, just another user here, but I ran into a similar need and dug through the docs. This is a great idea for accessibility, especially on touch devices. A built-in
/plancommand would be super useful!While we wait to see if the team adds it, I found a couple of workarounds that might help you out right now.
Workaround 1: Start Claude in Plan Mode
You can launch
claudewith a command-line flag to start it directly in plan mode. This way, you don't need the key combination at all for that session.According to the CLI reference documentation, you can use the
--permission-modeflag:This will start your session in plan mode from the get-go.
Workaround 2: Set Plan Mode as Your Default
If you find yourself using plan mode a lot, you can make it the default for a specific project or for all your projects.
The settings documentation shows you can add a
defaultModeto yoursettings.jsonfile..claude/settings.jsonin your project's root.~/.claude/settings.json.Add this to the file:
Now, whenever you run
claudein that context, it will start in plan mode automatically.Workaround 3: Create a "Soft" Custom Slash Command
The custom slash commands documentation shows they are primarily for inserting prompts, not for changing the application's internal state like the permission mode.
However, you could create a "soft" version that instructs Claude to behave as if it were in plan mode. It's not a true lock, but it works surprisingly well.
``
bash
``mkdir -p ~/.claude/commands
plan.mdinside that directory with the following content:``
markdown
``---
description: Instruct Claude to only analyze and plan, without executing or editing.
---
Please adopt a "plan mode" persona for the rest of this conversation. You are only allowed to analyze the codebase, read files, and suggest plans. You must not use any tools that modify files (like Edit or Write) or execute commands (like Bash). When I ask you to perform a task, your response should be a plan for how a developer could implement it, not an attempt to implement it yourself.
Now, inside any
claudesession, you can just type/plan, and it will instruct the model to stick to analysis only.Hope this helps you get unblocked on your tablet while the official feature is considered
i'm also highly interested in a direct way to switch to modes. right now i watch it switch between these options:
so depending where i am in that list, it's N number of shift tab presses. would love to be able to have or map a keybind to just jump to the mode i want.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Additional Use Case:
defaultModenot respected after/clearI have
defaultMode: "plan"configured in my settings:Problem: This works correctly on fresh startup, but after
/clear, the current permission mode is preserved instead of resetting todefaultMode. This means I have to manually pressShift+Tabafter every/clearto get back to plan mode.The Asymmetry Problem
There's an interesting asymmetry in Claude Code's design:
ExitPlanModetool exists – Claude can programmatically leave plan modeEnterPlanModetool does not exist – no way to programmatically enter plan modeThis means:
permission_modebut cannot set itShift+Tabor--permission-mode planat startupProposed Solutions (any of these would help)
/planslash command – as originally requestedEnterPlanModetool – symmetric counterpart toExitPlanModedefaultModeafter/clear– reset to configured default instead of preserving current modehookSpecificOutput.permissionModeinSessionStarthooksOption 3 would be the most seamless fix – if
defaultModewere respected after/clear, users who configured it would get their expected behavior automatically without any extra steps.A
/planslash command would be a good general-purpose addition for all users.This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.