analyze-mlflow-trace

Analyzes MLflow trace JSON to identify errors and correlate with source code.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/slysik/databricks-claude-coding --skill analyze-mlflow-trace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-mlflow-trace
Source: https://github.com/slysik/databricks-claude-coding/tree/main/.agents/skills/analyze-mlflow-trace
Command: npx skills add https://github.com/slysik/databricks-claude-coding --skill analyze-mlflow-trace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users understand and debug MLflow traces by analyzing their structure, identifying errors, and correlating them with code.

Core Features & Use Cases

  • Trace Analysis: Parses MLflow trace JSON to extract key information like state, span details, and assessments.
  • Error Identification: Pinpoints error spans and assessment failures within a trace.
  • Code Correlation: Provides guidance on mapping trace elements back to the source codebase for root-cause analysis.
  • Use Case: When an ML model's performance degrades, use this Skill to analyze the MLflow trace of its execution, identify which part of the pipeline failed or produced unexpected results, and understand why by examining span inputs/outputs and assessments.

Quick Start

Use the analyze-mlflow-trace skill to get a health check summary for the trace ID 'your-trace-id'.

Frequently Asked Questions about analyze-mlflow-trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the root cause of errors in an MLflow trace?

Analyze the MLflow trace JSON to pinpoint error spans and assessment failures, then map those trace elements back to your source codebase to reveal exactly which pipeline section failed or produced unexpected results.

How does span data analysis work for debugging MLOps pipelines?

Span data analysis parses MLflow trace JSON to extract execution states, span inputs, outputs, and assessments, correlating these data points with source code to identify behavioral anomalies and root causes of ML performance degradation.

Do I need the MLflow CLI and jq to analyze trace JSON data?

Yes, you need the MLflow CLI to retrieve trace data and jq to parse the trace JSON, as these dependencies are required to extract span details and assessments for diagnosing issues in AI/ML application executions.

What is the best way to assess ML model performance degradation using traces?

The best way to assess ML model performance degradation is to analyze the MLflow trace of its execution, examining span inputs, outputs, and assessment failures to identify which part of the pipeline produced unexpected results.

Can I map MLflow trace elements directly to my source codebase?

Yes, you can map MLflow trace elements directly to your source codebase, as the analysis provides guidance on correlating span data and assessment failures with your code for root cause analysis.

Why are my MLflow assessment failures occurring during execution?

MLflow assessment failures occur due to errors within specific pipeline spans, and by extracting and examining the span inputs and outputs within the trace JSON, you can diagnose the exact application execution issue causing the failure.