Pular para o conteúdo
Skillpedia
Agentes8,2 mil · #12530

coordinator-mode

O que ela faz

Esta skill faz sua IA atuar como coordenadora. Ela divide um trabalho grande em partes, entrega essas partes a agentes auxiliares e junta os resultados. É para projetos complexos que se beneficiam de trabalho em paralelo.

Quando usar

  • ✓Quando uma tarefa é grande o bastante para ser dividida em etapas separadas de pesquisa e construção.
  • ✓Quando você quer vários agentes auxiliares trabalhando em paralelo e depois um único resultado combinado.
  • ✓Quando um trabalho tem tarefas de leitura que podem rodar juntas e tarefas de escrita que precisam seguir uma ordem.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/coordinator-mode/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Divida esta migração em partes, deixe os auxiliares pesquisarem cada área em paralelo e me dê um único plano combinado.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O coordenador divide o trabalho, executa pesquisas somente de leitura em paralelo, faz as alterações em uma ordem segura e confere o resultado combinado antes de reportar.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

Perguntas frequentes

O coordenador escreve o código ele mesmo?

Não. A skill diz que o coordenador planeja, delega e combina os resultados, em vez de escrever o código diretamente.

Quando as tarefas são executadas em paralelo?

Tarefas de pesquisa e leitura podem rodar juntas, enquanto alterações nos mesmos arquivos rodam uma após a outra.

Serve para tarefas pequenas?

Não. Ela é indicada para tarefas complexas em que vários agentes realmente agregam valor.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
8,2 mil
Posição no ranking
#12530
Licença
MIT
Atualizada em
18/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas