hive.worker-delegation

Orchestrates parallel worker agents over tracker tables using deterministic Python playbooks.

11.0k|5.7k|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/aden-hive/hive --skill hive-worker-delegation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hive.worker-delegation
Source: https://github.com/aden-hive/hive/tree/main/core/framework/skills/_default_skills/worker-delegation
Command: npx skills add https://github.com/aden-hive/hive --skill hive-worker-delegation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating many parallel worker agents on a large batch of work is error-prone: duplicated effort, lost progress on crashes, rate-limit bans, and no way to resume after failure. This Skill provides a concrete pattern for fanning out colony work safely by modeling the goal as a tracker table and driving it to completion with a deterministic playbook.

Core Features & Use Cases

  • Tracker-driven orchestration: Model every unit of work as a table row with a done-predicate, so re-running a playbook automatically resumes only the unfinished gap.
  • Deterministic playbooks: Write Python scripts using converge, worker, tracker_query, and lane to control concurrency, retries, circuit breakers, and dead-lettering without manual re-dispatch.
  • Pilot-first validation: Run one row yourself before fan-out to catch broken selectors or protocol gaps before paying for N failed workers.
  • Multi-account routing: Rotate browser profiles and lanes to spread load across logged-in accounts while throttling per-account rate limits.
  • Use Case: Research 25 fintech competitors in parallel — seed a tracker table, write a worker skill, pilot one row, then run a playbook that converges the remaining rows with retries and a dead-letter report.

Quick Start

Ask the agent to break your batch task into a tracker table, write a worker skill, pilot one row, and run a playbook that fans the rest out to parallel workers.

Frequently Asked Questions about hive.worker-delegation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fan out work to parallel workers in a Hive colony?

Model the goal as a tracker table with a done-predicate column, write the worker protocol as a skill, pilot one row yourself, then author a Python playbook that calls converge over the pending rows and run it with run_playbook. Re-running the playbook resumes only unfinished rows.

When should I not use parallel worker fan-out?

Skip fan-out when there are fewer than about three units of meaningful work, since spawning workers has overhead, or when the work is exploratory and open-ended. Decompose the problem into bounded units first, then fan out only the well-defined parts.

How do I route workers across multiple browser accounts or Chrome profiles?

Call list_browser_profiles to discover connected profile labels, then pass each worker its label in the task string so it runs hive-browser commands with --browser-profile. Rotate the profile per row index and set a lane per account to cap concurrency and throttle rate limits.

Why did my playbook dispatch zero workers?

The most common causes are awaiting tracker_query (it is synchronous and returns a list of row dicts), passing a COUNT query as pending instead of selecting undone rows, or calling worker() in a bare loop without converge. Parallel dispatch only happens through converge's dispatch lambda.

What happens if a worker crashes mid-task during a playbook run?

Re-running the playbook re-dispatches any row not marked done, including rows whose worker crashed. Tracker upserts are idempotent, but external side effects like sending messages must detect prior completion themselves to avoid duplicates.

How do I avoid two colonies contacting the same sales leads?

Use the shared hive-crm CLI before fan-out: import the target people, then atomically claim their person_ids so only unclaimed leads enter your tracker. After the playbook completes, import the finished records back and release the claims.