delegate
Qué hace
Esta skill explica cuándo conviene entregar partes de un trabajo grande a subagentes que trabajan al mismo tiempo. Es para personas que ejecutan tareas de programación, investigación o revisión de varios pasos con una IA.
Cuándo usarla
- ✓Cuando una tarea grande puede dividirse en partes independientes que se ejecutan al mismo tiempo.
- ✓Cuando quieres que un ayudante haga una revisión de solo lectura de un conjunto acotado de archivos.
- ✓Cuando una edición mecánica o una ejecución de pruebas puede delegarse con un límite claro.
Link de la skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/delegate/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Divide esta migración en partes y haz que los ayudantes se encarguen del escaneo de archivos mientras yo me ocupo del diseño.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La IA principal conserva las decisiones y la revisión final, luego da a cada ayudante un resultado claro y criterios de aceptación, y ejecuta juntos los ayudantes independientes.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes
¿Qué se queda con la IA principal?
Entender tu petición, las decisiones de arquitectura y seguridad, la integración entre módulos y la revisión final se quedan con la IA principal.
¿Qué no debe delegarse?
Las tareas diminutas de un solo paso, las decisiones de producto ambiguas, las operaciones destructivas sin criterios claros y la verificación final.
¿Puedo controlar el modelo del ayudante?
Sí. La skill prefiere un ajuste de potencia de modelo neutral respecto al proveedor, y los ayudantes heredan el modelo activo por defecto.
Detalles
Descripción original del 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
Popularidad
- Estrellas en GitHub
- 41 mil
- Posición en el ranking
- #6523
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
best-of-n
41 milAyuda a tu agente a producir varias respuestas independientes a un problema difícil, evaluarlas con una misma rúbrica y aplicar solo la que supere las comprobaciones.
dataviz
41 milAyuda a tu agente a elegir un gráfico o un panel adecuado para tus datos, con etiquetas claras, notas sobre las fuentes y comprobaciones de ejes y valores que faltan.
debug
41 milAyuda a tu agente a encontrar la causa real de un error reproduciéndolo, acotándolo y corrigiéndolo solo cuando lo apruebes, en lugar de adivinar.
dependency-update
41 milAyuda a tu agente a actualizar un conjunto concreto de dependencias de software, leer sus notas de versión, corregir los cambios que rompen compatibilidad y ejecutar las comprobaciones del proyecto.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.