Run Copilot CLI in loops and split multi-part work
Daniel Ward used GitHub Copilot’s autopilot and /fleet features to finish larger jobs and divide separate chunks across parallel agents.
- What they did
- Ward turned on /experimental in GitHub Copilot CLI and then let autopilot handle a task with repeated passes instead of fresh prompts each time. He paired it with /plan to set direction, and used /fleet when the work broke into distinct pieces that could be handed to several subagents at once, including custom ones.
- How it went
- That setup let Copilot carry a substantial task through to the end, which worked well for quick proof-of-concept work. Ward found that /fleet adds coordination cost and can slow down smaller jobs, and he sets --max-autopilot-continues when he can’t monitor the session.
- Tips
- Use autopilot for work you can review later, not for production changes where closer oversight matters. If a run might go unattended, cap the number of automatic follow-up loops.
Try it yourself with GitHub Copilot
In [repo path], use GitHub Copilot CLI to tackle [task]. Begin with a short plan, then hand execution to autopilot and let it continue until [completion condition]. If the work naturally separates into independent chunks such as [chunk 1] and [chunk 2], route them through /fleet and spread them across parallel subagents; otherwise keep the job with one agent. Before any irreversible step like sending, deleting, paying, or submitting, pause and ask for my approval. When you’re finished, give a concise recap and note anything uncertain.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Create a filtered summary page with Copilot
Copilot agent mode in Visual Studio 2022 built a charges report in a Razor Pages app, added navigation, and drafted the commit steps.
Set up a staged Copilot workflow in VS Code
A developer split a feature job into several Copilot roles in VS Code and used files on disk to carry the work across stages.
Set Copilot to code in a branch before it pushes
A developer used GitHub Copilot to work issues, but learned to give tighter instructions after it wrote weak first PRs and pushed to the wrong place.
Set up a file-based system for Copilot agent chats
Use VS Code workspaces and prompt files to route tasks to the right GitHub Copilot agent without juggling dozens of separate chats.
Deploy your app end to end with Copilot CLI
They used GitHub Copilot to build an app and Copilot CLI to handle launch setup, saving Claude Code for more difficult logic.
Use Copilot for narrow coding tasks only
A developer first let GitHub Copilot Agent Mode handle most coding, then restricted it after losing track of their own code.