drvoss/everything-copilot-cli/fleet-parallel
Claude Code and agent skill by drvoss/everything-copilot-cli
- community
Checking that the SKILL.md file is still in the repository.
Use when you need to run the same task across many files, components, or contexts in parallel — triggers /fleet mode for batch refactoring, mass testing, or bulk review. NOT when sequential order matters.
Install
npx vskill@latest install drvoss/everything-copilot-cli/fleet-parallelSKILL.md
The same SKILL.md was published earlier as drvoss/everything-copilot-cli/fleet-parallel.
Fleet Mode Parallel Execution
Why This is Copilot-Exclusive
Copilot CLI's Fleet mode launches multiple autonomous agents in parallel, each working on an independent subtask in its own context window. This is a fundamentally different execution model — not just "run commands in parallel" but full AI agents running concurrently with their own tool access. Those subagents are also steerable: if an in-flight agent starts drifting, you can send a follow-up message to correct course instead of waiting for the whole run to finish.
When to Use
- Refactoring the same pattern across many files simultaneously
- Reviewing multiple PRs or issues in parallel
- Running independent code generation tasks (tests, docs, migrations)
- Batch-processing items where each item needs AI reasoning, not just scripting
- Any task that decomposes into 3+ independent units of work
When NOT to Use
| Instead of fleet-parallel | Use | |
|---|---|---|
| A single-file or single-function change | Work directly in the current session | |
| A task with ordered dependencies between steps | Plan the sequence and run it serially | |
| Subtasks that would edit the same file, lockfile, or generated artifact | Split ownership first or avoid fleet mode | |
| A tiny batch of 2-3 trivial items | Handle them sequentially unless agent overhead is clearly worth it |
Write-Scope Conflict Guard
Before launching any fleet batch, validate that no two agents share write scope:
- List all files each subtask will modify
- If two tasks name the same file, one must wait — do not launch them in the same batch
- Lockfiles, generated files, and shared config are treated the same as source files
- If scope overlap is discovered mid-run, stop the later agent, let the earlier one finish, then requeue
Does Each Agent Boundary Earn Its Cost?
Every place context crosses from one agent to another costs something: restated context (tokens and time), facts the sender held but did not pass, detail lost to summaries, and the work of checking the other agent's output. Count the crossings — a chain of three agents pays more than a star of three.
A boundary is worth paying for only when it buys something one capable agent could not:
- Parallelism — real wall-clock savings on independent work (the usual reason for
/fleet) - Specialization — a genuinely different capability or toolset, not a new label on the same model
- Independent evidence — a different model family or data source with different blind spots
- Adversarial review — a seat whose job is to disagree
The default comparison is one agent doing the whole task. If a split shows none of these gains — or two agents receive nearly the same input and return nearly the same answer — collapse them into one. Adapted from the agent topology audit in nyldn/claude-octopus (MIT).
Workflow
1. Use the /fleet Slash Command (Recommended)
The simplest way to trigger fleet mode is the /fleet command:
Copilot automatically decomposes the task and spawns parallel sub-agents.
2. Fleet via Plan Mode (for complex decomposition)
For tasks requiring explicit decomposition, enter Plan Mode (Shift+Tab), define the plan, then select autopilot_fleet:
Fleet mode assigns each todo to a separate agent that works autonomously.
3. Plan with SQL Todos
Use the session SQL database to track fleet tasks:
4. Package Context per Agent
Before launching the fleet, give each agent a compact brief:
Context packaging rules:
- Give each agent only the files and background it actually needs
- Assign file ownership explicitly so two agents do not edit the same files
- Specify the output shape up front (patch, summary, tests, docs, etc.)
- If two subtasks need the same files, they do not belong in the same fleet batch
How Fleet Handles Dependencies
Fleet is not just a flat batch runner. Copilot first analyzes whether the work can be broken into independent subtasks, then orchestrates dependencies between them.
Where possible, Copilot parallelizes the independent work and keeps dependent follow-up tasks behind the orchestrator.
Fan-out is bounded by the product, not by your prompt
Sub-agent nesting has a product-level default limit that can change between CLI releases. For example, the Copilot CLI v1.0.71 changelog records that its default maximum nesting depth changed from 6 to 4; this is release evidence, not a value a brief should enforce. Concurrency is also capped per plan (the command reference lists Free 2, Pro/Pro+ 4, Max 8, Business 16, Enterprise 32); new subagents are rejected until one finishes. The subagents.maxConcurrency and subagents.maxDepth settings are ignored on plans without usage-based billing (v1.0.109 setting descriptions), so on those plans a value set there does not change the limits.
Before dispatch, use the current session's /help, settings, and copilot --help to verify the effective limits instead of trusting a remembered documentation value. State that a batch needs depth N and concurrency M without assuming either is available, so an exceeded limit is observable rather than mistaken for the serialization behavior described below. A sequential dependency chain is still the correct execution plan when tasks genuinely depend on one another; it is not a fan-out failure.
Writing dependency-aware fleet briefs
The clearer the dependency edges are in your prompt, the easier it is for Copilot to parallelize the safe parts and serialize the rest.
When Fleet serializes unexpectedly
If work runs sequentially when you expected parallel execution, assume there is shared state or an implicit dependency. Split overlapping writes into separate batches, or move the follow-up phase into a later fleet invocation.
5. Use Worktrees for Branch Isolation (Optional)
If agents need separate long-lived branches or may touch overlapping tooling state, create one git worktree per task and include that path in the prompt. See `using-git-worktrees`.
5-A. Fresh Context Per Task, With a Dual Review Gate (Sequential Variant)
Fleet mode above parallelizes independent tasks. When tasks are mostly independent but you want to stay in the current session (no separate /fleet batch, no context switch), apply the same isolation discipline sequentially: dispatch one fresh sub-agent per task, gate each with a review before moving on, and do the final review only once at the end.
- Fresh subagent per task — never let a sub-agent inherit this session's full history.
Construct its brief from scratch: only the plan step, the files it owns, and any prior-task output it genuinely depends on. This keeps the sub-agent focused and preserves your own context for coordination.
- Dual review per task — after each task's sub-agent reports done, dispatch a separate
reviewer (read-only, per sub-agent-sandboxing's read-only reviewer constraint) that checks two things: does the result match the task's spec, and is the quality acceptable. Only mark the task complete in the SQL todos table after both pass; otherwise dispatch a fix pass and re-review.
- One broad review at the end — after every task is complete, run a single whole-branch review
across the full diff, separate from the per-task reviews. Per-task review catches local defects; the final pass catches integration and cross-task consistency issues neither task saw in isolation.
- Continuous execution — once dispatched, do not pause between tasks to ask "should I
continue?". Keep executing the remaining tasks. The only valid reasons to stop are: a task reports BLOCKED and you cannot resolve it, a genuine ambiguity prevents progress, or all tasks are done.
For review-requested fixes to the same task, resume the original implementer with a prompt narrowed to the findings instead of redispatching a fresh agent that has lost the implementation rationale. Fresh context applies between independent tasks; resume applies only to fix rounds within the same task. Bound the review/fix loop (five rounds is an example, not a required value), and have the controller or a human adjudicate when the limit is reached instead of retrying automatically. Keep the review workspace scoped to the plan and remove it after approval; the durable record is the Git history, not stale intermediate state.
This differs from full /fleet batches in one way: tasks run one after another in the same session rather than as concurrent agents, which is the right trade when task N's brief needs output from task N-1 but you still want isolation and review discipline per step.
6. Monitor and Collect Results
While fleet agents run, you can:
- Check progress via
list_agents - Read individual agent results via
read_agent - Send a follow-up message to a running or waiting agent via
write_agentwhen you need to
clarify scope, add a missing constraint, or redirect a subtask that is visibly drifting; if an agent already completed with the wrong result, launch a new pass instead
- Continue working on other tasks yourself
6-A. Steer the Live Agent or Let It Finish?
Treat follow-up messages as course correction for the current agent, not as a replacement for decomposition or a reflexive interrupt.
Intervene mid-flight when:
- The agent's early plan or partial output clearly diverges from the requested outcome
- You notice a missed constraint or new dependency that changes the task without changing file
ownership
- Redirecting now is cheap and prevents wasted edits, retries, or blocked dependent work
- A monitor check shows the agent is stuck waiting on an assumption you can answer quickly
Let it run when:
- The task is short, well-scoped, and likely to finish before an interruption would help
- The agent is broadly on track and any cleanup is cheaper to do in review after completion
- You have no concrete new information to provide beyond the original brief
- Interrupting would create churn without changing the outcome in a meaningful way
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/copilot-exclusive/fleet-parallel/SKILL.md
Popularity
- Repository stars
- 41
- Repository forks
- 9
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drvoss/everything-copilot-cli/fleet-parallel)