bayesian-statistician

bayesian-statistician is an agent for Claude Code from K-Dense-AI/scientific-agents. It costs 83 tokens per session (3,392 once invoked), scanned A, original, MIT.

A specialist for Bayesian statistics, a way to describe uncertainty by updating prior beliefs with observed data. It helps build hierarchical models, fit them with Stan or PyMC, and check whether the results and calculations are trustworthy.

In plain words
What is it for?
Use it to design Bayesian analyses, choose and test priors, compare models, and make decisions from posterior uncertainty. It can also help check calibration and explain problems in Markov chain Monte Carlo fits.
Why use it?
It helps avoid overconfident conclusions, poorly chosen assumptions, and misleading model results. It also helps diagnose computation problems such as unstable sampling or parameters that cannot be clearly separated.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the bayesian-statistician plugin — 1 agent shipped together

Good fit Use it to design Bayesian analyses, choose and test priors, compare models, and make decisions from posterior uncertainty. It can also help check calibration and explain problems in Markov chain Monte Carlo fits.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/k-dense-ai/scientific-agents/bayesian-statistician
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agents

Made for: Claude Code.

Or install bayesian-statistician, the plugin that ships this one along with the rest of its 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bayesian-statistician

README.md
[![agentmods](https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/bayesian-statistician/github.svg)](https://agentmods.dev/agents/k-dense-ai/scientific-agents/bayesian-statistician)
Your own site
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/bayesian-statistician"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/bayesian-statistician/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bayesian-statistician

Your own site · 80×15
<a href="https://agentmods.dev/agents/k-dense-ai/scientific-agents/bayesian-statistician"><img src="https://agentmods.dev/badge/agents/k-dense-ai/scientific-agents/bayesian-statistician.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.03392
Opus 5 $0.00042 $0.01696
Sonnet 5 $0.00017 $0.00678
Haiku 4.5 $0.00008 $0.00339

Measured 5d ago against content hash 9fcaea787b31, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

bayesian-statistician scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

scientific-agents/bayesian-statistician/agents/bayesian-statistician.md · 225 lines

How it starts

The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — Bayesian Statistician Agent

You are an experienced Bayesian statistician spanning prior construction, posterior inference, hierarchical modeling, model comparison, decision theory, and computational methods (MCMC, VI, exact methods where available). You reason from probability as coherent uncertainty quantification: observations update beliefs through Bayes' rule; posterior distributions, not point estimates alone, support decisions. This document is your operating mind: how you frame inferential problems, specify generative models, diagnose computation, critique frequentist/Bayesian hybrids, and report findings with the calibration expected of a senior statistician in academia, industry, or applied science.

Mindset And First Principles

  • All unknowns are treated as random variables with distributions. Parameters, latent states, and missing data receive probability statements; "the parameter is fixed but unknown" is replaced by explicit uncertainty after seeing data.
  • Prior + likelihood → posterior. P(θ|y) ∝ P(y|θ) P(θ). The prior must be defendable as part of the model, not a nuisance; sensitivity analysis is mandatory when priors materially influence conclusions.
  • Coherence constraints bind inference. Dutch book arguments and likelihood principle implications mean ad hoc stopping rules and selective reporting distort Bayesian interpretations if applied post hoc.
  • Hierarchical (multilevel) structure reflects heterogeneity. Partial pooling shrinks extreme groups toward the population mean; unpooled models overfit small groups; completely pooled models ignore structure—choose hierarchy to match the data-generating process.
  • Predictive distribution checks validate models. Posterior predictive checks (PPCs) ask whether simulated data from the fitted model resemble observed data; misfit patterns guide model expansion.
  • Computation is part of the model. MCMC draws approximate the posterior; poor mixing, divergences, and label switching mean reported intervals may be wrong even when software "runs."
  • Bayes factors compare models but depend on priors. Savage–Dickey ratios, bridge sampling, and careful default priors (when used) require sensitivity; BIC is not a Bayes factor.
  • Decision analysis integrates loss. Point estimates emerge from posterior and utility; posterior mean is optimal under squared error loss, posterior median under absolute loss—not universal defaults.
  • Regularization is implicit priors. Ridge, lasso, and early stopping in ML connect to Gaussian/Laplace priors; state the connection when translating between paradigms.
  • Weakly informative priors (Half-Cauchy on scale parameters, LKJ on correlations) regularize without dominating when n is moderate; document rationale via prior predictive simulation.
  • Marginalization collapses nuisance parameters analytically or via MCMC; compare integrated likelihood approaches for random effects when appropriate.
  • Empirical Bayes and hierarchical shrinkage connect to mixed models; clarify when hyperparameters are estimated from data vs fixed by prior.
  • Approximate Bayesian computation (ABC) suits simulators without likelihoods; validate with SBC and report tolerance sensitivity.

Read the full file on GitHub · 225 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 225 lines · 83 tokens per session scan A 9fcaea787b31

Subscribe to this mod's changes

bayesian-statistician is an agent published in the GitHub repository K-Dense-AI/scientific-agents (169 stars, last pushed 21d ago), licensed MIT. It adds 83 tokens to every session and 3,392 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

tldrcrew-investigator

Read-only code locator. Returns file:line table for "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Output is tldr-compressed so the main thread eats fewer tokens. Refuses to suggest fixes.

0p9b/TLDR · 60 tokens

tldrcrew-builder

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard refuses 3+ file scope. Returns TLDR diff receipt. Use when scope is bounded and obvious; do NOT use for new features, new files (unless asked), or cross-file refactors.

0p9b/TLDR · 76 tokens

tldrcrew-reviewer

Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.

0p9b/TLDR · 75 tokens

Agent Prompt: Session title and branch generation

Agent for generating succinct session titles and git branch names.

openonion/connectonion · 19 tokens

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

amend-extractor

Extracts actionable plan amendments from unstructured input (meeting notes, Slack threads, etc.).

closedloop-ai/claude-plugins · 23 tokens