Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
Without skill95%
With skill100%
Checks it passed that the model alone missed
Recommends running sample_prior_predictive to perform prior predictive checks
1 fixed21 passed either way0 still failing0 broke
Pass-rate lift
+5 pp
Tokens
+399%
Agent turns
0%
Response time
-41%
Model gemini-3.6-flashMeasured 8/23/2026v122 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
Before running expensive MCMC sampling on a newly defined Bayesian model, what procedure should be executed to verify that the specified priors generate realistic data ranges?
What was checked, without and with the skill
Checked
Without skill
With skill
Recommends running sample_prior_predictive to perform prior predictive checks
Missed
Passed
case-11 · gemini-3.6-flash · 8/23/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md464 lines3 files
PyMC Bayesian Modeling
Overview
PyMC is a Python library for Bayesian statistical modeling and probabilistic programming. It provides an expressive syntax for defining probabilistic models and efficient inference via MCMC (NUTS) and variational methods (ADVI). This skill covers the full Bayesian modeling cycle from model specification through diagnostics, comparison, and prediction.
When to Use
Estimating parameters with full uncertainty quantification (credible intervals, not just point estimates)
Fitting hierarchical/multilevel models to grouped or nested data
Performing prior and posterior predictive checks to validate model assumptions
Comparing candidate models using information criteria (LOO-CV, WAIC)
Building regression models (linear, logistic, Poisson) in a Bayesian framework
Handling missing data or measurement error as latent parameters
Modeling time series with autoregressive or random walk priors
Generating posterior predictions for new observations with uncertainty bounds
Use Stan/PyStan instead for compiled, more scalable Bayesian inference on large models; use statsmodels for frequentist statistical tests