mlflow
Use this skill for MLflow repository work: experiment tracking, model registry, MLflow Models and flavors, evaluation, GenAI tracing/prompts/datasets/scorers, local serving, deployments, projects, CLI/server/auth, and troubleshooting MLflow workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- mlflow
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use this skill for MLflow repository work: experiment tracking, model registry, MLflow Models and flavors, evaluation, GenAI tracing/prompts/datasets/scorers, local serving, deployments, projects, CLI/server/auth, and troubleshooting MLflow workflows.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/development-notes.md2.9 KB
- 参考文档references/repo-provenance.md2.9 KB
- 参考文档references/repo-routing-metadata.json467 B
- 参考文档references/troubleshooting.md3.6 KB
03 SKILL.md 正文
MLflow
MLflow is an open-source platform for the machine learning and GenAI lifecycle. Use this skill when a task asks you to implement, debug, document, or operate MLflow APIs, CLIs, model packaging, tracking stores, observability, evaluation, or serving workflows.
Start Here
- Confirm MLflow is importable before relying on API examples:
python -c "import mlflow; print(mlflow.__version__)". - Use
mlflow doctorandmlflow --helpfor environment and CLI discovery. - Pick the nearest sub-skill by user intent; do not load every sub-skill by default.
- Prefer temporary local SQLite tracking URIs for smoke tests unless the user explicitly provides a remote tracking URI, Databricks workspace, cloud artifact store, or credentials.
- Treat cloud providers, Databricks-only features, Docker, SageMaker, long-running servers, and external model/provider calls as gated workflows that require explicit user intent and credentials.
Route by Task
- Use
sub-skills/tracking-and-registry/SKILL.mdfor experiments, runs, params, metrics, tags, artifacts, datasets,MlflowClient, search filters, tracking/registry URIs, and model registry lifecycle. - Use
sub-skills/models-and-flavors/SKILL.mdfor MLflow Models,MLmodel, pyfunc, signatures, input examples, model dependencies, flavor logging/loading, local prediction/serving payloads, andmlflow.evaluate. - Use
sub-skills/genai-observability/SKILL.mdfor traces, spans, OpenTelemetry, GenAI evaluation, prompts, datasets, scorers/judges, review queues, assessments, feedback, and provider autologging. - Use
sub-skills/serving-and-projects/SKILL.mdformlflowCLI groups,mlflow server, auth/security, database migrations,MLproject,mlflow run, deployments, MCP/agent setup, and development-server workflows.
Common Cross-Routes
- Tracking a model and registering it spans
tracking-and-registryfor runs/registry andmodels-and-flavorsfor model logging/signatures. - Serving a logged model spans
models-and-flavorsfor model URI/payload/schema andserving-and-projectsfor CLI/server process handling. - GenAI evaluation spans
genai-observabilityfor traces/prompts/scorers andmodels-and-flavorswhen the evaluated object is an MLflow Model or pyfunc. - A local tracking server spans
serving-and-projectsfor server/auth/storage commands andtracking-and-registryfor client-side URI and experiment/run behavior.
Repo-Level References
- Read
references/repo-provenance.mdwhen deciding whether this skill may be stale relative to a checkout. - Read
references/troubleshooting.mdfor cross-cutting install/import, optional dependency, credential, backend, and validation failures. - Read
references/development-notes.mdfor contributor commands, development server caveats, and safe validation strategy.
Bundled Smoke Scripts
Each sub-skill owns safe helpers for its workflow:
sub-skills/tracking-and-registry/scripts/tracking_smoke.pyruns an isolated local tracking smoke test.sub-skills/models-and-flavors/scripts/pyfunc_smoke.pylogs and loads a tiny custom pyfunc model.sub-skills/models-and-flavors/scripts/evaluate_smoke.pychecks tiny callable and precomputed-prediction evaluation.sub-skills/genai-observability/scripts/tracing_smoke.pyrecords and searches local manual traces.sub-skills/serving-and-projects/scripts/cli_probe.pyruns safe CLI help/version probes only.
Run these scripts with an environment where MLflow is installed. They create temporary local stores by default and should not contact external services unless you modify them.
Safety Rules
- Do not run long-lived servers, deployment commands, Docker builds, cloud uploads, provider calls, or Databricks operations without explicit user approval and configuration.
- Do not assume optional integrations are installed; check imports and extras before using flavor/provider-specific APIs.
- Keep
MLFLOW_TRACKING_URI,MLFLOW_REGISTRY_URI, provider API keys, Databricks host/token, cloud credentials, and server auth settings explicit in commands or environment setup. - Use tiny local fixtures for verification before touching user data, model registries, SQL databases, artifact stores, or production endpoints.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.