[IDEA] - Enable "Plan Mode" for Claude Code with Command-Line Flag
Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Jun 27, 2025 · closed Aug 15, 2025
I’ve been using a workflow where I pipe input into Claude through STDIN, like:
bun lint | claude "Let's get through these linting warnings."
git diff --staged | claude "Hi, take a look at this diff and let's pick back up where we left off."
It would be useful to have an option, like --plan or --mode plan, that allows me to start a session directly in "plan mode" from the outset. This would help streamline the process, letting me focus on planning without needing to manually switch modes once in the session.
3 Comments
https://github.com/anthropics/claude-code/issues/2798
https://docs.anthropic.com/en/docs/claude-code/iam#permission-modes
This is great, but a command line flag would be more useful to me. I want to be able to specify plan mode conditionally.
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.