hive.worker-delegation
O que ela faz
Esta skill explica como uma IA pode dividir um trabalho grande entre vários workers em paralelo. É para pessoas que executam muitas tarefas de agentes e precisam que o trabalho seja acompanhado e concluído.
Quando usar
- ✓Quando um trabalho grande pode ser dividido em muitas partes parecidas que rodam em paralelo.
- ✓Quando você quer uma tabela de acompanhamento que mostre quais partes estão prontas e quais faltam.
- ✓Quando algumas partes de um trabalho paralelo falharam e precisam ser refeitas, sem repetir o resto.
Link da skill
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/worker-delegation/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Tenho 200 páginas de produto para verificar. Divida isto entre workers em paralelo e mantenha uma tabela das páginas concluídas.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A IA coloca cada unidade de trabalho em uma tabela, escreve um procedimento para os workers e um script controlador e continua enviando trabalho até que cada linha esteja concluída. Linhas concluídas são puladas quando o trabalho é executado de novo.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Para que serve a tabela de acompanhamento?
Ela lista cada unidade de trabalho e seu status, para que o controlador saiba o que falta fazer.
Posso executar de novo um trabalho que parou no meio?
Sim. Executar o controlador de novo retoma o trabalho, porque as linhas concluídas não estão mais na lista de pendências.
Quais são as três partes de um trabalho assim?
Uma tabela de acompanhamento guarda o estado, uma skill dá aos workers o seu procedimento e um playbook controla a execução.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 11 mil
- Posição no ranking
- #11808
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
browser-edge-cases
11 milAjuda seu agente a corrigir automações de navegador que falham em sites complicados, como LinkedIn, X ou páginas com muitos scripts.
hive.browser-automation
11 milEnsina seu agente a controlar o seu próprio Chrome com a ferramenta hive-browser, usando capturas de tela e cliques.
hive.colony-progress-tracker
11 milAjuda seu agente a reivindicar tarefas e registrar seus passos e verificações em um banco de dados compartilhado, para que o trabalho seja acompanhado enquanto avança.
hive.context-preservation
11 milAjuda seu agente a salvar fatos importantes de resultados longos de ferramentas em anotações, antes que detalhes antigos sejam removidos da sua memória.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.