/pymc-core:pymc-modelingfrom pymc-core
Builds, revises, and debugs Bayesian models with PyMC. Covers likelihood/prior selection, hierarchical models, GPs, time series, mixtures, BART, splines, inference methods, and simulation-based calibration.
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.
Choose a useful starting point: a simple scaffold, an established subject-matter model, or a decomposition of a larger target model. Expand, simplify or branch as the question, data and checks warrant. Use the consuming project's data and Python environment; check installed APIs and package compatibility.
Current modeling guidance uses the checked stack and the ArviZ DataTree API. References retain explicitly named older-release cautions where they help existing projects. Check each reference's version scope before you use an older environment.
For pymc-extras tasks (marginalization, Pathfinder/Laplace/DADVI/INLA,
state-space/ETS models, Prior/ModelBuilder, or specialized distributions),
use the dedicated pymc-extras skill when installed, starting with
feature selection and compatibility.
pymc-modeling.pymc-extras distributions, marginalization, state-space models or model
factories: use pymc-extras when available.prior-elicitation when available.arviz-diagnostics when available.pytensor-workflows when available.pymc-mlflow when available.Multipart requests can use more than one skill. The references below support modeling when specialist skills are not installed.
dims
label positional tensors; they do not join coordinates.
Use known-parameter simulated cases to probe new implementations and their
failure modes; use scoped SBC when repeated inference checks are warranted.PyMC 6 returns xarray.DataTree: use idata["posterior"], not attribute group
access. Call pm.compute_log_likelihood(idata, model=model) explicitly before
LOO or other pointwise-likelihood workflows. ArviZ 1.0 uses LOO, not removed WAIC;
state interval probability and type (the default is 89% ETI). Similar stacking
weights do not imply model equivalence.
Sampler preferences, warmup starting points and interval defaults are implementation
conventions, not universal Bayesian workflow requirements. Choose them for the task.
| When working on | Reference |
|---|---|
| End-to-end fitting, diagnostics and scientific checks | Workflow |
| Model construction, data containers and dimensions | Model and data |
| Failed initialization, shape errors, stuck sampling or warnings | Troubleshooting |
| Group effects, pooling and parameterization | Hierarchical models |
| Outcome support, censoring, multivariate families and Jacobians | Likelihoods |
| Algorithms, backends, budgets and persistence | Sampling |
| pymc-extras extensions (marginalization, state-space, distributions, tools) | PyMC Extras skill |
| Variational, Laplace and Pathfinder approximations | Approximate inference |
| Covariance models and finite-basis error | Gaussian processes |
| Temporal dependence, differential equations and forecasting | Time series |
| Label invariance and discrete elimination | Mixtures |
| External densities, simulators and predictive callbacks | Custom likelihoods |
| Conditioning, interventions and graph transformations | Transformations |
| In-sample criticism and new-input prediction | Predictive checks |
| Tree ensembles and prediction state | BART |
| Basis penalties and distributional predictors | Splines |
| Simulated-data experiments, SBC, numerical oracles and mocks | Model testing |
| Advanced numerical and extension interfaces | Interface boundaries |
For version-specific APIs, use help() or inspect.signature() on the installed
object in the consuming environment, then consult version-matched official
documentation or source.
LICENSE (opens in a new tab)references/approximate-inference.md (opens in a new tab)references/bart.md (opens in a new tab)references/custom-likelihoods.md (opens in a new tab)references/gaussian-processes.md (opens in a new tab)references/hierarchical.md (opens in a new tab)references/interface-boundaries.md (opens in a new tab)references/likelihoods.md (opens in a new tab)references/mixtures.md (opens in a new tab)references/model-data-dimensions.md (opens in a new tab)references/model-testing.md (opens in a new tab)references/predictive-checks.md (opens in a new tab)references/sampling.md (opens in a new tab)references/splines-distributional.md (opens in a new tab)references/time-series.md (opens in a new tab)references/transformations.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/workflow.md (opens in a new tab)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