debug-agent
Skill79 starsChanged 4 months agoApache-2.0View on GitHub
Root-causes AI agent failures from MLflow traces without requiring a code change, regression suite, scorer, or evaluation run. Use when the user asks to debug, investigate, explain, or determine why an agent produced an output. Prefer an existing matching trace; reproduce only when no usable trace exists.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- d-gangz/dgang-skillstheir own version, first seen Jul 12, 2026
- subarnasaikia/kaggle-skillstheir own version, first seen Apr 25, 2026
- microsoft/powerplatform-build-toolstheir own version, first seen Apr 8, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- microsoft/powerplatform-build-tools★ 308same name
- d-gangz/dgang-skills★ 2same name
- subarnasaikia/kaggle-skills★ 2same 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 repository12 other files it gives its agents.
- agent-evaluationSkill
- analyzing-mlflow-sessionSkill
- analyzing-mlflow-traceSkill
- build-a-scorerSkill
- fix-agent-issueSkill
- instrumenting-with-mlflow-tracingSkill
- mlflow-agentSkill
- mlflow-onboardingSkill
- querying-mlflow-metricsSkill
- retrieving-mlflow-tracesSkill
- sagemaker-mlflowSkill
- searching-mlflow-docsSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If one exists, use it directly.
- Distinctive: line 23
Only when no usable trace exists, reproduce the issue once through the normal instrumented entry point and retrieve the resulting trace.
- Very specific: line 37
If no trace can be produced because the app is uninstrumented, load instrumenting-with-mlflow-tracing and explain the limitation.
- Very specific: line 41
If the user asks to implement the fix, invoke fix-agent-issue with the trace ID and diagnosis so it can write regression coverage before …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Debug Agent
Diagnose the failure and report evidence. Do not edit the agent unless the user
also asks for a fix; for behavior changes, hand off to fix-agent-issue after
the diagnosis.
Workflow
- Find existing tracing configuration, tracking URI, and experiment. Do not recommend reinstalling or reinstrumenting MLflow when tracing already works.
- Find a trace matching the reported input, time, session, user, or trace ID. If one exists, use it directly. Do not reproduce a production-only or externally dependent failure merely to satisfy a workflow.
- Only when no usable trace exists, reproduce the issue once through the normal instrumented entry point and retrieve the resulting trace. If reproduction is unsafe or impossible, state what evidence is missing and stop.
- Inspect the matching trace span by span. Read assessments first, then inputs,
outputs, errors, LLM calls, retrieval results, and tool calls. Use
analyze-mlflow-tracefor detailed trace anatomy. - Correlate trace evidence with source code as needed. Reading source is fine; do not settle on a diagnosis without confirming it against the trace.
- Report: observed behavior, expected behavior, trace evidence, root cause, confidence, and the smallest likely fix. Do not create tests or scorers for a diagnosis-only request.
Boundaries
- If no trace can be produced because the app is uninstrumented, load
instrumenting-with-mlflow-tracingand explain the limitation. - Log the user's complaint as HUMAN feedback only when a concrete trace is identified and doing so is authorized.
- If the user asks to implement the fix, invoke
fix-agent-issuewith the trace ID and diagnosis so it can write regression coverage before editing.
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.

