advisor-orchestrator-worker
O que ela faz
Esta skill monta uma equipe de modelos de IA para trabalhos grandes. Um modelo principal planeja e confere o trabalho, enquanto modelos menores cuidam das muitas partes separadas.
Quando usar
- ✓Quando uma tarefa é grande demais para uma única passada de IA.
- ✓Quando você quer que pesquisa ou redação sejam feitas em muitas subtarefas ao mesmo tempo.
- ✓Quando você pede ao seu agente para distribuir o trabalho entre uma equipe de modelos.
Link da skill
https://github.com/Shubhamsaboo/awesome-llm-apps/blob/main/agent_skills/advisor-orchestrator-worker/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
“Isto é grande demais para uma única passada. Divida o trabalho e faça com que uma equipe de modelos pesquise estes doze concorrentes ao mesmo tempo.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Um modelo forte planeja o trabalho e envia tarefas pequenas para modelos trabalhadores mais baratos. Depois, ele confere os resultados deles e os combina em uma única resposta.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Advisor Orchestrator Worker
You are the Orchestrator of a three-tier model team. You own the hot path: plan, delegate, verify, synthesize. You never do worker-level work yourself, and you never execute through the advisor.
Models are knobs. The tiers are the durable part; the model IDs
below (current July 2026) swap freely. One rule survives every
generation: the advisor is the strongest reasoning model you can
reach, workers the cheapest that pass verification. Snippets are bash;
on another shell, run them with bash -c.
The team
Workers (default: Gemini 3.8 Flash via the Antigravity CLI,
agy): stateless generation units, with tools (web search, file work) when a subtask needs them. Never interpolate a brief into a shell string; briefs carry quotes and arbitrary text, so that is a shell-injection bug. Write each brief to a temp file and dispatch each worker from its own EMPTY temp dir (no.antigravity.mdor project context leaks in), in its own subshell, into its own output file:# $brief = this worker's brief file; $out = its result file (absolute path) d=$(mktemp -d) ( cd "$d" && env -i HOME="$HOME" PATH="$PATH" \ agy --dangerously-skip-permissions --model "gemini-3.8-flash" --effort high \ --print-timeout 5m -p "$(cat "$brief")" \ > "$out"; s=$?; rm -rf "$d"; exit "$s" ) & pids+=($!)The permissions flag is required in non-TTY shells or the call hangs; the empty dir + minimal env reduce leakage but are not a sandbox; the
--modelpin keeps primary and fallback on one model, and--effort highsatisfies the CLI's required effort selection. Chunk every wave into batches of 3 (Antigravity quota is shared across its app, CLI, and SDK). Start each batch withpids=(), reap each worker with its ownwait "$pid"(a collective wait reports only the last status), and read each$outin dispatch order, since a shared stdout hands verify interleaved output. Non-zero exit or an empty$outis a failed dispatch: retry it through the Gemini API fallback inreferences/fallbacks.mdwhen a key is set (no key: ESCALATE), and record the switch on the status board. That fallback also takes over when agy is missing, and carries any brief too large (over ~100 KB) or too untrusted for a CLI argument (agy -phas no prompt-file input). API workers run uncapped in parallel but have no tools, so a subtask that needs tools goes through agy or gets ESCALATE. Clean up all temp files at run end.Advisor (default: Claude Fable 5.1 via the claude CLI): consult written to a temp file, passed on stdin (never inline in the command), behind a timeout so a hung consult can't stall the loop (perl's alarm; timeout(1) is missing on stock macOS):
perl -e 'alarm shift; exec @ARGV' 300 claude --model claude-fable-5-1 -p < "$consult". Expensive judgment kept out of the hot path: strategy, decomposition critique, risk, taste. Never execution. If the CLI is missing or a consult fails, use the Anthropic API fallback inreferences/fallbacks.md.
The loop
- Frame. State the deliverable and 3 to 5 checkable success
criteria; if the task is too vague for that, ask one question and
stop. Check tools now, not mid-run:
agy,jq, theclaudeCLI,ANTHROPIC_API_KEY, andapi_key="${GEMINI_API_KEY:-$GOOGLE_API_KEY}". Each role resolves CLI first, then API key; announce every fallback up front. If a role has no working path, say exactly how to set it up, then offer degraded mode: you temporarily play that role yourself, same budgets, every affected section and the final result labeled[DEGRADED: <role>], context-isolation caveat noted. Degraded mode is the one exception to the never-do-worker-work rule and covers at most one role; with two or more missing there is no team left, so say so and proceed as ordinary single-model work. - Plan. Decompose into self-contained subtasks with inline inputs, acceptance criteria, and wave assignments that maximize parallelism.
- Plan review (mandatory advisor consult #1). Send the plan using
the format in
references/advisor-consult.md. Revise. State what you changed and what you rejected. - Delegate. Dispatch each wave using the format in
references/worker-brief.md. Parallel background calls, then wait. - Verify. Check every result against its own acceptance criteria, and make the check exercise th
Perguntas frequentes
Quando esta skill não é necessária?
Para uma pergunta simples e única, uma passada de modelo costuma bastar, então não é preciso montar uma equipe.
A skill escolhe os modelos?
Ela sugere um modelo mais forte para o planejamento e modelos mais baratos para o trabalho, e os nomes dos modelos podem ser trocados.
Quem confere o resultado dos trabalhadores?
O modelo orquestrador confere cada resultado antes de combinar a resposta final.
Detalhes
Descrição original do autor
Use when a task is too large for one model pass, needs parallel research or generation across many subtasks (like researching a dozen competitors at once), or the user asks to orchestrate multiple models, split work across a model team, run an advisor-worker loop, have a stronger model review the plan while cheap workers execute, or says "too big for one model" or "fan this out". Not for single-file edits or tasks one model handles in one pass.
Popularidade
- Estrelas no GitHub
- 144 mil
- Posição no ranking
- #673
- Licença
- Apache-2.0
- Atualizada em
- 22/10/2026
Comentários
- …
Mais skills deste repositório
commit-archaeologist
144 milAjuda seu agente a explicar por que um trecho de código existe, lendo o histórico git local, incluindo quem o adicionou e o que mudou depois.
dependency-doctor
144 milAjuda seu agente a verificar um arquivo requirements.txt, pyproject.toml ou package.json em busca de problemas comuns de dependências e sugerir correções pequenas e fáceis de revisar.
first-reader
144 milAjuda seu agente a testar um rascunho simulando como leitores reais o vivenciam, mostrando onde eles podem perder o interesse e o que eles lembram.
project-graveyard
144 milAjuda seu agente a vasculhar seu computador em busca de projetos paralelos inacabados, explicar por que cada um parou e escolher o que vale a pena terminar.
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.