think-natural-frequency-bayesian

think-natural-frequency-bayesian is a skill for Claude Code from product-on-purpose/thinking-framework-skills. It costs 80 tokens per session (1,028 once invoked), scanned A, original, Apache-2.0.

A way to solve conditional-probability questions by counting real cases in a fixed population, such as how many people test positive among 1,000 people. It keeps the base rate—the share that initially has the condition—visible when calculating the final chance.

In plain words
What is it for?
Use it to interpret medical tests, fraud or security alerts, screening results, and other signals where the question is how likely the underlying condition is after a positive result.
Why use it?
It reduces the common mistake of treating a positive test or signal as proof, especially when the condition is rare. It requires real rates and does not invent missing inputs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the thinking-framework-skills plugin — 68 skills, 10 commands, 3 agents shipped together

Good fit Use it to interpret medical tests, fraud or security alerts, screening results, and other signals where the question is how likely the underlying condition is after a positive result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/product-on-purpose/thinking-framework-skills/think-natural-frequency-bayesian
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 product-on-purpose/thinking-framework-skills --skill think-natural-frequency-bayesian
Clone the repo
git clone --depth 1 https://github.com/product-on-purpose/thinking-framework-skills

Made for: Claude Code.

Or install thinking-framework-skills, the plugin that ships this one along with the rest of its 68 skills, 10 commands, 3 agents.

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 think-natural-frequency-bayesian

README.md
[![agentmods](https://agentmods.dev/badge/skills/product-on-purpose/thinking-framework-skills/think-natural-frequency-bayesian/github.svg)](https://agentmods.dev/skills/product-on-purpose/thinking-framework-skills/think-natural-frequency-bayesian)
Your own site
<a href="https://agentmods.dev/skills/product-on-purpose/thinking-framework-skills/think-natural-frequency-bayesian"><img src="https://agentmods.dev/badge/skills/product-on-purpose/thinking-framework-skills/think-natural-frequency-bayesian/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 think-natural-frequency-bayesian

Your own site · 80×15
<a href="https://agentmods.dev/skills/product-on-purpose/thinking-framework-skills/think-natural-frequency-bayesian"><img src="https://agentmods.dev/badge/skills/product-on-purpose/thinking-framework-skills/think-natural-frequency-bayesian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,028 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.00080 $0.01028
Opus 5.5 $0.00032 $0.00411
Sonnet 5.5 $0.00016 $0.00206
Haiku 4.5 $0.00008 $0.00103

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

Security

Grade A, and why

think-natural-frequency-bayesian 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.

skills/think-natural-frequency-bayesian/SKILL.md · 63 lines

How it starts

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

Natural-Frequency Bayesian Framing

People - including experts - reason badly about conditional probabilities stated as percentages, because they neglect the base rate. Re-expressing the same facts as natural frequencies over a concrete population makes the correct answer nearly visible: "Out of 1,000, 10 have it; 9 of those test positive; of the 990 without it, ~89 also test positive; so of ~98 positives, only 9 truly have it - about 9%." The format does the work by keeping the base rate in the counts. The output is a natural-frequency breakdown. Honest constraint: the base rate and hit rates must be real - the format makes correct reasoning tractable, it does not invent the inputs.

When to Use

  • Interpreting a test or screening result (medical, fraud, security, lead-scoring, A/B).
  • Any "given a positive signal, what is the actual probability the thing is true?" question.
  • Communicating risk to others so they do not over-read a positive.

When NOT to Use

  • When you do not have real input rates and would have to invent them.
  • When there is no conditional-probability structure to the question.
  • For general project forecasting (use reference-class forecasting).
  • When a single point estimate is wanted and the base-rate structure is irrelevant.

Instructions

When asked to reason about a conditional probability, follow these steps:

  1. State the question precisely. What posterior is being asked - usually P(condition | positive signal). Distinguish it from P(positive | condition), which people confuse it with.
  2. Gather the real inputs. The base rate, the true-positive (hit) rate, and the false-positive rate. If any is unknown, say so and stop or clearly flag the estimate as illustrative - do not fabricate numbers.
  3. Build a frequency tree over a concrete population. Pick a round number (e.g., 1,000). Work out: how many have the condition; of those, how many test positive; of those without, how many also test positive.
  4. Compute the posterior as true positives / all positives, and state it plainly.
  5. Name the wrong intuition it corrects. State the answer most people give (usually near the hit rate) and why it is wrong (base-rate neglect).
  6. Emit the natural-frequency breakdown per references/TEMPLATE.md.

Read the full file on GitHub · 63 lines

Files

What ships with it

7 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 1b6bbeaa7d5b
  2. 1mo ago Changed f406e6384e09
  3. 3mo ago First seen · 63 lines · 80 tokens per session scan A 3888bee66271

Subscribe to this mod's changes

think-natural-frequency-bayesian is a skill published in the GitHub repository product-on-purpose/thinking-framework-skills (29 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 1,028 once invoked, about $0.0003 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-30.

Related

think-natural-frequency-bayesian compared with skills from other repositories

think-natural-frequency-bayesian next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
think-natural-frequency-bayesianproduct-on-purpose/thinking-framework-skillsSkill29todayApache-2.0A80Claude Code
dsm5magnus919/agent-skillsSkill199yesterdayMITA106Claude Code, Codex
assess-holistic-healthpjt222/agent-almanacSkill462d agoMITA113Claude Code
construct-geometric-figurepjt222/agent-almanacSkill462d agoMITA92Claude Code
derive-theoretical-resultpjt222/agent-almanacSkill462d agoMITA86Claude Code
analyze-prime-numberspjt222/agent-almanacSkill462d agoMITA91Claude Code
audio-math-explainerkunitoki/sonic-skillsSkill266mo agoUnlicenseA121Claude Code, Codex