Skills for Real Engineers. Straight from my .agents directory.
yao-bayesian-skill
Agent skill fromyaojingang/yao-open-skills
Convert uncertain real-world choices into an auditable Bayesian evidence-to-action report with priors, evidence grading, posterior update, action thresholds, sensitivity checks, multi-turn decision logs, and Markdown plus bilingual HTML output. Do not use for Bayes theorem tutoring, homework, generic brainstorming with no report, or final licensed medical, legal, or financial advice.
How to install yao-bayesian-skill
npx skills add yaojingang/yao-open-skills# or add only this skill to Claude Code: copy the folder
skills/yao-bayesian-skill/
# into
~/.claude/skills/yao-bayesian-skill/ (all projects)
.claude/skills/yao-bayesian-skill/ (one project)
1# Yao Bayesian Skill23## Use This Skill For45- structure a vague choice into hypothesis, time horizon, success metric, and actions6- set a prior, grade evidence, update posterior, compare action thresholds, and recommend next information7- start from incomplete input with a weak prior, then improve the judgment through multi-turn questioning8- export one synchronized Chinese-first `markdown` plus bilingual `html` report910## Do Not Route Here1112- Bayes theorem tutoring or homework-only calculations13- broad research or brainstorming with no explicit decision report14- final professional medical, legal, or investment advice1516## Default Workflow17181. Use `references/intake-contract.md` to convert the request into one structured decision brief.192. If input is incomplete, read `references/multi-turn-dialogue-loop.md`; start with a weak prior and ask the minimum next questions.203. Use `references/evidence-prior-playbook.md` to grade evidence and choose the lightest valid update path.214. Run `references/prior-hygiene-checklist.md`; show only the 3-5 principles most relevant to this case.225. Maintain the round log: user input, remaining gap, update path, probability change, and decision readiness.236. Run `scripts/bayesian_decision_report.py` for canonical JSON or `scripts/generate_report_bundle.py` for `markdown + html`.247. Finalize with `references/decision-report-contract.md`, `references/report-export-pipeline.md`, and `references/sensitivity-and-safety.md`.25…
Excerpt shown under the repository's MIT license.
More skills in yao-open-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
