/pymc-core:pymc-extrasfrom pymc-core
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-core. 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
npx claudepluginhub pymc-labs/pymc-modeling --plugin pymc-core7 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./bambi-modelingBuild, inspect, and interpret formula-based Bayesian GLMs, hierarchical models, and distributional regressions with Bambi (bmb.Model). Use for Wilkinson/formulae syntax, group-specific effects, bmb.Prior, custom families, bmb.predict, bmb.interpret (predictions, comparisons, slopes), and deciding when to graduate from Bambi to raw PyMC./2 plugins in one repository ship this exact skill · first indexed Dec 5, 2026
Other plugins' skills for the same job