Aller au contenu
Skillpedia
Agents8.2k · #12530

coordinator-mode

Ce qu’il fait

Cette compétence fait agir votre IA comme un coordinateur. Elle découpe un grand travail en parties, les confie à des agents auxiliaires et regroupe leurs résultats. Elle s'adresse aux projets complexes qui gagnent à être menés en parallèle.

Quand l’utiliser

  • ✓Quand une tâche est assez vaste pour être découpée en étapes distinctes de recherche et de réalisation.
  • ✓Quand vous voulez plusieurs agents auxiliaires qui travaillent en parallèle, puis un résultat commun.
  • ✓Quand un travail comporte des tâches de lecture pouvant se faire ensemble et des tâches d'écriture qui doivent se suivre dans l'ordre.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/vudovn/ag-kit/blob/main/.agents/skills/coordinator-mode/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Découpe cette migration en parties, laisse des auxiliaires étudier chaque domaine en parallèle, puis donne-moi un plan commun.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Le coordinateur répartit le travail, lance les recherches en lecture seule en parallèle, exécute les modifications dans un ordre sûr, puis vérifie le résultat commun avant de vous le rendre.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

Questions fréquentes

Le coordinateur écrit-il lui-même le code ?

La compétence indique que le coordinateur planifie, délègue et regroupe les résultats, plutôt que d'écrire le code directement.

Quand les tâches sont-elles exécutées en parallèle ?

Les tâches de recherche et de lecture peuvent se faire en parallèle, tandis que les modifications des mêmes fichiers se font l'une après l'autre.

Est-elle utile pour les petites tâches ?

Non. Elle vise les tâches complexes où plusieurs agents apportent une réelle valeur.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
8.2k
Position au classement
#12530
Licence
MIT
Mis à jour
18/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires