Skip to content
Back to skills

Source 2de8f3bb1972d7641dc8f399

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agents

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add gutsofpratik/OpenClaude-Skills --skill source-2de8f3bb1972d7641dc8f399 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Source 2de8f3bb1972d7641dc8f399?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Source 2de8f3bb1972d7641dc8f399
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gutsofpratik-source-2de8f3bb1972d7641dc8f399/badge)](https://www.skillsdirectory.com/skills/gutsofpratik-source-2de8f3bb1972d7641dc8f399)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: debug-agent
description: >-
  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.
---

# 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

1. Find existing tracing configuration, tracking URI, and experiment. Do not
   recommend reinstalling or reinstrumenting MLflow when tracing already works.
2. 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.
3. 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.
4. Inspect the matching trace span by span. Read assessments first, then inputs,
   outputs, errors, LLM calls, retrieval results, and tool calls. Use
   `analyze-mlflow-trace` for detailed trace anatomy.
5. Correlate trace evidence with source code as needed. Reading source is fine;
   do not settle on a diagnosis without confirming it against the trace.
6. 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-tracing` and 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-issue` with the trace
  ID and diagnosis so it can write regression coverage before editing.

Files in this skill

  • PROVENANCE.json174 B
  • SKILL.md2.1 KB
  • UPSTREAM-LICENSE.txt11.1 KB
  • agents/openai.yaml238 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.