Load whenever the user is working on code that imports pymc, pytensor, or arviz, or asks about Bayesian modeling, MCMC, priors, posteriors, sampling, or model diagnostics. Covers PyMC 6+, PyTensor 3+, ArviZ 1.1+ (DataTree API), pymc-bart, pymc-extras, nutpie, and JAX/NumPyro backends. Use for building probabilistic models, specifying priors, running MCMC, diagnosing convergence, or comparing models. Triggers include: Bayesian inference, posterior sampling, hierarchical/multilevel models, GLMs, time series, Gaussian processes, HSGP, BART, mixture models, prior/posterior predictive checks, MCMC diagnostics, LOO-CV, model comparison, causal inference with do/observe, and any PyTensor Op or graph work.
$npx -y skills add pymc-labs/python-analytics-skills --skill pymc-modelingInstalls into the current project.
Run `npx skills use "https://github.com/pymc-labs/python-analytics-skills" --skill "pymc-labs/python-analytics-skills/pymc-modeling"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/pymc-labs/python-analytics-skills" that are relevant to the current task. Run `npx skills add "https://github.com/pymc-labs/python-analytics-skills"` and select the relevant skills, then follow their instructions.