Pular para o conteúdo
Skillpedia
Código em geral6,5 mil · #13879

loopx-self-repair

O que ela faz

Esta skill ajuda seu agente a investigar quando o LoopX se comporta de forma inesperada, como avançar pouco ou seguir instruções desatualizadas. Ela é para quem executa tarefas do LoopX e quer que a causa seja corrigida.

Quando usar

  • ✓Quando uma tarefa do LoopX avança muito menos do que o esperado ou ignora um item de prioridade maior.
  • ✓Quando o LoopX dá próximos passos contraditórios ou perde o controle da sua lista de tarefas.
  • ✓Quando você quer que um reparo duradouro fique registrado, em vez de uma explicação pontual sobre um problema do LoopX.

Link da skill

https://github.com/loopx-project/loopx/blob/main/skills/loopx-self-repair/SKILL.md

Copie 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

Use esta skill para me ajudar: https://github.com/loopx-project/loopx/blob/main/skills/loopx-self-repair/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“O LoopX continua deixando de lado a tarefa importante e fazendo pequenos trabalhos. Você pode descobrir o motivo e registrar uma correção?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente procura o erro ou o sintoma em um catálogo de padrões conhecidos, lê as orientações correspondentes e verifica os fatos atuais antes de recomendar um reparo.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

  1. Pause delivery selection. Do not spend quota or continue adapter work until the control-plane facts explain why that work is valid.
  2. 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.
  3. 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.
  4. 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.
  5. 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_v0 packet with replan_trigger_summary through normal loopx refresh-state --vision-* fields, using the same --agent-id as the current lane, or --agent-vision-json for 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.
  6. Validate before resuming. Run the smallest smoke or CLI check that would have caught the issue, plus loopx check on changed public surfaces when docs/contracts changed.
  7. 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

Perguntas frequentes

Ela roda diagnósticos em toda tarefa?

Não. Ela serve para comportamentos inesperados e evita coletar informações extras quando a causa já está clara.

Que tipos de problema ela cobre?

Exemplos incluem instruções desatualizadas, portões de dono pouco claros, listas de tarefas perdidas e arquivos temporários misturados nos commits.

Ela faz alterações por conta própria?

Ela foca em encontrar a causa e registrar um reparo, e pede nova permissão antes de qualquer escrita que precise dela.

Detalhes

Descrição original do 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

Popularidade

Estrelas no GitHub
6,5 mil
Posição no ranking
#13879
Licença
Apache-2.0
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas