mlflow

Persist MLflow experiment parameters, metrics, artifacts, and nested run lineage.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/thistleknot/skills --skill mlflow-thistleknot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mlflow
Source: https://github.com/thistleknot/skills/tree/main/mlflow
Command: npx skills add https://github.com/thistleknot/skills --skill mlflow-thistleknot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MLflow experiment tracking removes the confusion and irreproducibility that happen when tuning runs only store local results, making it hard to compare trials, reproduce outcomes, and inspect what actually produced a score.

Core Features & Use Cases

  • Experiment ledger for tuning: Record params, metrics, tags, and artifacts so you can audit exactly what happened across days, branches, and agents.
  • Nested run topology: Log campaigns, outer folds, trials, final training, and holdout evaluation as a consistent hierarchy for fast comparison.
  • Run lineage and promotion discipline: Tie results to dataset/representation versions, branches/commits, and only promote runs after verification passes.

Use case example: You run an Optuna nested-CV search over model and retrieval settings and need to later answer which hyperparameters won, why they won, and where the supporting artifacts (configs, plots, evaluation tables) are located.

Quick Start

Use mlflow to log every Optuna trial’s parameters and objective metrics into a named experiment, then attach the final chosen artifacts to the corresponding holdout run.

Frequently Asked Questions about mlflow

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

FAQPage Schema
How do I track Optuna nested CV experiment parameters and metrics?

Track Optuna nested CV experiment parameters and metrics by logging each trial's tunable parameters, objective metrics, and artifacts into a named MLflow experiment. This creates a queryable ledger of campaigns, outer folds, and holdout verification runs for direct comparison.

What is the best way to organize nested run lineage for model tuning?

Organize nested run lineage for model tuning by structuring MLflow runs into a consistent hierarchy of campaigns, outer folds, trials, and final training. This topology supports fast comparison and ties results to specific dataset versions and branches.

How does run lineage support model promotion after holdout verification?

Run lineage supports model promotion after holdout verification by tying experiment metrics to dataset versions, branches, and commits. This disciplined tracking ensures only verified runs with persisted artifacts are promoted, maintaining full auditability.

Can I log artifacts and configs alongside scalar metrics during experiment tracking?

Log artifacts and configs alongside scalar metrics during experiment tracking by persisting them to the corresponding MLflow run. This attaches supporting files like plots and evaluation tables directly to the holdout run for later inspection.

Why do I need disciplined experiment naming and tagging contracts for MLflow?

Disciplined experiment naming and tagging contracts for MLflow are required to maintain a queryable and comparable experiment ledger. Consistent tagging ensures you can later audit exactly which hyperparameters won and locate the supporting artifacts across days and agents.

Does MLflow experiment tracking work for agentic harness workflows?

MLflow experiment tracking works for agentic harness workflows by persisting parameters, metrics, artifacts, and nested run lineage across executions. This removes irreproducibility when local tuning runs make it hard to compare trials and inspect scores.