-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Describe the feature or problem you'd like to solve
Every time I launch copilot in interactive mode, I have to press Shift+Tab twice to cycle from Interactive → Plan → Autopilot before I can start working. There's no config key, CLI flag, or environment variable to set the default mode for interactive sessions.
The --autopilot flag only applies to non-interactive -p mode. COPILOT_ALLOW_ALL=true skips the permission prompt but does not change the mode.
Proposed solution
Add a mode config key in ~/.copilot/config.json and/or a --mode CLI flag that sets the default interactive mode on startup.
Config example:
{
"mode": "autopilot"
}Flag example:
copilot --mode autopilotAccepted values: interactive (default), plan, autopilot
This would let users who always work in autopilot skip the manual Shift+Tab cycling on every launch.
Example prompts or workflows
copilot --mode autopilot— launches directly into autopilot modecopilot --mode plan— launches directly into plan mode- Setting
"mode": "autopilot"in~/.copilot/config.json— everycopilotlaunch defaults to autopilot copilot --mode autopilot --yolo— full autonomous mode, no permission prompts, no mode switching- Combined with alias:
alias cop='copilot --mode autopilot --yolo'— one command, zero friction
Additional context
- Copilot CLI v0.0.414
- The mode cycle via Shift+Tab works well, but power users who always use autopilot shouldn't need to press it twice on every session start.
- This is similar to how
"experimental": truepersists in config — mode preference should too. - The
--autopilotflag already exists for-pmode, so extending the concept to interactive mode feels natural.
Reactions are currently unavailable