Diagnose agent failures by identifying missing capabilities.
SkillScore82Maintained
Automatic
◆AI Engineer pack
Last verified 8/19/2026
What it changes
Passed 18 of 22 test cases with the skill, and 7 of 22 without it.
Without skill32%
With skill82%
Checks it passed that the model alone missed
The response contains a Fix line recommending reducing context size.
The response contains a Root cause line identifying the transient error.
The response contains a Diagnosis line classifying the failure as tool gap.
and 7 more in the full report
11 fixed7 passed either way4 still failing0 broke
Pass-rate lift
+50 pp
Tokens
+37%
Agent turns
0%
Response time
-30%
Model gemini-3.6-flashMeasured 8/19/2026v118 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 11
Prompt
Two concurrent agent instances attempted to commit changes simultaneously, resulting in git worktree locking conflicts and failed commits. Diagnose this with a Diagnosis category, Root cause sentence, and Fix.
What was checked, without and with the skill
Checked
Without skill
With skill
The response contains a Diagnosis line classifying the failure as infrastructure.
Missed
Passed
The response contains a Fix line recommending enforcing file ownership per agent.
Missed
Passed
case-12 · gemini-3.6-flash · 8/19/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md64 linessingle file
Capability Diagnostic
When to Use
Run this diagnostic when an agent:
Fails a task (test failures, wrong output, incomplete work)
Produces output that doesn't match the expected schema
Gets blocked by enforcement hooks repeatedly
Takes significantly longer than expected on a straightforward task
Failure Analysis Decision Tree
Step 1: Did the agent have the right tools?
Check allowed-tools in agent spec (if any)
Check if enforcement hooks blocked required tool calls
Fix: Add missing tools to agent spec, or adjust hook configuration
Step 2: Did the agent have the right context?
Check which skills were preloaded (agent spec skills field)
Was the task specification complete and unambiguous?
Did the agent need information from files it didn't read?
Fix: Add missing skills to agent spec, improve task prompt
Step 3: Did the agent have sufficient model capability?