ruvnet/ruflo/gaia-debugging
Claude Code and agent skill by ruvnet/ruflo
- community
Checking that the SKILL.md file is still in the repository.
Diagnose why a GAIA question failed — extract trace, classify failure mode, and propose a fix. Use when a GAIA benchmark run reports a failed/incorrect task_id and you need to root-cause it before resubmitting.
Install
npx vskill@latest install ruvnet/ruflo/gaia-debuggingSKILL.md
The same SKILL.md was published earlier as ruvnet/ruflo/gaia-debugging.
GAIA Debugging Skill
When a GAIA question fails, systematically diagnose the root cause and propose a targeted fix.
When to use
- A specific
task_idreturns the wrong answer or times out - Pass-rate dropped between two runs and you need to find the regression
- You want to understand why a particular question class is consistently failing
Failure mode taxonomy
| Code | Mode | Symptom | Fix direction | |
|---|---|---|---|---|
| TG | Tool Gap | Agent lacks a required tool (no image OCR, no PDF reader) | Add tool to catalogue | |
| RM | Reasoning Miss | Agent has the right data but draws wrong conclusion | Improve system prompt, add CoT instruction | |
| EB | Extraction Bug | Answer is in the trace but FINAL_ANSWER: regex fails | Fix answer extraction pattern | |
| LI | Loop Issue | Agent loops (re-asks same tool call) and hits turn limit | Increase max-turns or add loop-detection | |
| DS | Dataset Shift | Ground truth differs from what web currently shows | Flag for HAL dataset audit | |
| AT | API Timeout | Tool call times out; agent never gets the result | Increase per-turn timeout |
Diagnostic workflow
Step 1 — Load the question trace
Step 2 — Classify the failure
Look at the trace output:
- No tools called at all → RM or configuration issue
- Tool called but returned error → TG or AT
- Tool returned data, wrong answer → RM or EB
- Correct answer in trace but marked wrong → EB
- max-turns hit → LI or question too hard for current model
Step 3 — Re-run with extended logging
gaia-bench run cannot select one task: there is no --task-id flag (unknown flags are ignored silently). Use the smallest --limit N that reaches the question's position in the level's dataset order, and read only the trace for $TASK_ID from the output; completed questions are skipped on resume via the checkpoint file.
Step 4 — Compare reasoning strategies
- Wrong answer despite relevant evidence: Re-run the command from Step 3
with --enable-critic --voting-attempts 1. The critic reviews the answer against the evidence and can trigger one retry with revision guidance. Voting takes precedence when --voting-attempts exceeds 1.
- Multi-step reasoning failure: Try a separate run with
--decompose.
This can split a complex question into smaller questions, solve them separately, and synthesize their answers. Compare the result for the same task with the baseline to see whether breaking up the question helps.
Step 5 — Apply targeted fix
| Failure | Action | |
|---|---|---|
| TG — missing web_browse | Verify gaia-tools/index.ts exports web_browse; check tool registration | |
| TG — missing image OCR | Add image_describe tool call; verify GOOGLE_AI_API_KEY | |
| RM — reasoning | Add a system prompt instruction: "Before answering, list all facts you have gathered" | |
| EB — extraction | Test the FINAL_ANSWER_RE regex against the trace manually | |
| LI — loop | Add a tool-call deduplication guard in gaia-agent.ts | |
| AT — timeout | Set DEFAULT_PER_TURN_TIMEOUT_MS higher or use --max-turns flag |
Step 6 — Verify fix and store pattern
Quick reference: tool catalogue check
Expected: web_search, file_read, web_browse, image_describe, python_exec
Pattern storage
After resolving a debugging session, store the finding:
Search for similar past failures:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ruflo-workflows/skills/gaia-debugging/SKILL.md
Popularity
- Repository stars
- 67,355
- Repository forks
- 8,058
- 7-day trend score
- 56
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ruvnet/ruflo/gaia-debugging)