GitHub Copilot CLI operates in four distinct modes that control how much autonomy the agent has. Standard mode is the default interactive back-and-forth. Plan mode has Copilot ask clarifying questions and build a structured plan before touching any files. Autopilot mode lets Copilot execute tasks end-to-end without pausing for input, with flags like --allow-all and --max-autopilot-continues for safety. Shell mode (triggered with ! prefix) bypasses the AI entirely and runs commands directly in the shell. A recommended workflow for complex tasks is to start in plan mode, hand off to autopilot, and drop back to standard mode when steering is needed.

5m read timeFrom bartwullems.blogspot.com
Post cover image
Table of contents
A quick intro to GitHub Copilot CLIThe three main modesShell Mode — Bypassing the agent entirelyPutting it all togetherWrapping upMore information
283 Impressions