Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

MITAuto-check passedData & Analytics

Install Bayesian Workflow

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill bayesian-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills bayesian-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/23-Learning-Bayesian-Statistics-baygent-skills/bayesian-workflow .claude/skills/bayesian-workflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bayesian-workflow
GitHub stars
4.5k
Token cost
~3.5k tokens
SKILL.md length
1,306 words
Files
13 (incl. scripts, references)
Skills in repo
369
Repo updated
First seen
Licence
MIT

At a glance

Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

  • Works in 10 steps: Formulate — Define the generative story.… → Specify priors — See references/priors.md → Implement in PyMC — Write the model.… → …
  • : building probabilistic/Bayesian models
  • SKILL.md covers Workflow overview, Installation, PyMC model template and Critical rules, plus 4 more sections
  • Runs Python scripts from its folder; calls python and mamba

What it does

Bayesian Workflow is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Opinionated Bayesian modeling workflow with PyMC and ArviZ. Contains critical guardrails (nutpie sampler, prior/posterior predictive checks, LOO-PIT calibration, prior sensitivity checks, 94% HDI, non-centered parameterizations, reproducible seeds) that agents won't apply unprompted — always consult before writing Bayesian model code. Trigger on: building probabilistic/Bayesian models, prior elicitation, MCMC inference, convergence diagnostics (divergences, R-hat, ESS), model comparison (LOO-CV, ELPD, stacking…

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts and reference files (for example `README.md`, `main.py` and `references/diagnostics.md`).

It sits in Data & Analytics, covering Statistics and Performance reviews. It works with PyMC. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI… The licence is MIT.

When your agent uses it

  • : building probabilistic/Bayesian models
  • Prior elicitation
  • Convergence diagnostics (divergences
  • Model comparison (LOO-CV

Example prompts

  • “/bayesian-workflow”

Requirements

  • Python 3

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Formulate — Define the generative story. What underlying process, that we're precisely trying to model, created the data?
  2. Specify priors — See references/priors.md
  3. Implement in PyMC — Write the model. Prefer PyMC 5+ syntax. Use the latest version possible.
  4. Run prior predictive checks — pm.sample_prior_predictive(). Verify priors produce plausible data ranges before fitting
  5. Inference — pm.sample(nuts_sampler="nutpie"). Always use nutpie for speed (the nutpie python package provides cutting-edge sampling)…
  6. Diagnose convergence — Use arviz_stats.diagnose(idata) as the first check (requires arviz-stats >= 1.0.0). It covers R-hat, ESS…
  7. Criticize the model — See references/model-criticism.md
  8. Check prior sensitivity — Run psense_summary(idata) to verify conclusions are robust to prior choices. Visualize with…
  9. Compare models (if applicable) — See references/model-comparison.md
  10. Report results — See references/reporting.md. When the user asks for a report or mentions a non-technical audience, generate a standalone…

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • mamba

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • preliz.readthedocs.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bayesian Workflow loads about 3.5k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 236 tokens; SKILL.md has 1,306 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~236
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from brycewang-stanford/Auto-Empirical-Research-Skills at commit 9fa87d8, republished under its MIT licence (© brycewang-stanford). 1,306 words, ~3,549 tokens.

Download SKILL.mdSave it as .claude/skills/bayesian-workflow/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
bayesian-workflow
description
Opinionated Bayesian modeling workflow with PyMC and ArviZ. Contains critical guardrails (nutpie sampler, prior/posterior predictive checks, LOO-PIT calibration, prior sensitivity checks, 94% HDI, non-centered parameterizations, reproducible seeds) that agents won't apply unprompted — always consult before writing Bayesian model code. Trigger on: building probabilistic/Bayesian models, prior elicitation, MCMC inference, convergence diagnostics (divergences, R-hat, ESS), model comparison (LOO-CV, ELPD, stacking weights), hierarchical/multilevel models, count regressions, logistic regression with uncertainty, prior sensitivity analysis, reporting Bayesian results, or mentions of PyMC, ArviZ, InferenceData, credible intervals, posterior distributions, shrinkage, uncertainty quantification. Also trigger for model comparison, diagnosing sampling problems, choosing priors, or presenting stats to non-technical audiences.
license
MIT
metadata.author
[Alexandre Andorra](https://alexandorra.github.io/)
metadata.version
1.2

Bayesian Workflow

Workflow overview

Every Bayesian analysis follows this sequence. Do not skip steps -- especially model criticism.

  1. Formulate — Define the generative story. What underlying process, that we're precisely trying to model, created the data?
  2. Specify priors — See references/priors.md
  3. Implement in PyMC — Write the model. Prefer PyMC 5+ syntax. Use the latest version possible.
  4. Run prior predictive checks — pm.sample_prior_predictive(). Verify priors produce plausible data ranges before fitting
  5. Inference — pm.sample(nuts_sampler="nutpie"). Always use nutpie for speed (the nutpie python package provides cutting-edge sampling). Don't hardcode the number of chains — let the sampler pick the best default for the platform.
  6. Diagnose convergence — Use arviz_stats.diagnose(idata) as the first check (requires arviz-stats >= 1.0.0). It covers R-hat, ESS, divergences, tree depth, and E-BFMI in one call. See references/diagnostics.md
  7. Criticize the model — See references/model-criticism.md
  8. Check prior sensitivity — Run psense_summary(idata) to verify conclusions are robust to prior choices. Visualize with plot_psense_dist(idata) from arviz_plots. Requires log_likelihood and log_prior in the InferenceData — compute them after sampling if needed. See references/sensitivity.md
  9. Compare models (if applicable) — See references/model-comparison.md
  10. Report results — See references/reporting.md. When the user asks for a report or mentions a non-technical audience, generate a standalone markdown report file (not just code comments) using the template in reporting.md. Adapt the language to the audience — if they're new to Bayesian stats, include a glossary and plain-language explanations of key concepts.

Installation

Prefer conda-forge / mamba-forge to install PyMC and its dependencies — pip can cause issues with compiled backends (nutpie, JAX). Example:

bash
mamba install -c conda-forge pymc nutpie arviz arviz-stats preliz

PyMC model template

python
import pymc as pm
import arviz as az
import numpy as np

RANDOM_SEED = sum(map(ord, "churn-logistic-v1"))
rng = np.random.default_rng(RANDOM_SEED)

# always use dimensions and coordinates in PyMC models
with pm.Model(coords=coords) as model:
    # use Data containers when working on a PyMC model
    data = pm.Data("data", df["y"].to_numpy(), dims="obs")

    # --- Priors ---
    # Always document WHY each prior was chosen
    mu = pm.Normal("mu", mu=0, sigma=10)  # Weakly informative: allows wide range

    # --- Data model ---
    pm.Normal("obs", mu=mu, sigma=1, observed=data, dims="obs")

    # --- Prior predictive check ---
    prior_pred = pm.sample_prior_predictive(random_seed=rng)

    # --- Inference ---
    idata = pm.sample(nuts_sampler="nutpie", random_seed=rng)
    idata.extend(prior_pred)

    # --- Posterior predictive check ---
    idata.extend(pm.sample_posterior_predictive(idata, random_seed=rng))

    # --- Compute log-likelihood and log-prior for sensitivity checks & LOO ---
    pm.compute_log_likelihood(idata, model=model)
    pm.compute_log_prior(idata, model=model)

    # --- Save immediately after sampling ---
    # Late crashes can destroy valid results. Save to disk before any post-processing.
    idata.to_netcdf("model_output.nc")

Critical rules

  • Always run prior predictive checks before sampling. If prior predictions span implausible ranges, fix priors first. If you have issues or doubts for some parameters, use the PreliZ package to elicit priors from the user.
  • Always check convergence before interpreting results. R-hat > 1.01 or ESS < 100 * nbr_chains means the results are unreliable.
  • Always run posterior predictive checks. A model that fits well numerically but cannot reproduce the data is useless.
  • Always run calibration checks (PIT / coverage). Use ArviZ's plot_ppc_pit for this — it handles all data types (continuous, binary, count) correctly. See references/model-criticism.md.
  • Document every prior choice with a brief justification in a code comment.
  • Never report point estimates alone. Always include credible intervals (default: 94% HDI).
  • Use arviz_stats.diagnose(idata) as the first diagnostic on every model (arviz-stats >= 1.0.0). It checks R-hat, ESS, divergences, tree depth saturation, and E-BFMI in one call. Follow up with az.plot_trace(idata, kind="rank_vlines") for visual inspection.
  • Don't hardcode number of chains. Let PyMC / nutpie choose the optimal default for the user's platform. Just call pm.sample() without specifying chains.
  • Use reproducible, descriptive seeds. Never use magic numbers like 42. Instead, derive a seed from the analysis name: RANDOM_SEED = sum(map(ord, "my-analysis-name")). Pass it to pm.sample(random_seed=rng), pm.sample_prior_predictive(random_seed=rng), and numpy via rng = np.random.default_rng(RANDOM_SEED).
  • Save InferenceData immediately after sampling with idata.to_netcdf("model_output.nc"). Late crashes or kernel restarts can destroy valid MCMC results — save before any post-processing.
  • Use ArviZ for all plots and calibration. Don't write custom plotting code when ArviZ already handles it — including for binary data, count data, and calibration. ArviZ developers have thought through edge cases so you don't have to.
  • Prefer xarray over numpy for InferenceData operations. InferenceData and DataTree objects are backed by xarray — use xarray's labeled indexing (.sel(), .mean(dim=...), etc.) instead of converting to numpy arrays. This preserves dimension labels, avoids shape bugs, and makes code more readable. Fall back to numpy only when xarray can't do what you need.
  • Always generate analysis notes alongside code. When producing a model script, also produce a companion markdown file (analysis_notes.md or similar) that interprets the results — what the diagnostics mean, what the posteriors tell us, what the calibration plots show. Code without interpretation is incomplete.
  • Always use the posterior mean (not median) for predictive probabilities. The proper Bayesian predictive distribution averages over the posterior: P(Y=k|x) = (1/S) Σ P(Y=k|x,θₛ). This is the mean, not the median. The median does not correspond to the posterior predictive distribution, can violate probability coherence (probabilities may not sum to 1), and biases calibration due to Jensen's inequality. In code: use np.mean(probs, axis=sample_axis), never np.median(...).
  • Use pm.set_data() + pm.sample_posterior_predictive() for out-of-sample predictions. Don't manually extract posterior samples and recompute predictions — let PyMC propagate uncertainty properly. Define predictors as pm.Data(...) during model building, then swap in new data:
python
# After fitting the model:
with model:
    pm.set_data({"X": X_new, "group_idx": group_idx_new})
    oos_preds = pm.sample_posterior_predictive(idata, predictions=True, random_seed=rng)
  • Check model identifiability before interpreting components. If two model components always appear together in the likelihood (e.g., a league intercept and a home advantage term when every observation is from home perspective), their individual posteriors reflect prior assumptions, not data signal — only their sum is identified. Use az.plot_pair() to check for strong posterior correlations between components. If correlation is near ±1, the components are not separately identifiable — either merge them or restructure the data.
Show full SKILL.md (531 more words)Show less

Common model families

ProblemData modelTypical priorsReference
Continuous outcomeNormal / StudentTNormal, Gamma avoiding 0 for positive-constrained parametersreferences/priors.md
Binary outcomeBernoulli or Binomial if aggregated, with logit inverse-linkNormal(0, 1.5) on coeffsreferences/priors.md
Count dataPoisson / NegBinomialGamma on rate, avoiding 0references/priors.md
Count data with excess zerosZeroInflatedPoisson / ZeroInflatedNegBinomialGamma on rate; Beta or Normal+logit on zero-inflation probreferences/priors.md
Positive count data (no zeros)Hurdle Poisson / Hurdle NegBinomialSeparate zero-gate (Bernoulli) and count (Truncated) componentsreferences/priors.md
Ordinal outcomeOrderedLogistic (cumulative link)Normal on coeffs; Normal with ordered transform on cutpointsreferences/priors.md
Censored data (survival, limits of detection)pm.Censored(dist, lower, upper)Same as uncensored, applied to underlying distributionreferences/priors.md
Truncated datapm.Truncated(dist, lower, upper)Same as underlying distributionreferences/priors.md
High-dimensional / sparse regressionNormal / StudentT with sparsity prior on coefficientsRegularized Horseshoe or R2-D2 on coeffsreferences/priors.md
Hierarchical / multilevelVariesSee partial pooling patternreferences/hierarchical.md
Time seriesstate space models / Gaussian ProcessesProblem-specificreferences/priors.md

Utility scripts

Run diagnose_model.py after sampling to get a structured convergence + diagnostics report:

bash
python scripts/diagnose_model.py --idata path/to/inference_data.nc

Run calibration_check.py to generate calibration plots:

bash
python scripts/calibration_check.py --idata path/to/inference_data.nc

See scripts/ for all available utilities.

Common gotchas

These are battle-tested lessons that save hours of debugging:

  • nutpie silently ignores idata_kwargs for log_likelihood and log_prior. Always compute them explicitly after sampling: pm.compute_log_likelihood(idata, model=model) (needed for LOO-CV) and pm.compute_log_prior(idata, model=model) (needed for prior sensitivity checks). Don't assume they're stored automatically.
  • az.plot_khat() requires the LOO object, not InferenceData. Pass the output of az.loo(idata, pointwise=True) to it.
  • Flat priors on scale parameters (HalfCauchy, HalfFlat) cause funnels in hierarchical models. Use Gamma(2, ...) or Exponential — these avoid the near-zero region that creates sampling problems. If there's no group-level variation to detect, you don't need the hierarchy.
  • Python conditionals in models (if x > 0) don't work inside PyMC. Use pm.math.switch or pytensor.tensor.where instead.
  • Forgetting to standardize predictors makes shared priors inappropriate and slows sampling. Always standardize before fitting, then back-transform for interpretation.
  • Horseshoe priors create a double-funnel geometry that standard NUTS can struggle with. Always use the regularized (Finnish) horseshoe (Piironen & Vehtari, 2017), which adds a slab component that smooths the geometry. Set target_accept=0.95 or higher. If you see divergences with a horseshoe model, this is almost certainly the cause.
  • np.median on posterior predictive probabilities is a silent bug. It does not produce the Bayesian predictive distribution and can yield probabilities that don't sum to 1 across categories. Always use np.mean over the posterior samples dimension.

When things go wrong

SymptomLikely causeFix
DivergencesPosterior geometry issueReparameterize (non-centered), increase target_accept to 0.95-0.99
Low ESSHigh autocorrelationMore tuning steps, reparameterize, reduce correlations
R-hat > 1.01Chains haven't mixedMore draws, better initialization, check for multimodality
Prior pred. looks wrongBad priorsTighten or shift priors, use domain knowledge
Post. pred. misses dataModel misspecificationAdd complexity (varying slopes, different data model, interaction terms)
log_likelihood missingnutpie doesn't auto-store itCall pm.compute_log_likelihood(idata, model=model) after sampling
Slow modelLarge Deterministics or recompilationProfile with model.profile(model.logp()), avoid large Deterministic arrays
Slow to initialize / poor warmupBad starting pointTry init="adapt_diag_grad" in pm.sample(), or run pmx.fit(method="pathfinder") first (import pymc_extras as pmx) and pass its estimates as initvals
Prior sensitivity flagPrior-data conflict or strong priorCheck psense_summary(idata) — see references/sensitivity.md. Justify or revise the flagged prior

© brycewang-stanford, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts, references) in skills/23-Learning-Bayesian-Statistics-baygent-skills/bayesian-workflow of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • README.md
  • main.py
  • pyproject.toml
  • references/diagnostics.md
  • references/hierarchical.md
  • references/model-comparison.md
  • references/model-criticism.md
  • references/priors.md
  • references/reporting.md
  • references/sensitivity.md
  • scripts/calibration_check.py
  • scripts/diagnose_model.py

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Bayesian Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bayesian Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bayesian Workflow this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~3.5kAutomated safety check: PassMIT
Statistical Analysisspacering-net/codeg3.8k3 repos~5kAutomated safety check: PassMIT
PyMC Bayesian Modelingdavila7/claude-code-templates32k12 repos~3.9kAutomated safety check: PassMIT
Progressive Estimationsickn33/agentic-awesome-skills47k2 repos~863Automated safety check: PassMIT
Bio Metabolomics Targeted AnalysisGPTomics/bioSkills1.2k1 repos~5.1kAutomated safety check: PassMIT
Bayesian Cognitive Model BuilderNeuroAIHub/BrainPilot1k—~5.6kAutomated safety check: PassAGPL-3.0

Similar skills

  • Statistical Analysis

    spacering-net/codeg

    Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting.

    3.8k GitHub starsUsed in 3 repos~5k tokens
    Data & AnalyticsAuto-check passed
  • PyMC Bayesian Modeling

    davila7/claude-code-templates

    Builds, fits, checks and compares Bayesian models in PyMC, from priors and NUTS sampling to variational inference, LOO and WAIC comparison, and diagnostics.

    32k GitHub starsUsed in 12 repos~3.9k tokens
    Data & AnalyticsAuto-check passed
  • Progressive Estimation

    sickn33/agentic-awesome-skills

    Estimate AI-assisted and hybrid human+agent development work with research-backed PERT statistics and calibration feedback loops

    47k GitHub starsUsed in 2 repos~863 tokens
    Data & AnalyticsAuto-check passed
  • Designs and validates quantitative targeted metabolomics assays (MRM/SRM on triple-quadrupole, PRM on high-resolution instruments) to report absolute concentrations.

    1.2k GitHub starsUsed in 1 repo~5.1k tokens
    Data & AnalyticsAuto-check passed
  • Domain-validated guidance for building hierarchical Bayesian cognitive models with Stan/PyMC: prior specification, model structure, MCMC diagnostics, and posterior predictive checks

    1k GitHub stars~5.6k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Statistical Analysis

    jaechang-hits/SciAgent-Skills

    Guided statistical analysis: test choice, assumption checks, effect sizes, power, APA reporting.

    370 GitHub starsUsed in 1 repo~4.8k tokens
    Data & AnalyticsAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 369 skills in this repo
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 2 days ago
    Auto-check passed
  • Latex Thesis Zh

    brycewang-stanford/Auto-Empirical-Research-Skills

    Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk).

    4.5k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Obsidian Project Memory

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill should be used when the user asks to maintain an Obsidian knowledge base for a research project, import an existing research repository into Obsidian, keep project memory or daily notes…

    4.5k GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed
  • Paper Audit

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deep-review-first audit for Chinese and English academic papers across LaTeX, Typst, and PDF formats.

    4.5k GitHub stars~3.6k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Bayesian Workflow

What does Bayesian Workflow do?

Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Bayesian Workflow is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Opinionated Bayesian modeling workflow with PyMC and ArviZ.

When should I use Bayesian Workflow?

Bayesian Workflow fits situations like: : building probabilistic/Bayesian models; prior elicitation; convergence diagnostics (divergences; model comparison (LOO-CV.

How do I install Bayesian Workflow in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill bayesian-workflow -a claude-code`. Or copy the skill folder (skills/23-Learning-Bayesian-Statistics-baygent-skills/bayesian-workflow in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/bayesian-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Bayesian Workflow in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill bayesian-workflow -a codex`. Or copy the skill folder (skills/23-Learning-Bayesian-Statistics-baygent-skills/bayesian-workflow in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/bayesian-workflow in your project. Codex loads it when a task matches its description.

Can I use Bayesian Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill bayesian-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bayesian-workflow, .gemini/skills/bayesian-workflow, .github/skills/bayesian-workflow and .opencode/skills/bayesian-workflow in your project.

What does Bayesian Workflow need to run?

Going by SKILL.md and its folder, Bayesian Workflow needs Python for the scripts in its folder and the command-line tools its instructions call (python and mamba). Our summary lists: Python 3.

Does Bayesian Workflow access the network?

SKILL.md names 1 domain. As links in the text: preliz.readthedocs.io. This is read from the text; nothing was executed.

Is Bayesian Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bayesian Workflow use?

Bayesian Workflow is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bayesian Workflow use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Bayesian Workflow?

Skills that share tags, products or a category with Bayesian Workflow: Statistical Analysis (spacering-net/codeg, 3.8k stars), PyMC Bayesian Modeling (davila7/claude-code-templates, 32k stars), Progressive Estimation (sickn33/agentic-awesome-skills, 47k stars) and Bio Metabolomics Targeted Analysis (GPTomics/bioSkills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bayesian Workflow?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,517 GitHub stars. The repository holds 369 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.