leanmcp/superview.sh/analyze-exports
- community
Checking that the SKILL.md file is still in the repository.
Analyze tau2-bench task export files to identify exactly where and why tasks failed. Map failures to specific conversation rounds, show root causes, check whether relevant documentation was available, and cite sources. Use this skill whenever you need to debug a tau2-bench evaluation, understand why an agent made wrong decisions, identify missing knowledge, or review task performance—especially when context length, eligibility criteria, or policy compliance might be at fault.
Install
npx vskill@latest install leanmcp/superview.sh/analyze-exportsSKILL.md
Analyze Exports Skill
Purpose
When a tau2-bench task returns reward 0.0 (or fails), the export file contains everything you need to understand why—but it's buried in tool-call summaries and conversation transcripts. This skill systematically analyzes the export to show:
- Where it failed — the exact round (Assistant #X, User #Y) and tool-call sequence
- What should have happened — ground truth from the task explanation
- Why it failed — root cause (missing logic, wrong arguments, bad order, policy misunderstanding)
- Was the docs available? — whether the KB had the answer the agent needed
- Evidence — quotes and citations from both the transcript and source documents
Input Format
An export file (plain text) containing:
RUN:andTASK:metadata★ TASK EXPLANATION(success criteria, expected actions)🛠 TOOLS LOADED(available tools and KB docs)⇄ TOOL-CALL SUMMARY(OURS vs GROUND TRUTH comparison)- Full conversation transcript with tool calls and results
Output Format & File Organization
Analysis reports are saved in a standardized folder structure for easy organization and review:
File Naming Convention: [task_id]_detailed_analysis.md
Folder Organization: Group by difficulty level (hard_15, hard_16, etc.) or category to match your existing structure.
Each analysis file contains these sections:
Report Structure
You will receive a structured analysis report with these sections:
How to Use This Skill
Step 1: Paste the export file (text) into your message, then ask one of these questions:
"Analyze this export and show me why task_041 got 0.0""Walk me through where this failed and check if the docs had the answers""Which round did things go wrong? Show me the exact tool calls.""Why did the agent mark disputes as eligible when they shouldn't be?""Was the KB documentation available for this failure?""IF NOTHING IS PROIVIDED YOU SHOULD ANALYZE FULLY AS ABOVE WHAT I HAD MENTIONED AND THEN POST IT INTO THE MARKDOWN FILE"
Step 2: Specify output location (optional). The skill will save analysis to:
For example:
FAILURE_ANALYSIS/analysis/hard_15/task_041_detailed_analysis.mdFAILURE_ANALYSIS/analysis/hard_15/task_053_detailed_analysis.md
If you want a different location, specify it in your request:
"Analyze this export and save to FAILURE_ANALYSIS/analysis/hard_16/task_055_analysis.md"
The skill will:
- Parse the export structure
- Compare OURS (actual) vs GROUND TRUTH (expected)
- Identify divergence points
- Map each failure to a specific round
- Determine root cause
- Check whether relevant docs were loaded
- Cite sources for all findings
- Show transcript excerpts at decision points
- Save detailed analysis to the specified output folder
Key Definitions
Round: A single back-and-forth in the conversation. Identified by ASSISTANT #X, USER-SIM #Y, or ⇐ TOOL RESULT.
Failure Category:
- Missing tool call: Agent didn't call a required tool (should have unlocked/called but didn't)
- Wrong arguments: Agent called the right tool with bad parameters
- Wrong order: Agent called tools in incorrect sequence (e.g., filed dispute before checking history)
- Policy misunderstanding: Agent didn't follow eligibility rules or constraints
- Eligibility miscalculation: Agent marked something as eligible when it should be ineligible (or vice versa)
Root Cause: Why the agent made that specific mistake. Examples:
- Didn't search KB for relevant policy
- Searched KB but misunderstood the result
- Tool result was confusing or incomplete
- Agent forgot prior information
- Agent miscalculated (e.g.,
provisional_credit_eligibleflag) - Prompt/policy was ambiguous
Docs Available?
- Yes: The doc was in TOOLS LOADED section AND in the transcript (agent searched KB or had access)
- Partially: Doc was loaded but agent didn't search for it or search returned partial results
- No: Doc wasn't in TOOLS LOADED; agent couldn't have known.
Example Analysis
Input Export:
Skill Output (excerpt):
Important Notes
- This skill reads exports as-is — it doesn't run the task again. It analyzes the transcript that already happened.
- Root cause analysis requires inference — sometimes the "why" isn't obvious from tool calls alone. The skill reads between the lines: missed KB searches, forgotten prior context, logical errors.
- Policy conflicts are key — tau2-bench tasks often test whether agents recognize when two requests interact (e.g., CLI + dispute). The skill flags these.
- Provisional credit and eligibility calculations — disputes exports often involve calculating whether disputes qualify for provisional credit. The skill checks:
- Did agent check dispute history?
- Did agent apply the cap correctly?
- Were eligibility criteria (account age, purchase date, merchant contact, reason code) verified?
- Multi-step failures — one missed tool call can cascade. The skill traces dependencies: if the agent didn't call get_dispute_history early, all downstream eligibility flags are suspect.
Troubleshooting
"The export is incomplete" Some exports may be truncated. The skill will note what information is missing and work with what's available.
"I don't understand the root cause" Ask the skill to elaborate: "Explain the root cause in simpler terms" or "What KB search should the agent have done?"
"The skill says docs were available but I don't see them in my export" Check the 🛠 TOOLS LOADED section. Docs are listed as doc_credit_cards_credit_card_account_logistics_007, etc. If it's not there, the docs weren't loaded for that run.
Script Dependencies
The skill uses bundled Python scripts to:
- Parse export structure (YAML sections, conversation rounds)
- Map tool calls to conversation rounds
- Extract KB doc references from TOOLS LOADED
- Compare OURS vs GROUND TRUTH tool calls
- Generate the structured report
See scripts/ directory for implementation.
Security
- Security scanPassed, 95 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 repositoryCheckingskills/analyze-exports/SKILL.md
Popularity
- 7-day trend score
- 0
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/leanmcp/superview.sh/analyze-exports)