/everything-copilot-cli:team-plannerfrom everything-copilot-cli
Assembles a specialist team for large multi-domain tasks using Copilot CLI primitives: task tool, /fleet, SQL session database, and read_agent/write_agent. Coordinates parallel work across 3+ domains with structured tracking.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Copilot CLI-native redesign of the “harness meta-skill” concept.
It does not assume Claude Code primitives like TeamCreate/TaskCreate exist. Instead, it uses Copilot CLI’s actual primitives:
task tool (agent types: explore, task, general-purpose, code-review, security-review, research, rubber-duck)/fleet for parallel sub-agent executionsql tool)read_agent / write_agent for monitoring and follow-upsThe lead planner acts as the conductor: it assigns ownership, coordinates sequencing, and decides when a second model should challenge or review another agent's output.
NOT for: single-domain tasks, quick one-shot requests, tasks under ~30 minutes.
Before designing the team, verify all of the following:
agents/ and orchestration/skills/ — avoid recreating a specialist that already exists.github/copilot/commands/ — it only assembles work assignmentsCopilot CLI reads the request, identifies the domains involved, and decomposes work into parallelizable units.
Outputs to produce in this phase:
Create a team roster in SQL.
Team size guidelines — balance specialization against coordination overhead:
| Task scale | Recommended team size | Tasks per agent |
|---|---|---|
| Small (5–10 tasks) | 2–3 agents | 3–5 tasks each |
| Medium (10–20 tasks) | 3–5 agents | 4–6 tasks each |
| Large (20+ tasks) | 5–7 agents | 4–5 tasks each |
Rule of thumb: more than 7 agents creates more coordination overhead than parallelism value. Split into sub-phases instead.
Output: SQL INSERT statements into a team table:
CREATE TABLE IF NOT EXISTS team (
id TEXT PRIMARY KEY,
role TEXT NOT NULL,
agent_type TEXT NOT NULL, -- explore | task | general-purpose | code-review | research | security-review | rubber-duck
focus TEXT NOT NULL,
status TEXT NOT NULL DEFAULT 'ready' -- ready | running | done | blocked
);
INSERT INTO team (id, role, agent_type, focus, status) VALUES
('lead', 'Coordinator', 'general-purpose', 'Decompose, dispatch, synthesize', 'ready'),
('sec', 'Security reviewer', 'security-review', 'Auth, injection, secrets, unsafe defaults', 'ready'),
('perf', 'Performance scout', 'explore', 'Hot paths, expensive ops, caching opportunities', 'ready'),
('arch', 'Architecture analyst', 'general-purpose', 'Boundaries, API contracts, maintainability', 'ready');
Track assignments in SQL so dispatch + monitoring is deterministic.
Output: SQL INSERT statements into an assignments table:
CREATE TABLE IF NOT EXISTS assignments (
id TEXT PRIMARY KEY,
agent_id TEXT NOT NULL,
task TEXT NOT NULL,
input_context TEXT,
status TEXT NOT NULL DEFAULT 'pending', -- pending | running | done | failed
agent_run_id TEXT, -- returned by task tool when mode=background
result_summary TEXT,
decision_log TEXT, -- append-only: "<timestamp> <what/why>" per update
touched_files TEXT -- comma- or newline-separated paths this track edited
);
INSERT INTO assignments (id, agent_id, task, input_context, status) VALUES
('a-sec-1', 'sec', 'Review security posture and identify critical vulnerabilities', 'Focus on auth, input validation, secrets, SSRF/XSS, unsafe deserialization', 'pending'),
('a-perf-1','perf', 'Scan for performance bottlenecks and high-cost code paths', 'Look for N+1, heavy loops, slow I/O, missing memoization/caching', 'pending'),
('a-arch-1','arch', 'Evaluate architecture risks and suggest refactors', 'Focus on boundaries, coupling, module ownership, API contracts', 'pending');
For medium and large efforts, make one agent the explicit coordinator:
The conductor should own:
decision_log (what was decided and why, not just pending/running/done) and
keeps touched_files current. This lets the coordinator reconstruct a track's context after a
pause, a model swap, or a session resume without re-deriving it from scratch.Semantic reversion (adapted from the conductor pattern, wshobson/agents ecosystem —
concept harvested, no code ported): when an implementer's track needs to be rolled back, prefer
undoing the unit of work the conductor assigned over a raw git revert of a commit range. A
single commit can span multiple tracks, and a single track can span multiple commits — reverting
by commit boundary risks clawing back unrelated work or leaving a track half-reverted. Roll back
by reading the track's touched_files and decision_log from its assignments row, restoring or
re-dispatching just those files, rather than reverting a git range and hoping the boundaries line
up.
When quality matters more than raw speed, pair two agents on the same subproblem with different roles:
Good pairings:
general-purpose builder + code-review checkergpt-5.3-codex implementer + claude-sonnet-5.5 reviewerexplore researcher + general-purpose synthesizerIf both agents need to edit the same files, do it sequentially rather than concurrently.
Dispatch each assignment using either:
task tool calls per assignment (best when you want explicit control over agent_type and prompts)/fleet (best when you have many independent tasks and want automatic fan-out)task (explicit)Run each assignment as a background agent so you can keep working while they run:
task:
agent_type: "security-review"
name: "security-review"
mode: "background"
prompt: "Review the repository for security vulnerabilities. Prioritize exploitable issues and list concrete remediations."
task:
agent_type: "explore"
name: "performance-scout"
mode: "background"
prompt: "Scan the repo for likely performance bottlenecks. Identify top 5 hotspots and where to measure."
task:
agent_type: "general-purpose"
name: "architecture-analyst"
mode: "background"
prompt: "Assess the system architecture. Identify boundary violations and propose refactors that reduce coupling."
/fleet (automatic fan-out)/fleet Audit our API for security, performance, and architecture issues. Split the work into parallel specialists and report back with prioritized findings.
Copilot CLI tool calls aren’t executed from PowerShell, but you can use PowerShell as a lightweight
dispatcher template: paste SQL results into variables, then generate the 3 task blocks you will run.
# 1) (In Copilot) SELECT your pending assignments:
# SELECT id, agent_id, task, input_context FROM assignments WHERE status='pending';
# 2) Paste the rows into a PS structure (example):
$assignments = @(
@{ id = 'a-sec-1'; agent_type = 'security-review'; name='security-review'; prompt = 'Review repo security. Focus on auth, injection, secrets. Provide fixes.' },
@{ id = 'a-perf-1'; agent_type = 'explore'; name='performance-scout'; prompt = 'Find perf hotspots. List top 5 and how to measure.' },
@{ id = 'a-arch-1'; agent_type = 'general-purpose'; name='architecture-analyst'; prompt = 'Assess architecture. Identify coupling and propose refactors.' }
)
# 3) Generate the tool-call blocks to run in Copilot CLI:
$assignments | ForEach-Object {
@"
task:
agent_type: \"$($_.agent_type)\"
name: \"$($_.name)\"
mode: \"background\"
prompt: \"$($_.prompt)\"
"@
}
Tip: after each
taskcall returns anagent_id(run id), store it back intoassignments.agent_run_id.
Use multi-model-strategy to assign stronger review
models to the checker role without spending premium tokens on every agent in the batch.
Monitor running background agents with read_agent and update SQL as they finish.
Suggested loop:
running when dispatchedread_agentwrite_agent if the output is incompleteresult_summary in SQL and mark done (or failed)Example monitoring updates:
-- When dispatching
UPDATE assignments SET status='running', agent_run_id='AGENT_ID_HERE' WHERE id='a-sec-1';
-- When complete
UPDATE assignments
SET status='done', result_summary='Found 2 critical injection paths; recommend parameterization + validation'
WHERE id='a-sec-1';
Use a general-purpose agent as the “editor-in-chief”:
team + assignments tables (plus any referenced files/PR diffs)task:
agent_type: "general-purpose"
name: "synthesizer"
prompt: "Read the SQL tables team + assignments (and any referenced artifacts) and produce a consolidated report: top risks, recommended fixes, sequencing, and quick wins."
| Harness primitive | Copilot CLI equivalent |
|---|---|
| TeamCreate | SQL team table |
| TaskCreate | SQL assignments table |
| Agent (typed) | task tool with agent_type param |
| SendMessage | file/SQL message bus (and write_agent for follow-ups) |
| Persistent agent state | SQL session database |
Goal: “Audit our API for security, performance, and architecture issues.”
team rows (sec, perf, arch, lead).assignments rows with clear prompts + input_context.task calls (explicit) or /fleet (automatic fan-out).read_agent until complete; write_agent to request missing evidence (file paths, repro steps).assignments.status and store result_summary.general-purpose synthesizer merges findings into a single prioritized remediation plan.Deliverable format (recommended):
orchestration/patterns/hierarchical-delegation.mdorchestration/patterns/fan-out-parallel.mdorchestration/skills/multi-ai-handoff.mdmulti-model-strategytask-intake-routerWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job