Provides pymc-extras extensions for PyMC 6+ models: discrete/conjugate marginalization, approximate inference (Pathfinder, Laplace, DADVI, INLA), Bayesian state-space/ETS models, specialized distributions, and model-building utilities.
Ships in pymc-modeling. 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.
Use pymc-extras (import pymc_extras as pmx, never the deprecated
pymc_experimental namespace) when it supplies the distribution, elimination
algorithm, state-space implementation, or model-building interface the task
needs. Prefer its maintained algorithms to bespoke Kalman filters, Markov-chain
log densities, or optimizer wrappers; keep ordinary models in core pymc.
Check installed versions and signatures before selecting an API—especially
because downstream packages (such as pymc-marketing) may pin an earlier PyMC
or pymc-extras minor release. Never override dependency pins or mutate a
working environment merely to load this skill.
Start with feature selection, checked stack, and compatibility.
| When working on | Reference |
|---|---|
| Compatibility bounds, feature routing, validation rules, experimental MLX MCLMC | Feature selection and compatibility |
DiscreteMarkovChain, JointCategorical, count/difference/extreme-value distributions, histogram_approximation | Extras distributions |
| Linear-Gaussian state-space models, structural components, ETS innovations, forecasting | Extras state-space workflows |
Prior, Censored, Scaled, as_model, ModelBuilder, VIP reparameterization, prior_from_idata | Extras model tools |
| Exact discrete/conjugate and Laplace marginalization & conditional recovery | Mixtures and marginalization |
pmx.fit (laplace, pathfinder, dadvi, INLA) and pmx.find_MAP | Approximate inference |
R2D2M2CP shrinkage priors | Shrinkage |
B-spline basis utilities (pymc_extras.utils.spline) | Splines and distributional regression |
histogram_approximation,
prior_from_idata).arviz-diagnostics.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/pymc-modeling:pymc-extrasfrom pymc-modeling
npx claudepluginhub pymc-labs/pymc-modeling --plugin pymc-modeling6 skills in this plugin
/arviz-diagnosticsDiagnose existing Bayesian inference output and evaluate fitted predictions with modern ArviZ DataTree summaries, divergences, rank R-hat, ESS and Monte Carlo precision. Use for posterior predictive checks, calibration, LOO/ELPD, Pareto k, stacking, grouped or temporal validation, survival diagnostics and Bayes-factor interpretation./prior-elicitationElicit and check Bayesian prior assumptions in meaningful units. Use for expert quantiles, PreliZ, constrained priors, prior-predictive plausibility and prior sensitivity, including power scaling, regularized horseshoe and R2D2 assumptions./pymc-mlflowTrack PyMC experiments with MLflow, record sampling configuration and diagnostics, save and retrieve DataTree artifacts, and compare runs. Use for pymc_marketing.mlflow autologging, MMM model persistence and MLflow registry preparation, or CLV fit tracking. Distinguishes experiment tracking, native model restoration and prediction wrappers from deployed services.2 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
Other plugins' skills for the same job