Logo van Coordinator Mode

Coordinator Mode

CommunityPopulair
vudovn
coordinator-mode

Geavanceerde orkestratie van meerdere agents, met parallelle workers, syntheseprotocollen en coördinatorlevenscyclus. Gebruik dit wanneer complexe taken meerdere agents vereisen die parallel werken en resultaten intelligent samenvoegen.

Add to TypingMind

Overzicht

Uitgevervudovn
Repositoryag-kit
Skillnaamcoordinator-mode
Sterren
8.2K
Forks
1.5K
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door vudovn op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Coordinator Mode in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/vudovn/ag-kit/tree/main/.agents/skills/coordinator-mode
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vudovn/ag-kit.git /tmp/ag-kit
mkdir -p .claude/skills
cp -r /tmp/ag-kit/.agents/skills/coordinator-mode .claude/skills/coordinator-mode
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Coordinator Mode in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Coordinator Mode automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Coordinator Mode niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

PhasePurposeConcurrencyWorker Type
ResearchGather information, explore codebase✅ Fully parallelRead-only agents
SynthesisAnalyze findings, plan approach❌ Coordinator onlyNo workers
ImplementationMake changes to code/files⚠️ Sequential per file setWrite-capable agents
VerificationTest, 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)

ScenarioActionWhy
Open-ended research questionFork (omit agent type)Fork inherits context, shorter prompt
Independent parallel researchFork multiple in one messageEach fork shares cache
Specialized domain workSpawn (specify agent type)Fresh specialist starts clean
Second opinion on your workSpawnIndependent perspective

Fork Rules

  1. Don't peek. Don't read the fork's output file mid-flight. You'll get a completion notification. Reading the transcript pulls tool noise into your context.

  2. Don't race. After launching, you know nothing about what the fork found. Never fabricate or predict fork results. If the user asks before notification lands, say "the fork is still running."

  3. Keep prompts short. Forks inherit your full context — write a directive (what to do), not a briefing (what the situation is).


Anti-Patterns

Anti-PatternWhy It's BadFix
"Look at the code and fix it"Zero context = workers make wrong assumptionsProvide specific file paths, line numbers, and what to change
Skipping Research phaseImplementation without understanding = reworkAlways research first, even briefly
Launching 10+ workers at onceOverwhelms synthesis, diminishing returns2-5 workers per round, synthesize, then more if needed
Fabricating worker resultsUser gets wrong informationWait for actual notification, say "still running" if asked
Coordinator writes code directlyLoses orchestration benefitsAlways delegate to appropriate specialist

Synthesis Protocol

After all workers complete:

markdown
## Coordinator Synthesis

### Task: [Original Request]

### Workers Dispatched
| Worker | Type | Status | Key Finding |
|--------|------|--------|-------------|
| agent-1 | Research | ✅ | Found X in file Y |
| agent-2 | Research | ✅ | Identified Y pattern |

### Consolidated Analysis
[Your synthesis — not a copy-paste of worker output]

### Decision & Rationale
[What you decided based on ALL worker findings and why]

### Implementation Plan
1. [Specific change with file path]
2. [Specific change with file path]

### Remaining Risk
- [Anything workers flagged but couldn't resolve]

Continue vs. Spawn Decision

SituationAction
Worker completed, need follow-up on same topicContinue (send message to worker ID)
Worker completed, need different domain workSpawn new specialist
Worker failed, need retry with same contextContinue with corrected instructions
Worker failed, need fundamentally different approachSpawn new

Best Practices

  1. Start with 2-3 workers — add more after synthesis if needed
  2. Research before implementation — always, even for "simple" tasks
  3. Synthesize, don't copy — your summary should add insight, not repeat
  4. Verify independently — verification workers shouldn't trust implementation workers
  5. Track state — note which workers are pending/completed/failed
  6. Share scratchpad — use a known directory for cross-worker artifacts

Veelgestelde vragen

Wat doet de AI-skill Coordinator Mode?

Geavanceerde orkestratie van meerdere agents, met parallelle workers, syntheseprotocollen en coördinatorlevenscyclus. Gebruik dit wanneer complexe taken meerdere agents vereisen die parallel werken en resultaten intelligent samenvoegen.

Waarom Coordinator Mode gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Coordinator Mode bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Coordinator Mode in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/vudovn/ag-kit/tree/main/.agents/skills/coordinator-mode. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Coordinator Mode gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Coordinator Mode gebruiken?

Zoveel als je wilt. Je kunt Coordinator Mode gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Coordinator Mode gratis?

Ja. Deze skill is door vudovn op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇