Logo di Debug Agent Failures

Debug Agent Failures

Community
bikeread
debug-agent-failures

Use proactively when an agent repeats a failure, loops, or degrades and needs a local root-cause check before redesign.

Panoramica

Autorebikeread
Repositorypromethos
Nome della skilldebug-agent-failures
Stelle
33
Fork
2
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 1 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da bikeread su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Debug Agent Failures in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/bikeread/promethos/tree/main/skills/debug-agent-failures
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bikeread/promethos.git /tmp/promethos
mkdir -p .claude/skills
cp -r /tmp/promethos/skills/debug-agent-failures .claude/skills/debug-agent-failures
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Debug Agent Failures in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Debug Agent Failures non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Debug Agent Failures non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Goal

Move from a vague symptom to a defensible root-cause hypothesis and a small next fix.

Inputs

  • Failure symptom or transcript
  • Relevant logs, prompts, traces, or outputs
  • Current implementation context

Non-Goals

  • Jumping straight to fixes because they sound plausible
  • Rewriting large parts of the system without isolating the failure mode

Workflow

Trigger signals (for proactive recognition)

  • The same tool call fails more than once
  • The agent loops back to a step it already tried
  • The user says "又出错了" or "it broke again"
  • The user says "it keeps looping", "it got worse after the change", or "the same failure keeps coming back"
  • Output quality degrades after a change
  • A hallucination appears in tool-calling arguments

1. Reproduce and classify the symptom

State what went wrong, under what conditions it happens, and whether it looks like a planning, context, tool, permission, memory, or orchestration failure. Success criteria: The bug is framed as a reproducible failure class rather than a vague impression.

2. Collect the smallest decisive evidence

Inspect the transcript, prompts, tool calls, logs, state transitions, and input artifacts needed to narrow the search space without drowning in noise. If the current workspace does not actually contain the target system's code, logs, traces, config, or transcripts, stop and ask for the real evidence source before widening the search. Do not substitute broad searches across unrelated repositories for the missing local evidence. Success criteria: The likely causes are constrained by actual evidence.

3. Form competing root-cause hypotheses

List the smallest plausible explanations and note what evidence would confirm or disprove each one. Success criteria: Debugging has explicit hypotheses rather than a single unchallenged guess.

4. Test the leading hypothesis with the smallest intervention

Choose the least invasive change, probe, or experiment that can separate the best explanation from the rest. Success criteria: There is a clear next action tied to the strongest hypothesis.

5. Re-check the symptom after the intervention

Verify whether the failure changed, disappeared, or exposed a different layer of the problem. Success criteria: The debugging loop updates the theory based on fresh evidence instead of assuming success.

6. Decide the reusable follow-through

If the intervention confirms the root cause or fixes a real defect, decide whether the result must produce a regression case, an eval update, or a postmortem entry so the same failure mode is less likely to return silently. Success criteria: A durable follow-through action is recorded whenever the debugging outcome changes expected behavior or closes a real defect.

Output Contract

A debugging brief containing:

  • the symptom and reproduction conditions,
  • the evidence collected,
  • the leading and rejected hypotheses,
  • the chosen intervention,
  • the observed result after that intervention,
  • any required regression, eval, or postmortem follow-through.

Escalation

Pause when:

  • the symptom cannot be reproduced at all,
  • key evidence is unavailable,
  • multiple independent failures are overlapping,
  • the active workspace does not contain the system being debugged and the next move would be to search unrelated repositories instead of asking for the real repo, file path, log, or transcript,
  • proposed fixes would rewrite a large subsystem before a hypothesis is tested.

Common Failure Modes

  • Treating symptoms as causes
  • Fixing the most visible layer instead of the failing layer
  • Debugging from intuition alone
  • Replacing missing local evidence with broad cross-repo pattern hunting
  • Expanding scope before the first hypothesis is tested

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Debug Agent Failures?

Use proactively when an agent repeats a failure, loops, or degrades and needs a local root-cause check before redesign.

Perché usare Debug Agent Failures su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Debug Agent Failures è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Debug Agent Failures in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/bikeread/promethos/tree/main/skills/debug-agent-failures. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Debug Agent Failures?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Debug Agent Failures?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Debug Agent Failures: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Debug Agent Failures è gratuita?

Sì. È pubblicata su GitHub da bikeread con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇