/pymc-mlops:pymc-mlflowfrom pymc-mlops
Tracks PyMC experiments with MLflow, recording sampling configuration, diagnostics, and DataTree artifacts. Supports pymc_marketing.mlflow autologging, MMM model persistence, and CLV fit tracking with native model restoration.
Ships in pymc-mlops. 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.
Record how a fit was produced, preserve its inference output, and retrieve it
without changing the consuming project's modeling environment. pymc-mlflow
is this skill's name; the optional integration module is
pymc_marketing.mlflow, not a separate pymc-mlflow package.
| Need | Reference |
|---|---|
| Track ordinary PyMC models without installing PyMC-Marketing | Manual tracking and DataTree artifacts |
| Use maintained PyMC-Marketing autologging or track CLV fits | Autologging and domain-model tracking |
| Save/restore MMM models or log a prediction wrapper to MLflow | MMM persistence and registry preparation |
Examples target PyMC 6/DataTree and modern ArviZ. PyMC-Marketing 1.2.0 requires
PyMC >=6.3.1,<6.4.0 and ArviZ >=1.2.0,<2.0; MLflow is a separate optional
installation. Inspect installed versions and signatures before enabling
integration. Do not downgrade or replace a working modeling environment just to
use autologging. Direct MLflow tracking does not require PyMC-Marketing.
The generic tracking example records its verified stack and compatibility limits.
with mlflow.start_run(): so exceptions
mark failed runs. Log configuration before expensive work. MLflow parameters
cannot change within a run; do not overwrite integration-owned parameters
such as likelihood, draws or chains with different values.pymc_marketing.mlflow.autolog() does not save idata.nc:
explicitly serialize/upload it or call log_inference_data. Preserve the
groups needed by the downstream task; adding likelihoods or predictions later
requires saving the enriched output too.arviz-diagnostics for computation, predictive checks and reliable comparison.original_scale argument. Use the documented
native restoration route; do not claim the wrapper is ready for serving.
CLV tracking does not supply an equivalent CLV serving wrapper.runs:/ URI addresses a run artifact; a models:/ URI addresses a registered
model. Logging or registering either does not deploy a service. Validate the
selected prediction method, input schema, scale and runtime dependencies before
treating a wrapper as usable for serving.Do not leave pm.sample globally replaced with mock_sample. Mock output is
prior-generated infrastructure data, not posterior inference, and may have no
sampler statistics. Scope test patches and restore the original callable; for
meaningful model testing, see pymc-modeling's references/model-testing.md
when pymc-core is installed.
Enable autologging once per process, not repeatedly in a notebook loop.
Keep tracking databases, posterior files and raw data out of source control. Artifacts and autologged dataset inputs can contain observed values, predictors and identifying coordinates; use authorized storage and access controls. Do not upload credentials or unapproved data. Diagnose full unthinned chains before making any explicitly labeled reduced-storage artifact.
For model construction and predictions, use pymc-modeling (when pymc-core
is installed); for convergence, PPCs and LOO interpretation, use
arviz-diagnostics (when pymc-core is installed). This skill records those
workflows; it does not replace them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pymc, mlflow, experiment-tracking, bayesian-modeling, model-persistence
npx claudepluginhub pymc-labs/pymc-modeling --plugin pymc-mlops2 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
Other plugins' skills for the same job