delegating-work
O que ela faz
Esta skill orienta um agente a decidir, antes de começar uma tarefa com várias etapas, se a thread principal ou um subagente mais barato deve fazer o trabalho. Cobre programação, testes no navegador, acompanhamento de pull requests e ciclos de teste. É para quem usa agentes e quer controlar o custo.
Quando usar
- ✓Quando você está prestes a escrever código ou fazer uma alteração em vários arquivos por conta própria.
- ✓Quando uma tarefa envolve testes no navegador, consultas de CI ou ciclos repetidos de teste e correção.
- ✓Quando uma pequena edição única não tem nada independente para separar.
Link da skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/delegating-work/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
“Antes de começar, decida quais partes desta correção devem ir para um agente auxiliar mais barato e quais você deve revisar pessoalmente.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente analisa a tarefa antes de começar. Ele passa a implementação, o trabalho no navegador e os ciclos repetidos para um subagente, e mantém a revisão e as decisões na thread principal.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Delegating Work
Activation guard
Use this at the moment you're about to start a multi-step task yourself — before the first line of code, the first browser action, the first CI poll, or the first test run. It applies whenever the main thread is about to do work, not just when the user says "parallelize this."
Skip it for a genuinely single small edit with nothing independent to split off — spawning overhead would exceed the work itself.
Do NOT do this on the main thread
Each of these is a real temptation, not a hypothetical — they're the single most-repeated correction the user gives, most recently today (2026-07-31):
- Writing the implementation yourself because the change "looks quick." Spawn a coding subagent even for a small fix; the main thread reviews the diff, it doesn't produce it. "Hmm why are you coding on the main thread? You're supposed to spawn cheaper models like sonnet to write the code."
- Driving the browser yourself for a UI check or E2E pass. Spawn a subagent to run Playwright / Chrome DevTools MCP and report back. "use cheaper sub agents for testing ... don't use fable (you) for browser automation bro"
- Babysitting a PR yourself (polling CI, pushing fixups). Spawn a subagent to watch and fix. "please use a cheaper model to do the babysitting - like sonnet. not you"
- Running the test/fix retry loop yourself. Spawn a subagent to run tests, read failures, patch, and re-run until green. "i prefer to use terra sub agents for testing/fixing and not use you, the main thread, for these things like i see you doing rn"
- Doing a mechanical multi-file sweep yourself (renames, lint fixes, the same small edit repeated across files). Split by file set, one subagent per slice.
- Skipping delegation "just this once" because the task feels urgent. Cost is the reason to delegate, not an excuse to skip it. "this run is getting really expensive ... fable model is now per-token pricing so this is costing me thousands"
Decision table
| Kind of work | Tier |
|---|---|
| Planning, architecture, ambiguity calls | Main thread |
| Synthesis / final review of subagent output | Main thread |
| Talking to the user | Main thread |
| Writing an implementation slice | Cheap subagent |
| Browser automation / E2E verification | Cheap subagent |
| PR babysitting (CI polling + fixups) | Cheap subagent |
| Test-fix-retry loops | Cheap subagent |
| Mechanical sweeps (rename, lint, repeated edit) | Cheap subagent(s), one per disjoint file set |
| Research / repo scans / docs extraction | Cheap subagent |
Default to the cheapest tier that can do the work reliably — Haiku for bulk/mechanical work, Sonnet for anything needing real coding judgment. Reserve the expensive/frontier model for the main-thread row above. This is a standing instruction: don't ask the user for permission to parallelize.
What the main thread keeps
Planning, prioritization, ambiguity resolution, integrating what subagents return, final review before the user sees it, and all direct conversation with the user. Everything else in this table is a delegation candidate by default, not an exception.
Parallel edits are the intended pattern, not a risk
Parallel subagents editing disjoint files is normal and expected here. Assign non-overlapping file sets before you fan out, and have each subagent re-read existing changes before editing. Use the shared checkout's normal read-before-edit discipline.
Related skills
This skill is the decision point; it doesn't replace the workflows that follow it:
efficient-frontier— the orchestration workflow once you've decided to delegate: handoff packets, fan-out limits, the review loop.efficient-fable— the same workflow, plus Fable's per-token pricing as a reason it matters even more.delegate-to-agent— the briefing contract (objective / context / output / boundaries) and fan-out discipline (cap ~3, default to one) for spawning a sub-agent from the main thread.
Perguntas frequentes
Isto vale para toda alteração pequena?
Não. A skill diz para não delegar uma edição pequena e única, já que a preparação custaria mais do que o trabalho.
O que a thread principal faz?
Ela revisa os resultados e toma as decisões, em vez de produzir cada parte do trabalho.
Por que delegar o trabalho no navegador?
A skill diz que as verificações no navegador podem ser feitas por um subagente e reportadas de volta, mantendo a thread principal focada.
Detalhes
Descrição original do autor
Which tier — main thread vs. a cheaper subagent — owns a piece of work, decided at the moment you're about to start it. Use before writing an implementation yourself, driving a browser, babysitting a PR, running a test/fix loop, or doing a mechanical multi-file sweep on the main thread.
repo: BuilderIO/agent-native
Popularidade
- Estrelas no GitHub
- 7,6 mil
- Posição no ranking
- #13155
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
design-exploration
7,6 milAjuda seu agente a explorar várias direções de design de interface lado a lado, deixar você escolher uma e depois refinar o design escolhido.
visual-edit
7,6 milAjuda seu agente a abrir um aplicativo local em execução em um editor visual, para que você possa revisar e editar as telas reais juntos.
turn-into-app
7,6 milTransforma um fluxo de trabalho, uma planilha ou um projeto em um aplicativo visual bem acabado, com telas preenchidas e um agente trabalhando por trás dos controles.
visual-plan
7,6 milTransforma um plano em texto simples em um plano visual interativo, com diagramas, mapas de arquivos, trechos de código e perguntas em aberto.
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.