hive.worker-delegation
Agent skill fromaden-hive/hive
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.
How to install hive.worker-delegation
install hive.worker-delegation
# install the hive pack with the skills CLI
npx skills add aden-hive/hive# or add only this skill to Claude Code: copy the folder
core/framework/skills/_default_skills/worker-delegation/
# into
~/.claude/skills/worker-delegation/ (all projects)
.claude/skills/worker-delegation/ (one project)
1## Operational Protocol: Worker Delegation23**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.45### Mental model: the tracker is the spine, the playbook is the controller67You 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:89> 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.1011This is a reconciliation loop. The tracker is the state; the playbook is the controller that converges it. Three artifacts, three jobs:1213- **Tracker table** — the durable work-list and its state. The row's status column *is* the progress.14- **Skill** (`write_skill`) — the worker's operating procedure: schema, tool sequence, output format, quality bar. The risky part.15- **Playbook** (`run_playbook`) — the deterministic orchestration: which rows are undone, who runs them, rate limits, retry/convergence policy. The cheap part.1617The worker's task string carries only the per-row slice; everything reusable lives in the skill, everything deterministic lives in the playbook.18…
Excerpt shown under the repository's Apache-2.0 license.
