/cadre:orchestratefrom cadre
Orchestrates teams of Claude Code agents for parallel work patterns: review, debate, plan, build, research. Supports custom teams and multi-engine comparison. Use when needing multiple agents coordinating on a task.
Ships in cadre. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Orchestrate teams of Claude Code sessions for parallel work. Parse user input to determine the pattern and target, then execute the appropriate team workflow.
Parse $ARGUMENTS to determine:
If no pattern is recognized, ask the user which pattern to use.
Before creating any team, verify the environment:
echo $CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS
If not 1, tell the user to enable it and stop.
Each pattern follows the same lifecycle:
Teammate(spawnTeam)TaskCreateTask tool (team_name + name params)TaskList and incoming messagesFor pattern-specific teammate prompts, task structures, and configurations, see reference/patterns.md.
Every teammate prompt MUST include these steps (learned from testing):
You are "{name}", a {role} on the {team-name} team.
Your task: {specific task description with file paths}
Steps:
1. Check TaskList and claim task #{n} (set owner to your name, mark in_progress)
2. {Pattern-specific work steps}
3. Mark task #{n} as completed
4. Send a message to the team lead with a brief summary of your findings
For debate/plan patterns, add:
5. Send messages to {other teammates by name} to {challenge/review/discuss} their findings
Default to sonnet for teammates to manage token costs. Use opus only when the user
explicitly requests it or the task requires deep reasoning (architecture, complex debugging).
Pass the model parameter when spawning: model: "sonnet" in the Task tool call.
Reliable shutdown (handles the known flaky behavior):
shutdown_request to each teammate via SendMessageshutdown_approved messages (up to 30 seconds)shutdown_requestTeammate(cleanup)rm -rf ~/.claude/teams/{team-name} ~/.claude/tasks/{team-name}When $ARGUMENTS is "cleanup":
spawnTeam fails with "already leading team": run Teammate(cleanup) first, retryBefore spawning teams with 4+ teammates, warn the user: "This will spawn {N} teammates, each using its own context window. Token usage scales linearly with team size. Proceed?"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub danielscholl/claude-sdlc --plugin cadre2 skills in this plugin
Other plugins' skills for the same job