hive.worker-delegation
できること
このスキルは、AIが大きな作業を、複数の並列ワーカーに分ける方法を説明します。多くのエージェントのタスクを動かし、作業を追跡して完了させたい人向けです。
使う場面
- ✓大きな作業が、並列で実行できる多くの似た部分に分けられるとき。
- ✓どの部分が完了していて、どれが残っているかを示す追跡の表がほしいとき。
- ✓並列の作業の一部が失敗し、残りを繰り返さずに再試行する必要があるとき。
スキルのリンク
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/worker-delegation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“200件の商品ページを確認する作業を、並列のワーカーに分け、どのページが完了したかの表を残してください。”
毎週5つの新しいスキル。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
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
browser-edge-cases
11kエージェントが、LinkedIn、X、スクリプトの多いページなど、扱いの難しいサイトでブラウザ自動化が失敗する原因を直せるよう支援します。
hive.browser-automation
11kエージェントが、hive-browserツールを使い、スクリーンショットとクリックで、自分のChromeブラウザを操作できるよう支援します。
hive.colony-progress-tracker
11kエージェントが、タスクを確保し、その手順と確認を共有データベースに記録できるよう支援します。作業が進むにつれて追跡されます。
hive.context-preservation
11kエージェントが、長いツールの結果から重要な事実を、メモとして保存し、古い詳細がメモリから消される前に残せるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。