Skip to content
Back to skills

Coordinator Mode

ASecurity

Multi-agent orchestration patterns: when to use coordinator mode, worker prompts, parallel execution

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
ai-agentsgo

Works with

  • claude code
  • terminal

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add sefaertunc/Worclaude --skill coordinator-mode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coordinator Mode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coordinator Mode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sefaertunc-coordinator-mode/badge)](https://www.skillsdirectory.com/skills/sefaertunc-coordinator-mode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: 'Multi-agent orchestration patterns: when to use coordinator mode, worker prompts, parallel execution'
when_to_use: 'When working with multiple agents or terminals in parallel, or when deciding how to break a large task into coordinated sub-tasks'
version: "1.0.0"
---

# Coordinator Mode

## When to Use Multi-Agent Coordination

Use coordinator patterns when:

- A task has independent research + implementation phases
- Multiple file areas can be worked on in parallel
- Verification should run alongside implementation
- You need to synthesize findings before directing follow-up work

Don't use coordinator patterns when:

- The task is small enough for one session
- Steps are strictly sequential with no parallelism
- The overhead of coordination exceeds the work itself

## Phase-Based Workflow

Most coordinated tasks follow four phases:

| Phase | Who | Purpose |
|-------|-----|---------|
| Research | Workers (parallel) | Investigate codebase, find files, understand problem |
| Synthesis | **You** (coordinator) | Read findings, understand the problem, craft implementation specs |
| Implementation | Workers | Make targeted changes per spec, commit |
| Verification | Workers | Test changes work, try to break them |

The synthesis phase is the coordinator's most important job. When workers report
research findings, **you must understand them before directing follow-up work**.
Read the findings. Identify the approach. Then write a prompt that proves you
understood by including specific file paths, line numbers, and exactly what to change.

Never write "based on your findings" or "based on the research." These phrases
delegate understanding to the worker instead of doing it yourself.

## Worker Prompt Best Practices

Workers cannot see your conversation. Every prompt must be self-contained:

**Good — synthesized spec:**
"Fix the null pointer in src/auth/validate.ts:42. The user field is undefined when
sessions expire but the token is still cached. Add a null check before user.id access.
Commit and report the hash."

**Bad — lazy delegation:**
"Based on your findings, fix the auth bug."
"The worker found an issue. Please fix it."

### Purpose Statement

Include a brief purpose so workers calibrate depth:

- "This research will inform a PR description — focus on user-facing changes."
- "I need this to plan an implementation — report file paths, line numbers, and type signatures."
- "This is a quick check before we merge — just verify the happy path."

## Continue vs Spawn Decision

| Situation                                             | Action                   | Why                                |
| ----------------------------------------------------- | ------------------------ | ---------------------------------- |
| Research explored exactly the files that need editing | Continue existing worker | Worker has files in context        |
| Research was broad, implementation is narrow          | Spawn fresh worker       | Avoid context noise                |
| Correcting a failure                                  | Continue existing worker | Worker has error context           |
| Verifying code a different worker wrote               | Spawn fresh worker       | Fresh eyes, no implementation bias |
| Wrong approach entirely                               | Spawn fresh worker       | Clean slate avoids anchoring       |

## Parallel Execution

**Parallelism is the primary advantage.** Launch independent workers concurrently:

- Read-only tasks (research) — run in parallel freely
- Write-heavy tasks (implementation) — one at a time per set of files
- Verification can sometimes run alongside implementation on different file areas

## Scratchpad Pattern

For durable cross-worker knowledge, use a shared scratchpad file:

- Workers write findings to a known location
- Other workers read from it when they need context
- Structure files by topic, not by worker

## Multi-Terminal Workflow

When running multiple Claude Code terminals (Boris Mode):

- Each terminal works on a separate feature branch or file area
- Use /sync on develop after merging to reconcile shared-state files
- Use /conflict-resolver if merges produce conflicts
- Shared-state files (PROGRESS.md, SPEC.md, package.json version) are ONLY modified on develop

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.