mlflow-3
БесплатноБез исполняемых скриптовНе проверенMLflow 3 (open-source, pinned to 3.15) for classic-ML MLOps — logging and registering models, promoting versions across dev/staging/prod, standing up a…
от pproenca★ 231 звезда на GitHubОб этом скилле
MLflow 3
Library-reference skill for open-source MLflow 3 — 24 rules across 6 categories. MLflow 3 restructured the library around the model as a first-class entity, deprecated the registry-stage vocabulary, replaced the serving stack, and changed storage and serialization defaults; a model trained on the vast MLflow 2 corpus reproduces the old idioms fluently, which is exactly why each of these rules exists. There is no rule for things a capable model already gets right.
Scope is classic-ML MLOps on self-hosted OSS MLflow. GenAI features (mlflow.genai, tracing, prompt registry, AI Gateway) appear only where confusing them with the classic APIs is itself the trap. Databricks/Unity-Catalog-only features (Deployment Jobs) are flagged as out of scope where a model might scaffold them against OSS.
Pinned to mlflow 3.15.1 (Python ≥ 3.10). API claims were verified against the unpacked mlflow / mlflow-skinny 3.15.1 wheels.
When to Apply
- Writing or reviewing training code that logs models, metrics, params, or datasets with MLflow
- Registering model versions and wiring promotion across dev/staging/prod (aliases,
copy_model_version, tags, webhooks) - Standing up or hardening an
mlflow server— backend store, artifact store, auth - Evaluating candidate models and gating promotion on thresholds
- Serving models —
mlflow models serve,build-docker,/invocationsclients, pre-deploy validation - Migrating an MLflow 2-era codebase (stages,
artifact_path,mlflow.evaluate,./mlruns) to MLflow 3
Rule Categories
| # | Category | Prefix | Covers |
|---|---|---|---|
| 1 | Model Logging & LoggedModel | log- |
name= not artifact_path, models decoupled from runs, input-example-driven signatures, register-at-log-time, skops/torch.export serialization defaults, model-linked metrics and search_logged_models |
| 2 | Model Registry & Promotion | reg- |
Aliases replacing stages, alias-based lookup, per-environment registered models with copy_model_version, gate state in tags, OSS webhooks vs Databricks-only Deployment Jobs |
| 3 | Tracking Backend & Server | track- |
sqlite:///mlflow.db default, database-only server backends and migrate-filestore, proxied artifacts topology, telemetry opt-out, autolog input-example default |
| 4 | Serving | serve- |
FastAPI scoring server (MLServer removed), /invocations payload contract, mlflow.models.predict pre-deploy validation, build-docker for clusters |
| 5 | Evaluation & Gates | eval- |
mlflow.models.evaluate vs mlflow.genai.evaluate, threshold gating with validate_evaluation_results after baseline_model's removal |
| 6 | Environment & Reproducibility | env- |
Generated environment files as the serving source of truth, dependency pinning and uv capture, bundling custom code with code_paths |
Quick Reference
1. Model Logging & LoggedModel
log-name-not-artifact-path—name=creates a searchable LoggedModel;artifact_pathis deprecated and warnslog-models-are-not-run-artifacts— nostart_runrequired; artifacts live undermodels/<model_id>/, addressed bymodel_urilog-input-example-infers-signature—input_example=infers the signature and validates serving input at log timelog-register-at-log-time—registered_model_name=orregister_model(model_info.model_uri), never composedruns:/pathslog-serialization-defaults-changed— sklearn/lightgbm write skops, pytorch writes torch.export, xgboost writes UBJSONlog-link-metrics-search-models—log_metric(model_id=, dataset=)andsearch_logged_modelsrank models without run bookkeeping
2. Model Registry & Promotion
reg-aliases-not-stages—set_registered_model_alias+models:/name@aliasreplace the deprecated stage APIsreg-resolve-by-alias-not-latest-versions— deployment code resolves an assigned alias, neverget_latest_versionsor/latestreg-per-environment-registered-models—dev.*/staging.*/prod.*models withcopy_model_versionas the promotion primitivereg-gate-state-in-tags—validation_statustags carry the review state stages used to implyreg-webhooks-oss-deployment-jobs-not— registry webhooks are OSS; Deployment Jobs are Databricks-only
3. Tracking Backend & Server
track-default-is-sqlite-not-mlruns— the local default issqlite:///mlflow.db, not `./mlrun
Установить mlflow-3 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mlflow-3?
MLflow 3 (open-source, pinned to 3.15) for classic-ML MLOps — logging and registering models, promoting versions across dev/staging/prod, standing up a tracking server, evaluating with gates, and serving. Corrects the MLflow 2-era defaults a model reaches for (artifact_path, registry stages and get_latest_versions, top-level mlflow.evaluate with baseline_model, runs-URI registration, pickle serialization, mlruns file stores, MLServer serving) with the MLflow 3 idioms that replaced them (named LoggedModels, aliases and copy_model_version, models.evaluate plus validate_evaluation_results, skops/torch.export defaults, database backends, the FastAPI scoring server). Use when writing, reviewing, or migrating Python code that touches MLflow tracking, the model registry, evaluation, or serving.
Как установить скилл mlflow-3?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mlflow-3 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic