This gives Claude the ability to build and validate Bayesian models using PyMC's modern API. It covers the full workflow: prior and posterior predictive checks, MCMC sampling with NUTS, model diagnostics (R-hat, ESS, divergences), and model comparison via LOO and WAIC. The included templates handle common patterns like hierarchical models with non-centered parameterization, which is critical for avoiding sampling issues. Use this when you need proper uncertainty quantification, want to work with hierarchical data structures, or need to handle missing data in a principled way. The diagnostic scripts are helpful since convergence checking is non-negotiable in Bayesian workflows. It assumes you understand why you're reaching for Bayesian methods rather than maximum likelihood approaches.

skills.sh installs
2.1K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
DevOps & CI/CD, AI & Agent Building
First seen
Jun 3, 2026

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

All 137
1k-dense-ai avatarparallel-webk-dense-ai/scientific-agent-skillsUse Parallel CLI for web search, URL extraction, deep research, structured data enrichment, entity discovery, and recurring web monitoring. Best for requests th2.1Kskills.sh installs
2hubspot avatarticket-resolutionhubspot/agent-cli-skillsCreate, triage, advance, and close HubSpot support tickets — pipeline discovery, contact/company association, priority queues, bulk stage moves, resolution clos2.1Kskills.sh installs
3k-dense-ai avatarscikit-survivalk-dense-ai/scientific-agent-skillsBuild, evaluate, and audit right-censored or competing-risk survival workflows with scikit-survival, including leakage-safe preprocessing, model selection, prob2.1Kskills.sh installs
4nvidia avatardali-dynamic-modenvidia/skillsDALI imperative dynamic mode (`nvidia.dali.experimental.dynamic`, ndd): use when working on ndd code or migrating pipelines; skip pipeline-only tasks.2.1Kskills.sh installs
5jezweb avatargoogle-apps-scriptjezweb/claude-skillsBuild Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF2Kskills.sh installs
6calm-north avatarfix-linkingcalm-north/seojuice-skillsDesign or audit internal link structure for a website. Use when the user asks about internal linking, link architecture, orphan pages, PageRank flow, anchor tex2Kskills.sh installs