loopx-self-repair
Qué hace
Ayuda a tu agente a investigar cuando LoopX se comporta de forma sorprendente, como avanzar muy poco o seguir instrucciones obsoletas. Es para personas que ejecutan tareas de LoopX y quieren que se corrija la causa.
Cuándo usarla
- ✓Cuando una tarea de LoopX avanza mucho menos de lo esperado o ignora un elemento de mayor prioridad.
- ✓Cuando LoopX da siguientes pasos contradictorios o pierde el rastro de su lista de tareas.
- ✓Cuando quieres que se registre una reparación duradera en lugar de una explicación puntual de un problema de LoopX.
Link de la skill
https://github.com/loopx-project/loopx/blob/main/skills/loopx-self-repair/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
“LoopX sigue saltándose la tarea importante y haciendo trabajos pequeños. ¿Puedes averiguar por qué y registrar una corrección?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente busca el error o el síntoma en un catálogo de patrones conocidos, lee la guía correspondiente y comprueba los hechos actuales antes de recomendar una reparación.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
LoopX Self Repair
Use this skill to turn a surprising LoopX behavior into a durable fix, not only an apology or a one-off explanation.
Repair Loop
- Pause delivery selection. Do not spend quota or continue adapter work until the control-plane facts explain why that work is valid.
- Reuse evidence before collecting more. Start with the current failed command's structured response, error code and operation identity. An already loaded packet is evidence for that observation, not permission for a later write. Fetch fresh authority when required by its admission/lease contract. Read targeted diagnostics when deciding which missing fact to collect or investigating slow commands. Do not run diagnose, status, quota and history as a fixed preflight: diagnose already composes status and quota work. Recording an already-understood repair Todo does not require rediscovering the incident.
- Look up the symptom. Run
python3 scripts/find_pattern.py --query '<error code or symptom terms>'from this skill directory, or invoke its absolute path. Use--id <returned-id>to read the relevant full guidance. Search instructions explain pagination and fallback. Do not load the complete catalog, paginate it into context, or reread unchanged references already available in this task. If no pattern fits, diagnose from current facts and add one after the fix. - Assign the responsible layer. Separate:
- agent behavior mistake;
- state projection or quota payload bug;
- active-state authoring gap;
- benchmark harness mismatch;
- docs/process hygiene gap.
- Repair at the lowest durable layer.
- If it is a one-off agent mistake, write back the correct state/todo and size the next scoped effort to its verifiable result, evidence and risk.
- If the machine projection misled the agent, fix CLI/status/quota projection and add a focused smoke.
- If the user correction changes the goal acceptance, says the agent missed
the intended loop, or exposes a product bottleneck that is not visible in
quota/status, write a bounded
goal_vision_replan_contract_v0packet withreplan_trigger_summarythrough normalloopx refresh-state --vision-*fields, using the same--agent-idas the current lane, or--agent-vision-jsonfor generated multi-field patches, before returning to delivery. If the next executable step is already known, also add or link the concrete successor todo; do not leave the correction only in chat or an incident note. - If a design rule is missing, update the interaction model or todo list before implementing broad behavior.
- If benchmark evidence is not attributable, add posthoc trace/parity checks before claiming uplift or regression.
- Validate before resuming. Run the smallest smoke or CLI check that would
have caught the issue, plus
loopx checkon changed public surfaces when docs/contracts changed. - Write back the lesson. Update active goal state, docs, contributor tasks, or this skill so the same failure mode is visible next time.
When work repeatedly enters a receipt-owned retry, first check the caller's
typed outcome against the selected Todo. Rejecting a candidate with new,
validated evidence can advance an evaluation Todo while leaving the broader
stage open; it is not automatically an execution blocker. Pure reuse or setup
does not qualify as progress. Use blocked only when the Todo's actual next
step cannot execute, preserve genuine retry clocks, and replan finite answered
questions through the existing Todo/vision. Finishing one question or submitting
its PR does not close an ongoing user objective. Use the retained requirements
and already authorized sources to select the next useful independent slice;
source discovery does not need a new human assignment. Missing cost,
comprehension, adoption or review evidence limits the corresponding claim or
dependent operation, not all research or implementation. Do not retire an
ongoing vision merely to suppress replan. If an earlier authoring mistake did
so, repair the original Todo/vision, keep genuine dependency waits scoped, and
verify that the public entrypoint admits independent work before continuing it.
Preserve actual authority, budget and stop conditions; when no useful authorized
work remains, retain the evidence
Preguntas frecuentes
¿Ejecuta diagnósticos en cada tarea?
No. Está pensada para comportamientos sorprendentes, y evita recopilar información adicional cuando la causa ya está clara.
¿Qué tipo de problemas cubre?
Ejemplos: instrucciones obsoletas, puertas de aprobación poco claras, listas de tareas perdidas y archivos temporales mezclados en los commits.
¿Hace cambios por su cuenta?
Se centra en encontrar la causa y registrar una reparación, y pide un permiso nuevo antes de cualquier escritura que lo necesite.
Detalles
Descripción original del autor
Diagnose and repair LoopX control-plane drift or agent behavior drift. Use when a LoopX task makes unexpectedly small progress, follows a stale or contradictory recommended_action, ignores a higher-priority blocked item while doing fallback work, reports vague owner/user gates, loses todo projection, misaligns benchmark treatment with the real product path, mixes temporary artifacts into commits, or when the user asks for root-cause analysis, self-repair, or why the harness/agent behaved unexpectedly.
repo: loopx-project/loopx
Popularidad
- Estrellas en GitHub
- 6,5 mil
- Posición en el ranking
- #13879
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
loopx
6,5 milEnseña a tu agente a configurar y ejecutar LoopX, una herramienta local que mantiene metas, tareas y evidencias de trabajos largos entre sesiones de chat.
loopx-change-quality
6,5 milGuía a tu agente para revisar el cambio de código final exacto de una meta de LoopX, comprobando la calidad antes de una fusión y escribiendo un recibo de calidad.
loopx-doc-registry
6,5 milEnseña a tu agente a registrar e indexar materiales duraderos del proyecto, como documentos de diseño y notas de investigación, para que los agentes futuros puedan encontrarlos.
loopx-material
6,5 milGuía a tu agente por la gestión del almacén de materiales de investigación de un proyecto, incluidos inventario, traslado entre etapas, clasificación y cambios aprobados por el propietario.
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.