Langsung ke konten
Skillpedia
Agen8.2k ยท #12530

coordinator-mode

Fungsinya

Skill ini membuat AI Anda bertindak sebagai koordinator. Ia memecah pekerjaan besar menjadi beberapa bagian, menyerahkannya kepada agent pembantu, dan menggabungkan hasilnya. Skill ini untuk proyek rumit yang diuntungkan oleh kerja paralel.

Kapan dipakai

  • โœ“Saat sebuah tugas cukup besar untuk dipecah menjadi tahap riset dan tahap pembangunan yang terpisah.
  • โœ“Saat Anda ingin beberapa agent pembantu bekerja paralel lalu menghasilkan satu hasil gabungan.
  • โœ“Saat sebuah pekerjaan memiliki tugas membaca yang bisa berjalan bersama dan tugas menulis yang harus berurutan.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/vudovn/ag-kit/blob/main/.agents/skills/coordinator-mode/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œPecah migrasi ini menjadi beberapa bagian, minta pembantu meneliti tiap area secara paralel, lalu beri saya satu rencana gabungan.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Koordinator memecah pekerjaan, menjalankan riset hanya-baca secara paralel, menjalankan perubahan dengan urutan yang aman, dan memeriksa hasil gabungannya sebelum melaporkan kembali.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah koordinator menulis kode sendiri?

Skill menyatakan bahwa koordinator merencanakan, mendelegasikan, dan menggabungkan hasil, alih-alih menulis kode secara langsung.

Kapan tugas dijalankan secara paralel?

Tugas riset dan membaca bisa berjalan paralel, sedangkan perubahan pada berkas yang sama dijalankan satu per satu.

Apakah ini diperlukan untuk tugas kecil?

Tidak. Skill ini ditujukan untuk tugas rumit yang benar-benar diuntungkan oleh beberapa agent.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
8.2k
Peringkat
#12530
Lisensi
MIT
Diperbarui
18/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa