bayesian-reasoning

bayesian-reasoning is a skill for Claude Code, Codex from deciqAI/knowledge-skills. It costs 145 tokens per session (1,989 once invoked), scanned A, original, MIT.

A method for updating a belief when new evidence appears. Bayesian reasoning combines what was likely beforehand with how strongly the evidence supports one explanation over alternatives.

In plain words
What is it for?
Interpreting medical tests, security alerts, fraud warnings, hiring signals, experiments, benchmarks, and other decisions involving uncertain evidence.
Why use it?
People often mistake evidence that fits a claim for proof of it, ignore how rare the claim was initially, or count related clues as independent. This method keeps those factors visible.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Interpreting medical tests, security alerts, fraud warnings, hiring signals, experiments, benchmarks, and other decisions involving uncertain evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deciqai/knowledge-skills/bayesian-reasoning
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.

Any agent
npx skills add deciqAI/knowledge-skills --skill bayesian-reasoning
Clone the repo
git clone --depth 1 https://github.com/deciqAI/knowledge-skills

Made for: Claude Code, Codex.

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-reasoning

README.md
[![agentmods](https://agentmods.dev/badge/skills/deciqai/knowledge-skills/bayesian-reasoning/github.svg)](https://agentmods.dev/skills/deciqai/knowledge-skills/bayesian-reasoning)
Your own site
<a href="https://agentmods.dev/skills/deciqai/knowledge-skills/bayesian-reasoning"><img src="https://agentmods.dev/badge/skills/deciqai/knowledge-skills/bayesian-reasoning/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-reasoning

Your own site · 80×15
<a href="https://agentmods.dev/skills/deciqai/knowledge-skills/bayesian-reasoning"><img src="https://agentmods.dev/badge/skills/deciqai/knowledge-skills/bayesian-reasoning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,989 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 22
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00145 $0.01989
Opus 5.5 $0.00058 $0.00796
Sonnet 5.5 $0.00029 $0.00398
Haiku 4.5 $0.00015 $0.00199

Measured 1mo ago against content hash c7bd9cd8213d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bayesian-reasoning 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 1mo 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.

bayesian-reasoning/SKILL.md · 125 lines

How it starts

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

Bayesian Reasoning

Overview

Bayes' theorem: Posterior odds = Prior odds × Likelihood ratio. The strength of belief after evidence equals the strength before, multiplied by how diagnostic the evidence is.

This skill applies Bayesian discipline where people reason about probabilities informally — and failures follow predictable patterns: ignoring the base rate (prior), confusing P(E|H) with P(H|E) (prosecutor's fallacy), over-updating on vivid confirming evidence, treating correlated evidence as independent.

Composes with probabilistic-thinking (Bayes is the operational engine), critical-thinking (formalizes considering alternatives), logical-fallacies (prosecutor's fallacy and base-rate neglect), and first-principles (the prior is bedrock).

When to Use

  • High-stakes decision rests on interpreting evidence (medical test, security alert, fraud flag, hiring signal, A/B result)
  • "Evidence is consistent with X" is being treated as proof of X
  • Base rates ignored — a rare event treated as probable because evidence "looks like" it
  • Correlated evidence pieces treated as independent updates
  • A benchmark score, AI-capability claim, AI-adoption stat, or AI-capex/valuation figure is being treated as proof without asking how often that signal appears when the underlying claim is false
  • Someone says "Bayesian," "prior," "posterior," "base rate," "likelihood ratio," "update"

Not when: genuinely deterministic; no data to anchor a prior; cost of formal update exceeds the value of being more right.

Coaching Novices (Adaptive Front Door)

In Coach mode, respond one step at a time. Each [WAIT] is a hard stop — output that step's question and nothing more.

  1. One-line: before believing what the evidence says, ask how common this situation is to start with (prior) and how often evidence would look this way even if the hypothesis is wrong.
  2. Check fit. Deterministic problems / no prior anchor → not this lens.
  3. Elicit the real claim and the evidence. What exactly are you deciding, and what evidence do you have?

Read the full file on GitHub · 125 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed c7bd9cd8213d
  2. 3mo ago First seen · 125 lines · 145 tokens per session scan A 031a1e1a4f90

Subscribe to this mod's changes

bayesian-reasoning is a skill published in the GitHub repository deciqAI/knowledge-skills (17 stars, last pushed 1mo ago), licensed MIT. It adds 145 tokens to every session and 1,989 once invoked, about $0.0006 per session on Opus 5.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-08-31.

Related

bayesian-reasoning compared with skills from other repositories

bayesian-reasoning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bayesian-reasoningdeciqAI/knowledge-skillsSkill171mo agoMITA145Claude Code, Codex
ai-adoption-leadalebgl77/claude-incSkill2318d agoMITA72Claude Code
voice-builderalebgl77/claude-incSkill2318d agoMITA110Claude Code
read-togetherBackToCimaCoppi/PraxisSkill627d agoApache-2.0A89Codex
english-swe-dailywquguru/skillsSkill941mo agononeA168Claude Code, Codex
agent-teacherJackyYang258/agent-teacherSkill56mo agoMITA151Claude Code, Codex
lecture-notesChristinaAndrinopoyloy/claude-skillsSkill16mo agoMITA125Claude Code