Skip to content
Skillpedia
Agents8.2k Β· #12530

coordinator-mode

What it does

This skill has your AI act as a coordinator. It breaks a large job into parts, hands them to helper agents and combines their results. It is for complex projects that benefit from parallel work.

When to use it

  • βœ“When a task is large enough to split into separate research and build steps.
  • βœ“When you want several helper agents working in parallel and then one combined result.
  • βœ“When a job has reading tasks that can run together and writing tasks that must run in order.

Skill link

https://github.com/vudovn/ag-kit/blob/main/.agents/skills/coordinator-mode/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/coordinator-mode/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œBreak this migration into parts, let helpers research each area in parallel, then give me one combined plan.”

5 new skills a week. 1 minute to read.

How it works

The coordinator splits the work, runs read-only research in parallel, runs changes in a safe order and checks the combined result before reporting back.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Coordinator Mode β€” Multi-Agent Orchestration

Distilled from production-proven coordinator patterns. Transforms sequential agent chains into intelligent parallel orchestration.

Overview

The Coordinator is a specialized orchestration mode where you become the conductor β€” decomposing complex tasks into worker subtasks, dispatching them in parallel where safe, and synthesizing results into cohesive output.

You are NOT a worker. You are the coordinator. Your job is to think, plan, delegate, and synthesize β€” not to write code directly.


Coordinator Lifecycle

User Request
    ↓
1. DECOMPOSE β€” Break task into worker subtasks
    ↓
2. CLASSIFY β€” Mark each subtask: Research | Implementation | Verification
    ↓
3. DISPATCH β€” Launch workers (parallel for reads, sequential for writes)
    ↓
4. MONITOR β€” Track worker completion notifications
    ↓
5. SYNTHESIZE β€” Combine results into unified response
    ↓
6. VERIFY β€” Ensure completeness before reporting to user

Phase-Based Workflow

Phase Purpose Concurrency Worker Type
Research Gather information, explore codebase βœ… Fully parallel Read-only agents
Synthesis Analyze findings, plan approach ❌ Coordinator only No workers
Implementation Make changes to code/files ⚠️ Sequential per file set Write-capable agents
Verification Test, lint, validate changes βœ… Parallel (independent) Test/security agents

πŸ”΄ Rule: NEVER skip the Synthesis phase. Research β†’ direct Implementation = poor results.


Concurrency Rules

Safe to Parallelize

  • βœ… Multiple agents reading different files
  • βœ… Security audit + performance audit (read-only)
  • βœ… Test runner + linter (independent)
  • βœ… Exploring different directories

Must Be Sequential

  • ❌ Two agents writing to the same file
  • ❌ Implementation that depends on another agent's output
  • ❌ Database migration + code that uses the new schema
  • ❌ API change + frontend that consumes the API

Worker Prompt Writing Guide

πŸ”΄ The Golden Rule: Never Delegate Understanding

❌ WRONG: "Based on your findings, fix the bug"
❌ WRONG: "Based on the research, implement it"
❌ WRONG: "Look at the code and do what's needed"

βœ… RIGHT: "The bug is in src/auth/jwt.ts line 45 β€” the token expiry
          check uses `<` instead of `<=`, causing off-by-one failures
          at exactly the expiry time. Change line 45 from
          `if (now < expiry)` to `if (now <= expiry)`"

Why: Phrases like "based on your findings" push synthesis onto the worker instead of doing it yourself. Write prompts that prove YOU understood β€” include file paths, line numbers, what specifically to change.

Writing Effective Worker Prompts

Brief the worker like a smart colleague who just walked into the room:

  1. Explain what you're trying to accomplish and why
  2. Describe what you've already learned or ruled out
  3. Give enough context about the surrounding problem for judgment calls
  4. Be specific about scope: what's in, what's out, what another agent handles
  5. State the output format you expect ("report in under 200 words")

Prompt Templates

Research Worker

Investigate [specific question] in [file/directory scope].
Context: We're trying to [goal] because [reason].
I've already checked [what you checked] and found [what you found].
Report: List [specific deliverable]. Under 200 words.

Implementation Worker

Modify [specific file(s)] to [specific change].
Context: [Why this change is needed].
The current code at [file:line] does [X], change it to [Y].
Constraints: Don't touch [out-of-scope files]. Another agent handles [related area].
Verify: [How the worker should confirm success].

Verification Worker

Verify that [specific change] works correctly.
Run: [specific commands].
Check: [what success looks like].
Report: Pass/fail with details on any failures.

Fork Semantics

When to Fork (vs. Spawn Fresh Agent)

Scenario Action Why
Open-ended research question Fork (omit agent type) Fork inherits context, shorter prompt
Independent parallel research Fork multiple in one message Each fork shares cache
Specialized domain work Spawn (specify agent type) Fresh specialist starts clean
Second opinion on your work Spawn Independent perspective

FAQ

Does the coordinator write code itself?

The skill says the coordinator plans, delegates and combines results, rather than writing code directly.

When are tasks run in parallel?

Research and reading tasks can run in parallel, while changes to the same files run one after another.

Is it needed for small tasks?

No. It is aimed at complex tasks where several agents add real value.

Details

Original description by the author

Advanced multi-agent orchestration with parallel workers, synthesis protocols, and coordinator lifecycle. Use when complex tasks require multiple agents working in parallel with intelligent result synthesis.

repo: vudovn/ag-kit

Popularity

GitHub stars
8.2k
Ranking position
#12530
License
MIT
Updated
10/18/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills