Install
openclaw skills install ai-output-failure-triageDiagnose why an AI response failed, identify missing context, and prepare a safer retry prompt with acceptance checks and a go/no-go recommendation.
openclaw skills install ai-output-failure-triageAI Output Failure Triage helps a user analyze an unsatisfactory AI-generated answer before trying again. It separates the original goal, prompt, model output, likely failure causes, missing context, and verification needs, then produces a clearer retry prompt and a recommendation about whether to retry, switch approach, gather more inputs, or handle the work manually.
This is a prompt-only diagnostic skill. It does not claim that the next AI answer will be correct. It helps improve task framing and verification discipline.
Use this skill when the user asks for help with:
Trigger phrases: "Why did this AI answer fail?", "Fix my prompt", "The AI gave me a bad response", "Make this retry safer", "How should I ask again?", "Triage this output"
Ask for only what is needed, and avoid requesting confidential information. Useful inputs include:
If the user cannot provide the original prompt or output, proceed with a partial triage and clearly mark assumptions.
Create a compact record of:
If any item is missing, label it as "unknown" instead of inventing it.
Classify the failure into one or more likely categories:
Briefly explain the top two or three causes with evidence from the prompt/output.
Build a missing context checklist. Include only items that materially affect the next attempt:
Mark each item as "needed now", "helpful later", or "not required".
Rewrite the task into a clearer structure:
Keep the rewrite concise enough for practical reuse.
Create acceptance criteria that the next answer must satisfy. Include:
For high-stakes topics, require independent verification and do not treat the AI response as authoritative.
Make a go/no-go recommendation:
Explain the recommendation in one or two sentences.
Deliver a final triage report with:
Return the report in this structure:
# AI Output Failure Triage Report
## 1. Original Task Snapshot
- Goal:
- Original prompt:
- Failed output summary:
- What went wrong:
## 2. Likely Failure Causes
- Primary cause:
- Secondary causes:
- Evidence:
## 3. Missing Context Checklist
- Needed now:
- Helpful later:
- Not required:
## 4. Improved Task Framing
- Role:
- Objective:
- Inputs:
- Constraints:
- Output format:
- Verification:
- Uncertainty behavior:
## 5. Acceptance Test
- The next output must:
- The next output must not:
- Verification required:
## 6. Safer Retry Prompt
[Reusable prompt]
## 7. Go/No-Go Recommendation
- Recommendation:
- Rationale:
- Next action: