hive.worker-delegation
यह क्या करती है
यह स्किल बताती है कि AI एक बड़े काम को कई समानांतर वर्करों में कैसे बाँट सकता है। यह उन लोगों के लिए है जो बहुत सारे एजेंट टास्क चलाते हैं और चाहते हैं कि काम ट्रैक होकर पूरा हो।
कब इस्तेमाल करें
- ✓जब एक बड़े काम को कई एक जैसे हिस्सों में बाँटा जा सकता हो, जो समानांतर चलें।
- ✓जब आपको ऐसी ट्रैकिंग तालिका चाहिए जो दिखाए कि कौन से हिस्से हो गए और कौन से बाकी हैं।
- ✓जब समानांतर काम के कुछ हिस्से विफल हों और बाकी को दोहराए बिना उन्हें फिर से चलाना हो।
Skill का लिंक
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/worker-delegation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे पास 200 प्रोडक्ट पेज जाँचने हैं। इसे समानांतर वर्करों में बाँटिए और एक तालिका रखिए कि कौन से पेज हो चुके हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI काम की हर इकाई को एक तालिका में रखता है, एक वर्कर प्रक्रिया और एक कंट्रोलर स्क्रिप्ट लिखता है, और तब तक काम भेजता रहता है जब तक हर पंक्ति पूरी न हो जाए। काम दोबारा चलने पर पूरी हो चुकी पंक्तियाँ छोड़ दी जाती हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
ट्रैकर तालिका किस काम की है?
यह हर इकाई और उसकी स्थिति दर्ज करती है, ताकि कंट्रोलर जाने कि अभी क्या बाकी है।
क्या बीच में रुका काम दोबारा चला सकते हैं?
हाँ। कंट्रोलर दोबारा चलाने पर काम वहीं से शुरू होता है, क्योंकि पूरी पंक्तियाँ काम की सूची में नहीं रहतीं।
ऐसे काम के तीन हिस्से क्या हैं?
एक ट्रैकर तालिका स्थिति रखती है, एक स्किल वर्करों को उनकी प्रक्रिया देती है और एक प्लेबुक रन को नियंत्रित करती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 11k
- रैंकिंग में स्थान
- #11808
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
browser-edge-cases
11kयह आपके एजेंट को LinkedIn, X या भारी स्क्रिप्ट वाले पेजों जैसी जटिल साइटों पर विफल होने वाले ब्राउज़र ऑटोमेशन को ठीक करने में मदद करती है।
hive.browser-automation
11kयह आपके एजेंट को hive-browser टूल से और स्क्रीनशॉट व क्लिक के ज़रिए आपके अपने Chrome ब्राउज़र को नियंत्रित करना सिखाती है।
hive.colony-progress-tracker
11kयह आपके एजेंट को कार्य लेने और साझा डेटाबेस में अपने चरण व जाँच दर्ज करने में मदद करती है, ताकि काम चलते-चलते ट्रैक हो।
hive.context-preservation
11kयह आपके एजेंट को लंबे टूल नतीजों से ज़रूरी बातें नोट्स में सहेजने में मदद करती है, इससे पहले कि पुराने विवरण उसकी मेमोरी से हटें।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।