Elicits and checks Bayesian prior assumptions using expert quantiles, PreliZ, constrained priors, prior-predictive plausibility, and sensitivity analysis including power scaling, regularized horseshoe, and R2D2.
Ships in pymc-agent-skills. 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.
A prior is a scientific assumption, not a scale-free default. Work from the quantity's meaning to a distribution, then check its observable implications.
maxent/quartile.
Inspect optimizer status and achieved CDFs independently. Maximum entropy is
conditional on a chosen family and parameterization, not universally
noninformative. Prefer PreliZ over deprecated pm.find_constrained_prior.pm.sample_prior_predictive(draws=...);
access the resulting DataTree with prior["prior_predictive"]. Check support,
conditional scales, dataset extremes and scientific contrasts against stated
plausibility judgments, beyond observed-range coverage. Revisit assumptions
when predictions are implausible, preserving support and simulation uncertainty.
These are plausibility checks, not SBC of an inference implementation.Use the installed package's version-matched API documentation when adapting the examples. PreliZ widgets need an interactive notebook; pymc-extras is optional and only needed for its R2D2 helper. This skill does not require another skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/pymc-agent-skills:prior-elicitationfrom pymc-agent-skills
npx claudepluginhub pymc-devs/pymc-agent-skills --plugin pymc-agent-skills4 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./pymc-modelingBuild, revise, and debug Bayesian models with PyMC. Use when choosing likelihoods and priors, specifying model/data dimensions, fitting hierarchical models, GPs, time series, mixtures, BART or splines, selecting inference methods, resolving failed initial evaluation or model/data shape errors, generating predictions, or testing model code with simulated data and simulation-based calibration (SBC). Covers PyMC 6+, PyTensor 3+ and ArviZ 1.0 DataTree workflows./