Agent skill

pymc

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

K-Dense-AIgithub.com/K-Dense-AIGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add K-Dense-AI/scientific-agent-skills --skill pymc --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 10
SKILL.md size: 10 KB
Bundled scripts: yes
Version: 1.3
Allowed tools: ReadWriteEditBash
Requires: Requires Python 3.12+ and PyMC 6.0.1-compatible dependencies. Install reproducible environments with `uv pip install…
Path: skills/pymc/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 32,619
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# PyMC Bayesian Modeling ## Overview PyMC is a Python library for Bayesian modeling and probabilistic programming. Build, fit, validate, and compare Bayesian models using PyMC's modern API (version 6.x+), including hierarchical models, MCMC sampling (NUTS), variational inference, posterior predictive checks, and model comparison (LOO, WAIC). ## Current Version and Setup PyMC 6.0.1 is the current stable release as of June 2026. It requires Python 3.12+, uses PyTensor 3 as the computational graph backend, and defaults to compiled backends such as Numba. For reproducible local environments, pin the version: ```bash uv pip install "pymc[nutpie]==6.0.1" ``` The `nutpie` extra enables the faster Rust/Numba NUTS implementation. If using NumPyro or BlackJAX, install those optional sampler dependencies in the same environment and pin them in the project lockfile. ## When to Use This Skill This skill should be used when: - Building Bayesian models (linear/logistic regression, hierarchical models, time series, etc.) - Performing MCMC sampling or variational inference - Conducting prior/posterior predictive checks - Diagnosing sampling issues (divergences, convergence, ESS) - Comparing multipl

What's inside
Steps it walks through
  1. Overview
  2. Current Version and Setup
  3. When to Use This Skill
  4. Standard Bayesian Workflow
  5. Distribution Selection Guide
  6. For Priors
  7. For Likelihoods
  8. Sampling and Inference
  9. MCMC with NUTS
  10. Variational Inference
  11. Diagnostic Scripts
  12. Comprehensive Diagnostics
  13. Quick Diagnostic Check
  14. Common Issues and Solutions
Ships with 9 files
  • assets/hierarchical_model_template.py
  • assets/linear_regression_template.py
  • references/distributions.md
  • references/model_patterns.md
  • references/sampling_inference.md
  • references/standard_workflow.md
  • references/workflows.md
  • scripts/model_comparison.py
  • scripts/model_diagnostics.py
Commands it runs
uv pip install "pymc[nutpie]==6.0.1"
More from scientific-agent-skills
All skills →
About this skill
What does the pymc skill do?

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

How do I install it?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill pymc --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From K-Dense-AI/scientific-agent-skills, a repository with 32,619 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going