bayesian-workflow

Scaffold Bayesian workflows with NumPyro and ArviZ diagnostics.

Updated Jun 20, 2026
One-click install
npx skills add https://github.com/lowmason/agent-skills --skill bayesian-workflow
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bayesian-workflow
Source: https://github.com/lowmason/agent-skills/tree/main/bayesian-workflow
Command: npx skills add https://github.com/lowmason/agent-skills --skill bayesian-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires arviz, arviz-stats, arviz-plots, arviz-base, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Guides and guards your Bayesian workflow from data to decision, providing an end-to-end scaffold for building, diagnosing, and reporting probabilistic models with NumPyro (JAX) and ArviZ.

Core Features & Use Cases

  • End-to-end Bayesian workflow scaffolding: priors, model specification, inference, diagnostics, and canonical reporting.
  • Guardrails and diagnostics: prior predictive checks, convergence diagnostics (R-hat, ESS), posterior predictive checks, LOO-CV, and calibration plots.
  • Reporting pipeline: generates a canonical report artifact and saves InferenceData to disk for reproducibility.
  • Cross-tool compatibility: designed to work with Claude Code / ArviZ ecosystem and supports multiple stacks.

Quick Start

Install the bayesian-workflow skill by placing the bayesian-workflow folder in your skills directory and running the main.py to initialize the Bayesian workflow.

Frequently Asked Questions about bayesian-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure an end-to-end Bayesian workflow with NumPyro and ArviZ?▼

An end-to-end Bayesian workflow with NumPyro and ArviZ involves specifying priors, running inference, performing convergence diagnostics like R-hat and ESS, and completing posterior predictive checks before saving InferenceData to disk.

What diagnostics should I run when building Bayesian models with NumPyro?▼

When building Bayesian models with NumPyro, you should run prior predictive checks, convergence diagnostics including R-hat and ESS, posterior predictive checks, LOO-CV, and calibration plots to ensure model validity and reproducibility.

How do I ensure reproducibility when saving Bayesian inference results?▼

To ensure reproducibility when saving Bayesian inference results, you should save the generated InferenceData object to disk after sampling and use programmatic reporting templates to produce canonical report artifacts.

Can I use ArviZ for LOO-CV and posterior predictive checks on NumPyro models?▼

Yes, you can use ArviZ to perform LOO-CV and posterior predictive checks on NumPyro models, applying cross-tool compatibility to evaluate model calibration and generate diagnostic plots within the workflow.

What is the best way to report Bayesian posterior results programmatically?▼

The best way to report Bayesian posterior results programmatically is to use canonical reporting templates that generate structured report artifacts directly from your saved InferenceData after sampling.

Do I need JAX installed to run Bayesian inference with NumPyro?▼

Yes, you need JAX installed because NumPyro is built on top of JAX to enable probabilistic inference, and the workflow relies on ArviZ and NumPy dependencies to execute diagnostics and reporting.