yao-bayesian-skill
Yao Bayesian Skill
Use This Skill For
- structure a vague choice into hypothesis, time horizon, success metric, and actions
- set a prior, grade evidence, update posterior, compare action thresholds, and recommend next information
- start from incomplete input with a weak prior, then improve the judgment through multi-turn questioning
- export one synchronized Chinese-first
markdownplus bilingualhtmlreport
Do Not Route Here
- Bayes theorem tutoring or homework-only calculations
- broad research or brainstorming with no explicit decision report
- final professional medical, legal, or investment advice
Default Workflow
- Use
references/intake-contract.mdto convert the request into one structured decision brief. - If input is incomplete, read
references/multi-turn-dialogue-loop.md; start with a weak prior and ask the minimum next questions. - Use
references/evidence-prior-playbook.mdto grade evidence and choose the lightest valid update path. - Run
references/prior-hygiene-checklist.md; show only the 3-5 principles most relevant to this case. - Maintain the round log: user input, remaining gap, update path, probability change, and decision readiness.
- Run
scripts/bayesian_decision_report.pyfor canonical JSON orscripts/generate_report_bundle.pyformarkdown + html. - Finalize with
references/decision-report-contract.md,references/report-export-pipeline.md, andreferences/sensitivity-and-safety.md.
Iteration And Implementation Constraints
When extending this skill: state assumptions before coding, keep the smallest valid workflow, touch only files required by the request, and define user-visible success checks before editing. Typical checks: incomplete input yields a weak prior plus follow-up questions; each round is logged; the report explains belief changes; HTML/Markdown still render the intended guidance.
Output Contract
- Produce a decision report, not a formula dump; mark numbers as observed, estimated, or assumed.
- Put the plain-language conclusion and action recommendation before technical sections.
- Include weak evidence, dependence risk, sensitivity, prior-hygiene checks, and high-risk disclaimers when relevant.
- For multi-turn use, log prior, posterior, readiness, gaps, and formula/update path for each round.
- Reports default to Simplified Chinese; HTML also supports Chinese/English switching, sticky navigation, collapsible advanced sections, and top-right
Print/Save as PDF. - Printing or saving HTML as PDF should expand folded sections first.
Reference Map
references/intake-contract.md: request-to-brief conversionreferences/multi-turn-dialogue-loop.md: incomplete-input handling and iterative questioningreferences/evidence-prior-playbook.md: evidence tiers, priors, update-path selectionreferences/prior-hygiene-checklist.md: default judgment priors for checking priors, evidence, and action intensityreferences/decision-report-contract.md: required report sections and schema alignmentreferences/report-export-pipeline.md: automatic HTML/Markdown generation and bilingual HTML rulesreferences/sensitivity-and-safety.md: sensitivity analysis and high-risk disclaimersscripts/bayesian_decision_report.py: canonical V0/V1 calculationscripts/generate_report_bundle.py: Chinese-first Markdown plus bilingual HTML
More from yaojingang/yao-open-skills
yao-tutorial-skill
Create standalone beginner tutorial packages from a topic or supplied references, with adaptive research, course-style outline design, chapter visuals, and Markdown/DOCX/PDF/HTML exports. Use for textbook-like tutorials, course guides, teaching documents, or long beginner guides; not for quick answers, link summaries, pure diagrams, or file conversion.
38learning-builder
Create personalized learning tutorials from a learner profile and authority-first research. Use when the user wants a guided intake to clarify goals, background, constraints, and desired outcomes, then wants a structured tutorial or study guide assembled from official docs, standards, maintainer docs, regulator guidance, or other primary sources. Also use when the user wants the tutorial exported to Word or PDF, or wants to extend the finished tutorial into a personalized learning webpage. Do not use for one-off factual answers, generic blog writing, broad web research without a tutorial deliverable, or standalone webpage design with no learning packet.
5yao-kelly-skill
Turn uncertain resource-allocation requests into practical action plans using Kelly sizing as a conservative allocation engine. Use when a user needs to decide whether an opportunity is suitable for Kelly, what minimum action package to run, how much resource to cap, when to add or stop, and how to review results. Do not use for pure formula tutoring, guaranteed-return claims, martingale escalation, or final licensed investment, legal, or tax advice.
4skill-doctor
Scan local skill folders to inventory purpose, usage signals, cleanup priority, and safety risks, then generate a visual HTML audit report. Use when Codex needs to audit a skill library, organize or deduplicate skills, recommend backup, archive, or delete actions, or review downloaded third-party skills for prompt injection, token leakage, hardcoded secrets, risky shell execution, and suspicious network-fetch patterns before the user installs or runs them.
4yao-business-skill
Design, diagnose, and study business models from ideas, product websites, or company names. Use when asked to create options for a new idea, audit an existing product's monetization and competitors, or analyze a mature company's model and AI-era upgrade paths. Adjust for market, buyer, and operating environment, then output JSON plus HTML.
4yao-open-skills-sync
Manage the yao-open-skills public collection. Use this skill whenever the user wants to evaluate whether a local skill should be open sourced, import a local skill into the yao-open-skills repository, register which skills are already public, track GitHub sync status, or update the collection README and catalog after adding or refreshing a skill.
4