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 (954 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, 1 agent 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, 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 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 954 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.00954
Opus 5 $0.00040 $0.00477
Sonnet 5 $0.00016 $0.00191
Haiku 4.5 $0.00008 $0.00095

Measured 11d ago against content hash 3888bee66271, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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

6 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. 11d 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 (15 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 954 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-08-30.

Related

Other skills, from other repositories

assess-holistic-health

Conduct temperament-based health assessment from Hildegard von Bingen's Causae et Curae. Evaluates the four temperaments (sanguine, choleric, melancholic, phlegmatic), elemental correspondences (air, fire, earth, water), and provides dietary and lifestyle recommendations for rebalancing. Use when understanding…

pjt222/agent-almanac · 113 tokens

analyze-prime-numbers

Analyze prime numbers using primality tests, factorization algorithms, prime distribution analysis, and sieve methods. Covers trial division, Miller-Rabin, Sieve of Eratosthenes, and the Prime Number Theorem. Use when determining whether an integer is prime or composite, finding prime factorizations, counting or…

pjt222/agent-almanac · 91 tokens

construct-geometric-figure

Perform a ruler-and-compass construction with step-by-step justification for each operation, producing a constructible geometric figure from given elements. Covers classical Euclidean constructions including perpendicular bisectors, angle bisectors, parallel lines, regular polygons, and tangent lines. Use when given…

pjt222/agent-almanac · 92 tokens

derive-theoretical-result

Derive a theoretical result step-by-step from first principles or established theorems, with every step explicitly justified and special cases checked. Use when deriving a formula or theorem from first principles, proving a mathematical statement by logical deduction, re-deriving a textbook result for verification or…

pjt222/agent-almanac · 86 tokens

dsm5

Assess and explain questions about mental health and neurocognitive conditions against DSM-5-TR diagnostic criteria, and guide evidence-based conversations for clinicians, patients, and family members. Use when someone asks about symptoms, possible conditions, differential diagnoses, diagnostic criteria, prevalence…

magnus919/agent-skills · 106 tokens

audio-math-explainer

Explains DSP math concepts to developers who need the theory behind an algorithm. Use whenever the user asks how a signal-processing concept works, wants intuition behind a formula, or hits a math-shaped bug. Trigger on phrases like "how does a Fourier transform work", "explain z-transforms", "what is convolution"…

kunitoki/sonic-skills · 121 tokens