delegate
O que ela faz
Esta skill explica quando passar partes de um trabalho maior para subagentes que trabalham ao mesmo tempo. É para quem executa tarefas com várias etapas de programação, pesquisa ou verificação com uma IA.
Quando usar
- ✓Quando uma tarefa grande pode ser dividida em partes independentes que rodam ao mesmo tempo.
- ✓Quando você quer uma revisão somente de leitura de um conjunto limitado de arquivos feita por um auxiliar.
- ✓Quando uma edição mecânica ou uma execução de testes pode ser passada com um limite claro.
Link da skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/delegate/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
“Divida esta migração em partes e peça a auxiliares que façam a varredura dos arquivos, enquanto eu cuido do design.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente principal mantém as decisões e a revisão final, depois dá a cada auxiliar um resultado claro e critérios de aceitação, e executa juntos os auxiliares independentes.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Delegate
Use sub-agents when they can do focused work in parallel while the parent keeps architectural judgment, integration, and final verification.
Keep vs Delegate
Keep in the parent:
- Understanding the user's actual request and constraints
- Architecture, security, product, and release-risk decisions
- Cross-module integration
- Final review, test interpretation, and user-facing summary
Delegate to sub-agents:
- Read-only exploration over a bounded file set
- Mechanical edits with a clear file ownership boundary
- Focused test or lint runs
- Boilerplate generation from an explicit spec
- Independent checks that can run while parent work continues
Do not delegate tiny one-step tasks, ambiguous product decisions, destructive operations without a clear acceptance criterion, or final verification.
Launch Focused Work
Use agent for a focused child run. Launch independent children together so they can run in parallel.
Give each child a concrete outcome and acceptance criteria. Let it continue until the work is complete or it needs input. Do not invent time, turn or token budgets, or tell it to stop early because a percentage of a budget has elapsed. The runtime carries any limits explicitly configured by the owner.
Prefer provider-neutral model_strength over hardcoded model ids. Children inherit the active model by default (model_strength: "same"), including type: "explore", so pass model_strength: "faster" explicitly to get the cheaper same-family sibling for read-only exploration:
{
"name": "config_audit",
"prompt": "Inspect crates/tui/src/config.rs and crates/tui/src/settings.rs for duplicate model-default logic. Return file/line findings only; do not edit files.",
"type": "explore",
"model_strength": "faster",
"cwd": "."
}
For code changes, give the child a precise write boundary and tell it not to revert unrelated edits. Keep implementation children capable with model_strength: "same":
{
"name": "docs_patch",
"prompt": "Update only docs/configuration.md to document the new [statusline] keys. Match the surrounding style. Do not edit other files.",
"type": "implement",
"model_strength": "same",
"cwd": "."
}
Use fork_context: true only when the child genuinely needs the current conversation prefix. Leave it omitted for fresh, narrower context.
Route the Work
Choose the route per child from agent(action:"roster") (no provider request), not from memory. It lists each role's resolved route and the models you may pick.
thinkingoverrides a saved tier on any role. Dial:off low medium high xhigh max ultra, plusinherit(role default, then session effort) andauto.modelandmodel_strengthapply to unpinned routes only. A pinned profile refuses a conflicting model; to choose a model, start an unpinned role such asgeneral.model_strength: "faster"is the same-family faster sibling,"same"the session model.- Read the receipt, not your request:
child_routeshows the provider, model and route source, andrequested_reasoningvseffective_reasoningshows what the route actually ran. - Route by stakes. Mechanical work: the cheapest sufficient route with
thinking: "off"or"low". Implementation: a capable route atmediumor above. Review and verification: a strong route athigh, on a different route than the author when independence matters.
Evaluate and Verify
Sub-agent outputs are self-reports. Re-check material claims before relying on them:
- Read changed files directly.
- Run the relevant tests locally.
- Inspect unexpected diffs before committing.
- Verify externally visible or destructive claims against source data.
Prompt Shape
A good delegation prompt includes:
- The exact task
- Files or modules owned by the child
- Files or behavior the child must not touch
- Expected output format
- Acceptance criteria
Weak prompt:
Fix the settings bug.
Strong prompt:
Own only crates/tui/src/settings.rs and its tests. Preserve existing config key names. Verify with the existing checks that provider-specific API key changes do not restart provider onboarding. Return the changed paths and test command output.
Perguntas frequentes
O que fica com a IA principal?
Entender o seu pedido, decisões de arquitetura e de segurança, integração entre módulos e a revisão final ficam com o agente principal.
O que não deve ser delegado?
Tarefas pequenas de uma etapa, decisões de produto ambíguas, operações destrutivas sem critérios claros e a verificação final.
Posso controlar o modelo do auxiliar?
Sim. A skill prefere uma configuração de força do modelo independente de fornecedor, e os auxiliares herdam o modelo ativo por padrão.
Detalhes
Descrição original do autor
Strategic delegation for multi-step coding, research, or verification work. Use when a task can be split into parent reasoning plus focused sub-agent execution through the agent tool.
repo: codewhale-hq/Codewhale
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #6523
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
best-of-n
41 milAjuda seu agente a produzir várias respostas independentes para um problema difícil, avaliá-las com uma mesma régua e aplicar apenas a que passar nas verificações.
dataviz
41 milAjuda seu agente a escolher um gráfico ou painel adequado para seus dados, com rótulos claros, notas sobre as fontes e verificações de eixos e valores ausentes.
debug
41 milAjuda seu agente a encontrar a causa real de um bug, reproduzindo-o, restringindo o problema e corrigindo somente quando você aprovar, em vez de adivinhar.
dependency-update
41 milAjuda seu agente a atualizar um conjunto definido de dependências de software, ler suas notas de versão, corrigir mudanças que quebram o código e executar as verificações do projeto.
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.