hive.worker-delegation
Fungsinya
Skill ini menjelaskan cara AI membagi pekerjaan besar ke beberapa pekerja paralel. Skill ini ditujukan untuk orang yang menjalankan banyak tugas agent dan perlu pekerjaannya dilacak sampai selesai.
Kapan dipakai
- โSaat pekerjaan besar bisa dipecah menjadi banyak bagian serupa yang berjalan paralel.
- โSaat Anda ingin tabel pelacakan yang menunjukkan bagian mana yang sudah selesai dan mana yang tersisa.
- โSaat sebagian pekerjaan paralel gagal dan perlu dicoba ulang tanpa mengulang bagian lain.
Link skill
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/worker-delegation/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya punya 200 halaman produk yang harus diperiksa. Pecah ini menjadi pekerja paralel dan simpan tabel halaman mana yang sudah selesai.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI menaruh setiap unit pekerjaan di sebuah tabel, menulis prosedur pekerja dan skrip pengontrol, dan terus mengirim pekerjaan sampai setiap baris selesai. Baris yang sudah selesai dilewati saat pekerjaan dijalankan ulang.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Operational Protocol: Worker Delegation
Applies when you're in COLONY mode and considering whether (and how) to fan out work to parallel workers via run_playbook. Read this before fan-out, not during.
Mental model: the tracker is the spine, the playbook is the controller
You don't coordinate workers by reading their reports and deciding what's next each turn. You model the goal as a tracker table where every unit of work is a row, and you write a playbook โ a deterministic Python script โ that drives that table to completion:
The playbook queries the rows that aren't done yet, dispatches one worker per undone row, and re-queries until none are left. Workers advance their own rows. Re-running the playbook resumes โ done rows simply aren't in the work-list anymore.
This is a reconciliation loop. The tracker is the state; the playbook is the controller that converges it. Three artifacts, three jobs:
- Tracker table โ the durable work-list and its state. The row's status column is the progress.
- Skill (
write_skill) โ the worker's operating procedure: schema, tool sequence, output format, quality bar. The risky part. - Playbook (
run_playbook) โ the deterministic orchestration: which rows are undone, who runs them, rate limits, retry/convergence policy. The cheap part.
The worker's task string carries only the per-row slice; everything reusable lives in the skill, everything deterministic lives in the playbook.
The decision: should you fan out at all?
Fan-out helps when:
- The work has N independent units (rows, person on linkedin, files, accounts, segments) and each unit takes meaningful tool time (browser, API, file read, LLM call).
- The units are disjoint โ no two workers need to write the same row at the same time.
- You can describe one unit's work in <100 words once shared playbook is in the skill.
Fan-out HURTS when:
- N=1 or N=2 with cheap units. Spawning has overhead (fresh AgentLoop, separate conversation, no shared context). Below ~3 units of meaningful work, do it yourself.
- The work is exploratory ("figure out X"). Workers are bad at open-ended scope. Decompose first, then fan out the bounded parts.
When the user explicitly asks for fan-out, do not reject the request from an untested architecture guess. If you are unsure whether a browser session, API cursor, login, or other shared resource can be used by workers, ask the user. Workers you spawn get their own separate Chrome tab groups within the SAME Chrome profile โ their tabs won't interfere with yours or each other's, and they share cookies / logged-in sessions with you.
Pilot before fan-out (do the first one yourself)
You wrote the skill from your own walkthrough โ but a walkthrough is not an execution. Selectors that worked when exploring can break under the exact tool sequence the skill prescribes; a page may paginate differently when fetched fresh; a field you eyeballed once might be intermittently null. Validate the skill yourself before paying Nร to discover the bug.
The queen runs the pilot, not a worker. Pick ONE row from the tracker and execute the skill's protocol end-to-end with your own tools โ the same hive-browser commands, tracker_*, web_scrape, etc. the workers would use. You see every tool result directly, with no [WORKER_REPORT] round-trip, and you can patch the skill mid-pilot as you discover gaps.
When to pilot (always, even when the user asks for "parallel"):
- You just wrote the skill from your own walkthrough, or you're recycling a skill across a UI/API you haven't driven this session.
- The work touches a UI surface that virtualizes, paginates, or has dynamic selectors (LinkedIn, Twitter, Notion, anything with virtual scroll or Shadow DOM).
- The per-unit work spans more than 2โ3 tool calls.
How to pilot:
- Pick ONE row โ the most representative one, not the easiest.
- Execute the skill yourself: run each tool in the prescribed order, advance the row to "done."
- If you hit a snag โ fix the skill in place before continuing. Capturing these patches is the whole point.
- If the row finishes cleanly: the skill is validated. Run the playbook for the rest.
- If you can't finish the row at all: the protocol is wrong (not one selector). Redesign before any worker touches it.
Skip the pilot only when the protocol is one you've already validated this session AND nothing about the target surface has changed.
The loop (always, in orde
Pertanyaan umum
Untuk apa tabel pelacak?
Tabel itu mencantumkan setiap unit pekerjaan dan statusnya, sehingga pengontrol tahu apa yang masih harus dikerjakan.
Bisakah saya menjalankan ulang pekerjaan yang berhenti di tengah jalan?
Bisa. Menjalankan ulang pengontrol melanjutkan pekerjaan, karena baris yang sudah selesai tidak lagi ada dalam daftar kerja.
Apa tiga bagian dari pekerjaan seperti ini?
Tabel pelacak menyimpan status, skill memberi pekerja prosedurnya, dan playbook mengatur jalannya proses.
Detail
Deskripsi asli dari pembuat
Concrete patterns for breaking colony work into parallel worker jobs via run_playbook โ when fan-out helps, how to model the goal as a tracker table, write the worker skill, author the playbook, pilot, and let convergence retry/resume the gap.
repo: aden-hive/hive
Popularitas
- Bintang GitHub
- 11k
- Peringkat
- #11808
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
browser-edge-cases
11kMembantu agent Anda memperbaiki otomatisasi browser yang gagal di situs yang rumit, seperti LinkedIn, X atau halaman dengan skrip yang berat.
hive.browser-automation
11kMengajari agent Anda mengendalikan browser Chrome Anda sendiri dengan alat hive-browser, memakai tangkapan layar dan klik.
hive.colony-progress-tracker
11kMembantu agent Anda mengklaim tugas dan mencatat langkah serta pemeriksaannya di basis data bersama, sehingga pekerjaan terlacak saat berjalan.
hive.context-preservation
11kMembantu agent Anda menyimpan fakta penting dari hasil alat yang panjang ke dalam catatan sebelum detail lama dihapus dari memorinya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.