claude

pymc-core

Core Bayesian modeling, PyMC-Extras, Bambi formula GLMs, nutpie Rust NUTS sampling, prior elicitation, ArviZ DataTree diagnostics, PyTensor workflows, lifecycle guardrails, commands, and reviewers.

99 on GitHubby PyMC Labsv6.4.0MITupdated today
/

Plugin pymc-core from marketplace pymc-modeling in pymc-labs/pymc-modeling. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (7)

  • arviz-diagnostics

    Diagnose existing Bayesian inference output and evaluate fitted predictions with modern ArviZ DataTree summaries, divergences, rank R-hat, ESS and Monte Carlo precision. Use for posterior predictive checks, calibration, LOO/ELPD, Pareto k, stacking, grouped or temporal validation, survival diagnosti

  • bambi-modeling

    Build, inspect, and interpret formula-based Bayesian GLMs, hierarchical models, and distributional regressions with Bambi (bmb.Model). Use for Wilkinson/formulae syntax, group-specific effects, bmb.Prior, custom families, bmb.predict, bmb.interpret (predictions, comparisons, slopes), and deciding wh

  • nutpie-sampling

    Compile and sample PyMC models with nutpie (Rust NUTS sampler with Numba or JAX logp backends). Use when speeding up MCMC, configuring low-rank or gradient-based mass-matrix adaptation, diagnosing nutpie compilation or sampling failures, or inspecting nutpie-specific sample_stats in ArviZ DataTrees.

  • prior-elicitation

    Elicit 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-extras

    Use pymc-extras extensions for PyMC 6+ models: exact discrete/conjugate and Laplace marginalization, Pathfinder/Laplace/DADVI/INLA approximate inference, Bayesian state-space and ETS models, specialized distributions (DiscreteMarkovChain, JointCategorical, extreme values, histogram approximation), P

  • pymc-modeling

    Build, 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, gener

  • pytensor-workflows

    Build, differentiate, compile, and debug PyTensor symbolic computations for models. Use for symbolic tensor shape or dtype errors, named dimensions, indexing and broadcasting, vectorization and scan, numerical or sparse operations, symbolic RNG state, graph transformations and profiling, or custom d

Slash commands (3)

  • /pymc-core:diagnose

    Run a structured MCMC, predictive, and LOO diagnostic audit on a saved DataTree (.nc) or current fit.

  • /pymc-core:env-check

    Inspect the active Python environment's PyMC ecosystem versions, backends, and compatibility bounds without mutating it.

  • /pymc-core:prior-check

    Guide unit-grounded prior elicitation and prior predictive plausibility checks before fitting a PyMC model.

Subagents (2)

  • diagnostics-auditor

    Independent Bayesian inference diagnostics auditor. Inspects saved DataTree (.nc) artifacts or fit logs for divergences, rank R-hat, bulk/tail ESS, MCSE, BFMI, PPC calibration, and PSIS-LOO Pareto-k reliability.

  • model-reviewer

    Read-only Bayesian model code reviewer for PyMC 6+, PyTensor 3+, pymc-extras, and Bambi. Audits parameterization geometry, coords/dims alignment, prior support, likelihood validity, and ArviZ 1.x DataTree idioms.

Hooks (4)

  • SessionStart

    python3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pymc_hook_cli.py" env-probe

  • PreToolUse

    python3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pymc_hook_cli.py" pre-tool

  • PostToolUse

    python3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pymc_hook_cli.py" post-tool

  • Stop

    python3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pymc_hook_cli.py" stop

View source on GitHub pymc.io

More from pymc-labs/pymc-modeling

All 6 plugins →

Bayesian marketing analytics with PyMC-Marketing: MMM & budget optimization, CLV & Bass diffusion, discrete choice & MV-ITS, and causal discovery.

4 skills · 1 command · 1 agent · hooks

99

causalpy

claude

Quasi-experimental Bayesian causal inference with CausalPy: DiD, Synthetic Control, Interrupted Time Series, Regression Discontinuity, IV, ANCOVA, audit command, and causal reviewer.

1 skill · 1 command · 1 agent

99

MLflow experiment tracking, DataTree artifact persistence, PyMC-Marketing autologging, and MMM model restoration.

1 skill

99

pymc-all

claude

Complete PyMC Labs skill bundle across core modeling, PyMC-Extras, Bambi, nutpie, PyMC-Marketing, CausalPy, and MLflow MLOps.

99

Backwards-compatible bundle of core PyMC modeling, PyMC-Extras, prior elicitation, ArviZ diagnostics, PyTensor workflows, and MLflow tracking.

99

Maintain pymc-core?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins6 plugins