error-analysis
Skill7 starsChanged 8 months agoMITView on GitHub
Systematically identify and categorize failure modes in evaluated traces using Truesight datasets and error-analysis tools. Use when quality issues are unclear, after major pipeline changes, or when incidents indicate drift.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- CAlM123451/kaoyan-skillstheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- CAlM123451/kaoyan-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- bootstrap-template-evaluationSkill
- build-review-interfaceSkill
- create-evaluationSkill
- eval-auditSkill
- evaluate-traceSkill
- generate-synthetic-dataSkill
- review-and-promote-tracesSkill
- truesight-workflowsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
BEFORE the first scoping question, search for a structured question tool (e.g., AskUserQuestion or similar interactive widget) and load it.
- Distinctive: line 16
Ask one question at a time using the structured question tool (loaded per the HARD-GATE above).
- Distinctive: line 29
Use the structured question tool for every question.
- Distinctive: line 30
Ask one follow-up if response is ambiguous.
- Very specific: line 35
If dataset exists, use list_datasets.
- Very specific: line 36
If not, use upload_dataset.
- Distinctive: line 39
Use random plus stratified coverage when volume is high.
- Very specific: line 41
Use get_dataset_rows with pagination.
- Distinctive: line 60
Stop when recent traces no longer reveal new failure categories.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Error Analysis
Guide the user through trace-grounded failure analysis and dataset labeling.
Interactive Q&A protocol (mandatory)
<HARD-GATE>
BEFORE the first scoping question, search for a structured question tool (e.g., `AskUserQuestion` or similar interactive widget) and load it. Use that tool for EVERY scoping question. Fall back to plain-text lettered options ONLY if no such tool exists in the environment.
</HARD-GATE>Ask one question at a time using the structured question tool (loaded per the HARD-GATE above).
Example question structure:
Which data source should we analyze first?
A) Existing Truesight dataset
B) New dataset to upload
C) Unsure, list datasets firstRules:
- One question per message during setup.
- Use the structured question tool for every question. Structure each with a short header, 2-4 options with labels and descriptions, and place the recommended option first. Do not add "(Recommended)" or similar annotations to option labels.
- Ask one follow-up if response is ambiguous.
Core workflow
- Select or create dataset:
- If dataset exists, use
list_datasets. - If not, use
upload_dataset.
- If dataset exists, use
- Collect representative traces:
- Target approximately 100 traces when possible.
- Use random plus stratified coverage when volume is high.
- Analyze row by row:
- Use
get_dataset_rowswith pagination. - For each row, call
suggest_error_notes.
- Use
- Persist annotations:
- Save
_ts_error_notesand_ts_error_categorywithupdate_dataset_row.
- Save
- Consolidate categories:
- Run
consolidate_error_categories. - Review mapping proposals, then apply with
apply_category_mappings.
- Run
- Prioritize fixes:
- Report most frequent categories first.
- Recommend next skill based on failure type:
create-evaluationfor new evaluation coveragereview-and-promote-tracesfor judgment backlogeval-auditfor broader process gaps
Analysis heuristics
- Focus on first root failure in each trace, not every downstream symptom.
- Let categories emerge from observed traces, not pre-baked labels.
- Iterate categories after 20 traces, then relabel for consistency.
- Stop when recent traces no longer reveal new failure categories.
Anti-patterns
- Defining categories before reading traces.
- Treating output quality labels as generic scores without concrete failure modes.
- Skipping relabel after category definitions change.
- Building new evaluators before fixing obvious prompt/tooling/engineering gaps.
Scopes reference
list_datasets,get_dataset_rowsrequiredatasets:readupload_dataset,update_dataset_row,apply_category_mappingsrequiredatasets:writesuggest_error_notes,consolidate_error_categoriesrequireerror-analysis:execute
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

