/mlflow:mlflow-evaluationfrom MLflow Skills
Designs MLflow scorers and runs GenAI evaluation on agents, datasets, precomputed outputs, or traces. Handles quality criteria, judges, MemAlign, evaluation runs, and results analysis.
Ships in MLflow Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Establish purpose, important outcomes, known failures, data/trace selection, and agreed scorers from the request, project, and configuration. Ask only about unresolved decisions.
Reuse explicit criteria and implementations. For any scorer-design request, read scorer design; also read judge alignment when alignment is requested.
For scorer-only requests, build and verify the scorer, then stop. Do not create a dataset or run an evaluation unless requested.
Use mlflow.genai.datasets, built-ins / @scorer / make_judge, and mlflow.genai.evaluate(); no parallel evaluation framework.
Accept existing records/DataFrames; persist new reusable datasets through the GenAI dataset API.
MLFLOW_TRACKING_URI, MLFLOW_EXPERIMENT_ID, provider credentials, and configured judge model. If
both MLflow variables are set, skip setup: no replacement backend, new experiment, or .env override.
For missing configuration, use mlflow-onboarding when available.uv run for uv-managed projects). Check MLflow >=3.8 and installed signatures
for the APIs needed. Keep stderr separate when capturing structured stdout.mlflow-trace-instrumentation when available for instrumentation; reuse working tracing. Run a
representative invocation, flush and fetch its persisted trace in the intended experiment. If tracing is
missing/broken, repair and verify it before evaluation; do not add duplicate framework spans.inputs and outputs, or existing traces, without
predict_fn. Do not invoke the agent, change stored records, or create a replacement dataset. Check
scorer data requirements against existing evidence; a final-output scorer does not require new
instrumentation.List registered scorers: mlflow scorers list -x "$MLFLOW_EXPERIMENT_ID". Reuse the suite, models, and definitions; add only missing agreed scorers.
Read scorers.md for model selection, registration, and retrieval. Register new scorers before evaluation; verify them in the intended experiment.
Check installed required_columns and trace requirements: Correctness needs ground truth; retrieval scorers need RETRIEVER, not just TOOL, spans.
Aggregate booleans, numbers, or "yes"/"no". Stored "pass"/"fail" scores may disappear from aggregates.
For custom scorers or missing scores, read scorers-constraints.md.
Read dataset-preparation.md when creating, adapting, or synthesizing records. Inspect actual record keys and the predictor signature:
# MLflow calls predict_fn(**record["inputs"]). Nested values stay nested.
record = {"inputs": {"query": "Where is order 42?", "context": {"order_id": 42}}}
def predict(query, context):
return agent(query=query, context=context) # bind project config here as needed
inputs as a wrapper argument only if the dataset has that input key.expectations, e.g. expectations.expected_response. Preserve multi-key inputs and source IDs.For requested corpus synthesis, use the RAGAS recipe.
Evaluate three representative records, or the user's smaller explicit budget, with the full run's mode, wrapper, and scorers. Use one pilot, not separate sanity/dry runs. Inspect every row:
Did the predictor finish, required tools/retrieval execute, and usable output persist? Tools need not run for greetings or other cases that do not require them.
Did every applicable scorer return a valid assessment without an error? Check both row-level values/rationales and aggregate inclusion; a successful trace status or run alone is insufficient.
Zero, False, and "no" are valid quality failures. Investigate suspicious uniform scores against
actual responses and known-good/bad cases; never require nonzero scores or change the rubric to manufacture
passes.
Stop before the full run on auth/tool failures, failed prediction, empty rerun responses, or missing/error-only scores. Diagnose, repair within scope, and repeat the pilot.
Preserve broken precomputed outputs as evidence. Distinguish scored negatives from scorer/infrastructure failures.
Keep pilot run IDs and label them as pilots when supported. Do not delete runs unless the user requests it.
Report blockers if repair is unavailable. Never invent credentials or switch providers to retry.
mlflow.genai.evaluate(data=selected_data, predict_fn=predict, scorers=registered_scorers). Precomputed: omit predict_fn.Verify a fresh run in the intended experiment, with row-level results for every selected record and applicable scorer.
Preserve outputs, trace IDs, values, rationales, and assessment errors.
Report evaluated, failed, missing, skipped, and errored counts; do not hide missing rows in pass-rate denominators. Metric-only runs and empty score tables are not success.
Summarize criteria separately; link representative failures to evidence and state small-sample limits. Optional report outline.
Check summaries against raw typed scores/errors; generated grades/recommendations do not establish root cause.
Requested behavior fixes: hand results to mlflow-agent-improvement.
Infrastructure, schema, or scorer failure: troubleshooting.md.
Production-trace curation, version comparisons, or continuous evaluation: advanced-evaluation.md.
Databricks production scoring: databricks-online-monitoring.md; registration alone does not start monitoring.
Judge disagreement, domain-expert labels, Review App, or MemAlign: mlflow-evaluation and its alignment
reference.
Registered-prompt optimization / GEPA: prompt-optimization.md.
API details: evaluation quickstart or the reference's exact topic link. Check installed-version compatibility.
Missing/moved page: llms.txt.
Docs/skill unavailable: use local instructions and installed API introspection; stop and explain unresolved correctness. Do not silently substitute legacy APIs, backend, or provider.
assets/evaluation_report_template.md (opens in a new tab)references/advanced-evaluation.md (opens in a new tab)references/databricks-online-monitoring.md (opens in a new tab)references/dataset-preparation.md (opens in a new tab)references/judge-alignment.md (opens in a new tab)references/prompt-optimization.md (opens in a new tab)references/scorer-design.md (opens in a new tab)references/scorers-constraints.md (opens in a new tab)references/scorers.md (opens in a new tab)references/throughput-guide.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/mlflow-agentMaster dispatcher for all MLflow workflows. Use this skill when the user wants to do anything with MLflow — tracing, evaluating, debugging, or improving an agent. Routes to the right MLflow sub-skill automatically. Triggers on: "use mlflow", "help with mlflow", "mlflow agent", "add mlflow to my project", "trace my agent", "evaluate my agent", or any MLflow task without a specific skill in mind.
/mlflow-agent-improvementFix or change an AI agent's behavior using MLflow traces and regression tests. Use for wrong answers, missing tool calls, new business rules, or context and token-cost optimization. Diagnose first, prove a regression fails, implement the smallest fix, and verify it passes without breaking existing behavior./mlflow-docsGenerated from the plugin's indexed repository (mlflow/skills) — no native marketplace selected
npx claudepluginhub p/mlflow-mlflowOther plugins' skills for the same job