coordinator
Coordinator
Overview
Manages two concerns: output mode switching (voice vs text) and agent team orchestration for parallel task execution.
Voice/Text Mode Toggle
Trigger words: "vm", "voice mode" -> switch to VOICE. "tm", "text mode" -> switch to TEXT.
VOICE Mode Rules
- Short sentences, max 2 lines each
- Bullet points for all lists
- No code blocks longer than 3 lines — summarize verbally instead
- Confirm before executing any tool: "I'll [action]. Go ahead?"
- Use plain language, avoid jargon
- When showing code changes, describe what changed rather than showing diffs
TEXT Mode Rules (Default)
- Full detailed responses with code blocks
- Show diffs, full implementations, detailed explanations
- Execute tools without pre-confirmation (unless destructive)
Agent Team Orchestration
When to Use Teams
- Task has 3+ independent subtasks
- Different subtasks need different expertise (e.g., implementation + testing + review)
- Work can be parallelized without merge conflicts
Orchestration Details
Read references/team-orchestration.md for the full coordination pattern (DECOMPOSE -> WAVE PLAN -> DISPATCH -> GATE -> VERIFY), agent spawn rules, model selection table, context budget management, and conflict resolution.
Plan-Driven Orchestration
When orchestrating execution of a structured plan (.claude/plans/<plan-id>/):
At Session Start
Read plan.md and manifest.json. The manifest defines waves and task dependencies. Use the manifest's wave grouping directly — do not re-derive wave structure.
At Each Wave Boundary
Re-read manifest.json from disk. This protects against context compaction loss. Update task statuses in the manifest after each wave completes.
Agent Dispatch
Point each agent at its briefing file. Do NOT paste briefing content inline. Include in dispatch prompt: plan-id, task-id, briefing path, working directory.
After Final Wave
- Optionally write
.claude/plans/<plan-id>/summary.mdwith execution notes - Delete the plan directory:
rm -rf .claude/plans/<plan-id>/ - If deletion fails, warn but do not block
Common Mistakes
- Spawning agents without full context in the prompt
- Letting multiple agents modify the same file
- Skipping verification after merging agent outputs
- Using teams for tasks that are naturally sequential
- Putting dependent tasks in the same wave (task B needs task A's output -> different waves)
- Pasting full briefing text inline instead of pointing agents to their briefing file
- Not re-reading manifest at wave boundaries (context compaction can lose state)
More from hjewkes/agent-skills
self-improve
Use when a session produced reusable insights, when the user says "learn from this", "remember this", or "improve yourself", or after completing a complex task where patterns were discovered
63md-render
Use when asked to render, preview, or view a markdown file in the browser. Triggers on "render markdown", "preview this", "show me this document", "open in browser".
21code-review
Unified code review system — dispatches the right review agents for the situation. Use when reviewing code for quality, bugs, compliance, or before merging.
17skills-management
Use when creating, finding, installing, reviewing, or managing Claude Code skills — covers skill authoring, discovery, conventions, and lifecycle management
14buildkite
Buildkite CI/CD integration. Use when the user needs to check build status, trigger builds, read build logs, debug failures, manage pipelines, or any Buildkite workflow. Triggers include "buildkite", "build", "pipeline", "CI", "deploy", "build log", "build failed".
14agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
13