This skill should be used when coordinating agents, delegating tasks to specialists, or when "dispatch agents", "which agent", or "multi-agent" are mentioned.
Orchestrate outfitter subagents by matching tasks to the right agent + skill combinations.
For complex multi-agent tasks, start with the Plan subagent to research and design the orchestration strategy before execution.
Complex task arrives
│
├─► Plan subagent (research stage)
│ └─► Explore codebase, gather context
│ └─► Identify which agents and skills needed
│ └─► Design execution sequence (sequential, parallel, or hybrid)
│ └─► Return orchestration plan
│
└─► Execute plan (dispatch agents per plan)
Plan subagent benefits:
When to use Plan subagent:
For long-running orchestration, load the context-management skill. It teaches:
Key principle: Main conversation context is precious. Delegate exploration and research to subagents — only their summaries return, keeping main context lean.
Coordination uses roles (what function is needed) mapped to agents (who fulfills it). This allows substitution when better-suited agents are available.
| Role | Agent | Purpose | |------|-------|---------| | coding | engineer | Build, implement, fix, refactor | | reviewing | reviewer | Evaluate code, PRs, architecture, security | | research | analyst | Investigate, research, explore | | debugging | debugger | Diagnose issues, trace problems | | testing | tester | Validate, prove, verify behavior | | challenging | skeptic | Challenge complexity, question assumptions | | specialist | specialist | Domain expertise (CI/CD, design, accessibility, etc.) | | patterns | analyst | Extract reusable patterns from work |
Additional agents may be available in your environment (user-defined, plugin-provided, or built-in). When dispatching:
Examples of role substitution:
senior-engineer, developer, engineersecurity-auditor, code-reviewer, reviewerresearch-engineer, docs-librarian, analystcicd-expert, design-agent, accessibility-auditor, bun-expertRoute by role, then select the best available agent for that role:
User request arrives
│
├─► "build/implement/fix/refactor" ──► coding role
│
├─► "review/critique/audit" ──► reviewing role
│
├─► "investigate/research/explore" ──► research role
│
├─► "debug/diagnose/trace" ──► debugging role
│
├─► "test/validate/prove" ──► testing role
│
├─► "simplify/challenge/is this overkill" ──► challenging role
│
├─► "deploy/configure/CI/design/a11y" ──► specialist role
│
└─► "capture this workflow/make reusable" ──► patterns role
One agent completes, passes to next:
research (investigate) → coding (implement) → reviewing (verify) → testing (validate)
Use when: Clear stages, each requires different expertise.
Multiple agents work simultaneously using run_in_background: true:
┌─► reviewing (code quality)
│
task ──┼─► research (impact analysis)
│
└─► testing (regression tests)
Use when: Independent concerns, time-sensitive, comprehensive coverage needed.
Build → challenge → refine:
coding (propose) ←→ challenging (evaluate) → coding (refine)
Use when: Complex architecture, preventing over-engineering, high-stakes decisions.
Narrow down, then fix:
research (scope) → debugging (root cause) → coding (fix) → testing (verify)
Use when: Bug reports, production issues, unclear symptoms.
| Task | Skills | |------|--------| | New feature | software-craft, tdd | | Bug fix | debugging → software-craft | | Refactor | software-craft + simplify | | API endpoint | hono-dev, software-craft | | React component | react-dev, software-craft | | AI feature | ai-sdk, software-craft |
| Task | Skills | |------|--------| | PR review | code-review | | Architecture review | architecture | | Performance audit | performance | | Security audit | security | | Pre-merge check | code-review + scenarios |
| Task | Skills | |------|--------| | Codebase exploration | codebase-recon | | Research question | research | | Unclear requirements | pathfinding | | Status report | status, report-findings |
| Task | Skills | |------|--------| | Feature validation | scenarios | | TDD implementation | tdd | | Integration testing | scenarios |
Run agents asynchronously for parallel work:
{
"description": "Security review",
"prompt": "Review auth module for vulnerabilities",
"subagent_type": "outfitter:reviewer",
"run_in_background": true
}
Retrieve results with TaskOutput:
{
"task_id": "agent-abc123",
"block": true
}
Sequence agents for complex workflows — each agent's output informs the next:
research agent → "Found 3 auth patterns in use"
↓
coding agent → "Implementing refresh token flow using pattern A"
↓
reviewing agent → "Verified implementation, found 1 issue"
↓
coding agent → "Fixed issue, ready for merge"
Pass context explicitly between agents via prompt.
Continue long-running work across invocations:
{
"description": "Continue security analysis",
"prompt": "Now examine session management",
"subagent_type": "outfitter:reviewer",
"resume": "agent-abc123"
}
Agent preserves full context from previous execution.
Use cases:
Override model for specific needs:
{
"subagent_type": "outfitter:analyst",
"model": "haiku" // Fast, cheap for exploration
}
CLAUDE.md before applying defaultsWhen agents face implementation choices:
These principles apply across all roles. Agents should surface decisions to the orchestrator when trade-offs are significant.
Orchestrators and agents should:
Progress format:
░░░░░░░░░░ [1/5] research: Exploring auth patterns
▓▓▓▓░░░░░░ [2/5] coding: Implementing refresh token flow
CRITICAL: Subagents MUST NOT perform git operations (commit, push, branch creation) when running in parallel.
Only the orchestrator handles git state. Subagents write code to the filesystem and report completion.
For detailed workflows and recovery procedures, see the source-control plugin:
source-control:multi-agent-vcs — Full orchestrator-only workflow patternssource-control:graphite-stacks — Graphite-specific commands and recovery"I need to build X" → coding role + TDD skills
"Review this PR" → reviewing role + code-review
"Why is this broken?" → debugging role + debugging
"Is this approach overkill?" → challenging role + simplify
"Prove this works" → testing role + scenarios
"What's the codebase doing?" → research role + codebase-recon
"Deploy to production" → specialist role + domain skills
"Make this workflow reusable" → patterns role + codify
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer