cline-delegate
Qué hace
Esta herramienta te permite delegar tareas de programación en otra herramienta llamada `cline`. La IA escribe el código, pero tú revisas y apruebas los cambios antes de que se apliquen.
Cuándo usarla
- ✓Cuando quieres que la IA escriba un fragmento de código y quieres revisarlo antes de guardarlo.
- ✓Cuando la tarea de programación está bien definida y es independiente del resto del trabajo.
- ✓Cuando necesitas que la IA trabaje en un proyecto concreto que ya está en un repositorio de código.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cline-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
“Por favor, escribe una función en Python que calcule el promedio de una lista de números.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Escribes una instrucción clara (llamada 'brief') que describe lo que hay que hacer. La herramienta `cline` ejecuta esta instrucción, hace los cambios en el código y te devuelve el resultado para que lo revises.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Cline Delegate
When to Use
- You want to delegate a bounded coding task to a separate
clineimplementer (Cline) and then review its diff yourself. - The user explicitly asked for delegation to this implementer.
You are the orchestrator. Delegate a bounded coding task to a separate implementer - the Cline coding agent CLI - then review what it produced and land it yourself. You write the brief and own the judgment; the implementer makes changes in its own session in a clean working tree; you verify and commit.
The loop needs only a shell command and file access, so any comparable orchestrator can drive it.
When NOT to use this
- The task is small enough to do inline; delegation overhead is not worth it.
- The
clineCLI is not installed or authenticated. - You require the relay to configure a sandbox. Cline exposes sandbox controls, but this relay
leaves them to the CLI environment; use
--planwhen the run must be read-only.
Prerequisites (check once)
- Install
cline(npm or bundled binary; the relay probescline --version). - Authenticate: run
cline auth(interactive sign-in), or configureANTHROPIC_API_KEY/ an OpenAI-compatible base URL. - Confirm
cline --versionsucceeds. - Work in, or point
--cdat, the target git repository.
Choose the model (optional)
Cline picks a default model. To choose another, pass the separate --model <id> or --provider <name>
(e.g. anthropic, openai-native, openrouter). The relay accepts letters, digits,
and . _ : / - only (the value reaches a shell on Windows).
The loop
Run these five steps per task. Steps 1, 4, and 5 require judgment; 2 and 3 are mechanical.
1. Write a brief
Cline sees only the text you send. It cannot read your conversation: the brief must stand alone
with the goal, current state, what to change, what to leave untouched, the project's real
gates, and a report contract. Keep each brief to a single task. Write it to a file and pass it as
the relay's --brief. See references/writing-the-brief.md.
2. Dispatch
Use the bundled relay. It runs cline --json -v, streams the brief on stdin behind a fixed
positional instruction, captures the JSON event stream, and writes result.json.
node "<skill-dir>/scripts/relay.mjs" --brief brief.txt --cd /path/to/repo
# choose a model / provider: add --model <id> --provider <name>
# read-only planning pass: add --plan (forces --auto-approve false)
# deny approval-required tools: add --auto-approve false
# hard time limit (watchdog): add --timeout 2h (the 30m default suits brief runs; most implementation briefs should be 1-2h)
# see all options: node .../relay.mjs --help
The child's cwd pins the workspace. The relay writes artifacts under the system temp dir by default and never commits. See references/dispatch-and-poll.md.
3. Wait for completion
The relay blocks until cline finishes. Run it with the orchestrator's background-command
facility, or background it in the shell and poll for result.json. A pre-run usage error exits 2
and writes no result; a missing cline exits 127 and writes status: "cline_unavailable".
Completion means the process exited and result.json exists - trust process state and the
working tree, not the progress display. Cline's final message is the finalMessage field of
result.json.
4. Review - do not trust the self-report
- Re-run the project's gates yourself.
- Read the diff against the brief, starting with
touchedFiles. - Run relevant guard skills if installed.
See references/review-and-land.md.
5. Land it
If the work is good, commit it. The relay never commits - the diff and result.json are the
record; run git status and git diff first to confirm exactly what changed. If the group has a
PR flow, make the commit and push a branch; let human review happen. If the diff is wrong or
incomplete, re-dispatch a corrected brief in a fresh run and review again.
Autonomy and permissions
The relay explicitly passes Cline's --auto-approve, defaulting to true in act mode. Cline
plan mode can request a switch to act mode, so --plan forces --auto-approve false; the relay
rejects --plan --auto-approve true. That pair is the read-only gate. Cline also exposes sandbox
…
Preguntas frecuentes
¿Qué es 'cline'?
Es una herramienta de línea de comandos que ayuda a escribir y gestionar código. Esta habilidad usa `cline` para hacer el trabajo de programación.
¿Necesito instalar algo?
Sí, necesitas tener `cline` instalado y configurado (con tu autenticación) en tu ordenador. El sistema comprueba que está listo antes de usarlo.
¿La IA guarda el código automáticamente?
No. La IA hace los cambios, pero tú decides si apruebas y guardas (haces commit de) el código final después de revisarlo.
Detalles
Descripción original del autor
Delegate coding tasks to the Cline CLI (`cline`) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #4156
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.