Skip to content
Back to skills

Inference Predictive

ASecurity

"Run, configure, validate, and troubleshoot PyMC inference and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
businessawsapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill inference-predictive --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inference Predictive?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Inference Predictive
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-inference-predictive/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-inference-predictive)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: inference-predictive
description: "Run, configure, validate, and troubleshoot PyMC inference and
  predictive workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# PyMC inference and predictive workflows

Use this sub-skill when the task is to run or debug PyMC posterior inference, NUTS/MCMC configuration, explicit step methods, external NUTS backends, prior or posterior predictive sampling, `pm.draw`, SMC, diagnostics, or trace/output backends.

## Runtime map

- Read [references/inference-workflows.md](references/inference-workflows.md) for MCMC/NUTS, explicit step methods, external NUTS, prior/posterior predictive sampling, `pm.draw`, SMC, and diagnostics.
- Read [references/api-reference.md](references/api-reference.md) for PyMC 6.3.0 signatures, parameter names, sampler kwargs, and output expectations.
- Read [references/backends-and-outputs.md](references/backends-and-outputs.md) for DataTree/ArviZ outputs, log-likelihood, Zarr, `mcbackend`, and legacy `MultiTrace` paths.
- Read [references/troubleshooting.md](references/troubleshooting.md) for sampling, predictive, external sampler, diagnostics, shape/coord, JAX, Zarr, or `mcbackend` failures.
- Run [scripts/inference_smoke.py](scripts/inference_smoke.py) to verify a local PyMC install with a tiny CPU model and output-group checks.

## Default stance

1. Prefer default `return_inferencedata=True` and work with DataTree groups such as `posterior`, `sample_stats`, `posterior_predictive`, `predictions`, and `log_likelihood`.
2. For reproducible local smokes, callbacks, custom traces, or mixed discrete/continuous models, pin `nuts_sampler="pymc"`.
3. With `nuts_sampler=None`, current PyMC may auto-select `nutpie` if installed and compatible. Pin the sampler explicitly when backend choice matters.
4. External NUTS (`nutpie`, `numpyro`, `blackjax`) is for all-continuous differentiable models and does not support custom `trace`, per-draw `callback`, or `return_inferencedata=False`.
5. Use `pm.sample_prior_predictive(draws=...)`, not older `samples=...`.
6. Validate real inference with divergences, tree depth, ESS, R-hat, sample size, and log-likelihood/model-comparison readiness.

Route model/data design to `../modeling-data/SKILL.md`, custom distributions/logp to `../distributions-logprob/SKILL.md`, and VI/ADVI/SVGD to `../advanced-workflows/SKILL.md`.

Files in this skill

  • SKILL.md2.3 KB
  • references/api-reference.md1.7 KB
  • references/backends-and-outputs.md736 B
  • references/inference-workflows.md1.6 KB
  • references/troubleshooting.md1.3 KB
  • scripts/inference_smoke.py5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.