Diagnoses Bayesian inference output using ArviZ DataTree summaries, divergences, rank R-hat, ESS, and Monte Carlo precision. Supports posterior predictive checks, LOO/ELPD, Pareto k, and Bayes-factor interpretation.
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.
Assess computational health, predictive adequacy and scientific validity separately, matching each check to the claim it can support.
posterior group
does not prove that draws came from MCMC; an observation-free model samples a
prior target. Preserve chains and draw order, and save inference before costly
postprocessing. Establish whether this is exploratory output or intended to
support reportable inference: a rough fit may guide debugging without being
accepted as an accurate posterior.idata["posterior"] and
idata["sample_stats"]. Count HMC divergences by chain; inspect rank-normalized
split R-hat, bulk/tail ESS and MCSE for the actual estimands, including relevant
latent coordinates. R-hat below 1.01 and ESS above 400 are screening heuristics,
not guarantees; choose precision requirements in scientific units.target_accept, thinning or dropping bad chains cannot certify a repair.Examples use the modern ArviZ package family; version-specific cautions are identified in the references. 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:arviz-diagnosticsfrom pymc-agent-skills
npx claudepluginhub pymc-devs/pymc-agent-skills --plugin pymc-agent-skills3 plugins in 2 repositories ship this exact skill · first indexed Sep 13, 2026
4 skills in this plugin
/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-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./Other plugins' skills for the same job