Skip to content

Bayesian modeling skill for PyMC that builds, samples, diagnoses, and compares probabilistic models with explicit checks.

CCM score
65 of 100
skills.sh installs
2.2K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the workflow from estimand definition through prior and posterior predictive checks, sampling, and predictions
  • Includes runnable linear and hierarchical templates, diagnostic helpers, and PSIS-LOO model comparison with predictive model averaging
  • Enforces prior predictive checks before fitting, MCMC diagnostics such as R-hat, ESS, and divergences, and separation of in-sample from out-of-sample predictions
  • Designed for analysts who need uncertainty inference in PyMC 6.3.2 with ArviZ 1 and PyTensor 3.3.2

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill pymc -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PyMC Bayesian Modeling

Version and scope

Targets PyMC 6.3.2, PyTensor 3.3.2, and ArviZ 1.3.0. These are local Python APIs, with no service endpoint, credentials, or remote inference required. The native tests use the PyMC NUTS sampler on small synthetic models. Optional nutpie/JAX samplers, SMC, and production-scale convergence are not validated by those tests. Record the complete resolved environment, backend, seeds, preprocessing, and data provenance for a scientific run.

Local macOS validation used PYTENSOR_FLAGS="cxx=" after the C linker failed with library 'd64' not found; this disables PyTensor C compilation for that process. The Python library workflows passed under that setting; it does not establish that the C backend works on this host.

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Research & Academic, Python
First seen
Jun 3, 2026

Questions

What is the pymc skill and what does it do?

The pymc skill builds and checks Bayesian models with PyMC, covering hierarchical models, NUTS MCMC, variational inference, posterior predictive checks, diagnostics, and PSIS-LOO model comparison. It targets PyMC 6.3.2 and ArviZ 1.3.0 for probabilistic modeling and uncertainty inference.

How do I install the pymc skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill pymc -y in a project to install it. Once installed, the agent can follow the skill's workflow for defining priors, fitting models, and checking convergence.

What does the pymc skill need to run?

It requires Python 3.12 or newer with PyMC 6.3.2, PyTensor 3.3.2 and ArviZ 1.3-compatible dependencies, plus NumPy, pandas, Matplotlib, h5netcdf and h5py for bundled helpers. Optional nutpie, NumPyro and BlackJAX samplers need separate installs.

Where does the pymc skill stand in the Data Science & Analytics category?

The pymc skill is in the Data Science & Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It focuses specifically on Bayesian probabilistic programming with PyMC rather than general data querying or project analysis.

More from k-dense-ai/scientific-agent-skills

All 132