Skip to content
Agentmart
Submit a tool

yao-bayesian-skill

Convert uncertain real-world choices into an auditable Bayesian evidence-to-action report with priors, evidence grading, posterior update, action thresholds…

Skill by yaojingang

IndexedMIT★ 1,324
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yaojingang-yao-bayesian-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: documents, frontend, finance, legal

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/yao-bayesian-skill

What's inside

Skill name
yao-bayesian-skill
Description
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.
License
MIT
Instructions
51 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (37)

  • SKILL.md
  • interface.yaml · agents/
  • semantic_config.json · evals/
  • trigger_cases.json · evals/
  • bayesian_decision_request.template.json · input/
  • detailed_growth_case.json · input/
  • geo_overseas_service_case.json · input/
  • sanya_travel_case.json · input/
  • sanya_travel_real_case.json · input/
  • manifest.json
  • decision-report-contract.md · references/
  • evidence-prior-playbook.md · references/
  • intake-contract.md · references/
  • multi-turn-dialogue-loop.md · references/
  • prior-hygiene-checklist.md · references/
  • report-export-pipeline.md · references/
  • sensitivity-and-safety.md · references/
  • README.md · reports/
  • detailed-growth-case.html · reports/
  • detailed-growth-case.md · reports/
  • detailed-growth-case.pdf · reports/
  • example-decision-report.html · reports/
  • example-decision-report.md · reports/
  • example-decision-report.pdf · reports/
  • geo-overseas-service-case.html · reports/
  • geo-overseas-service-case.md · reports/
  • geo-overseas-service-case.pdf · reports/
  • sanya-travel-case.html · reports/
  • sanya-travel-case.md · reports/
  • sanya-travel-case.pdf · reports/
  • sanya-travel-real-report.html · reports/
  • sanya-travel-real-report.md · reports/
  • sanya-travel-real-report.pdf · reports/
  • bayesian_decision_report.py · scripts/
  • generate_report_bundle.py · scripts/
  • report-theme.css · templates/
  • report.schema.json · templates/

SKILL.md (first lines)

# 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 `markdown` plus bilingual `html` report

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

1. Use `references/intake-contract.md` to convert the request into one structured decision brief.
2. If input is incomplete, read `references/multi-turn-dialogue-loop.md`; start with a weak prior and ask the minimum next questions.
3. Use `references/evidence-prior-playbook.md` to grade evidence and choose the lightest valid update path.
4. Run `references/prior-hygiene-checklist.md`; show only the 3-5 principles most relevant to this case.
5. Maintain the round log: user input, remaining gap, update path, probability change, and decision readiness.
6. Run `scripts/bayesian_decision_report.py` for canonical JSON or `scripts/generate_report_bundle.py` for `markdown + html`.
7. Finalize with `references/decision-report-contract.md`, `references/report-export-pipeline.md`, and `references/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 conversion
- `references/multi-turn-dialogue-loop.md`: incomplete-input handling and iterative questioning
- `references/evidence-prior-playbook.md`: evidence tiers, priors, update-path selection
- `references/prior-hygiene-checklist.md`: default judgment priors for checking priors, evidence, and action intensity
- `references/decision-report-contract.md`: required report sections and schema alignment
- `references/report-export-pipeline.md`: automatic HTML/Markdown generation and bilingual HTML rules
- `references/sensitivity-and-safety.md`: sensitivity analysis and high-risk disclaimers
- `scripts/bayesian_decision_report.py`: canonical V0/V1 calculation
- `scripts/generate_report_bundle.py`: Chinese-first Markdown plus bilingual HTML

From yaojingang/yao-open-skills, MIT.

More from yaojingang/yao-open-skills

Signals

Stars
1,324
Forks
144
Open issues
0
Last commit (this folder)
Apr 26, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yaojingang

Cite this page

yao-bayesian-skill. Agent Mart. https://agentmart.dev/skills/yaojingang-yao-bayesian-skill (last updated 2026-10-24)