Token导航 LogoToken导航TokenDH.com
开发只读clawhub未标认证来源可访问clear审计通过

bayesian-thinking贝叶斯思维

Agent Skill

bayesian-thinking 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,649

周安装

435

GitHub Stars

1

下载量

3,445
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bayesian-thinking(贝叶斯思维)
来源仓库:https://github.com/wanikua/bayesian-thinking
安装命令:
openclaw skills install bayesian-thinking
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install bayesian-thinking

简介

用于基于新证据系统更新信念,支持概率评估和假设权衡。

  • 适合需要量化不确定性或比较多个可能性的开发任务。
  • 通过 clawhub 安装后在 OpenClaw 中调用,输入数据获取贝叶斯推理结果。
  • 需确认输入数据的准确性和时效性,避免错误推断影响决策。
  • 注意权限管理,防止未经授权的数据处理或模型调用。

SKILL.md

name
bayesian-thinking
description
Apply Bayesian thinking to update beliefs systematically based on new evidence. Use when the user needs to assess probabilities, weigh competing hypotheses, avoid base rate neglect, or make decisions under uncertainty with explicit prior-to-posterior reasoning.

Bayesian Thinking

Bayesian thinking is the practice of updating beliefs systematically in light of new evidence, using the framework of Bayes' theorem. Instead of treating beliefs as binary (true/false), you assign probabilities and adjust them as evidence accumulates. It captures how rational agents *should* learn: start with a prior belief, encounter evidence, and compute a posterior belief. It's the antidote to both stubbornness (ignoring evidence) and fickleness (overreacting to every data point).


Analyze the current topic or problem under discussion using Bayesian thinking. Be explicit about priors, evidence, and updates. Apply this framework to whatever the user is currently working on or asking about.


Step 1: Define the Hypotheses

  • What are the competing hypotheses or possible explanations?

- H₁: [Primary hypothesis] - H₂: [Alternative hypothesis] - H₃: [Another alternative] - H_null: [Nothing special is happening / base rate explanation]

  • Are these hypotheses mutually exclusive and collectively exhaustive (MECE)? If not, acknowledge the gap.
  • Avoid the trap of only considering one hypothesis — always have at least one alternative.

Step 2: Establish Prior Probabilities

*Before looking at the specific evidence, what should we believe?*

  • Base rate: How common is each hypothesis in general? What does the reference class suggest?

- Example: "Before any symptoms, the base rate of disease X in this population is 1%."

  • Prior knowledge: What do we already know from past experience, expert opinion, or established science?
  • Assign rough prior probabilities:

- P(H₁) = ? - P(H₂) = ? - P(H₃) = ?

  • Explain your reasoning for each prior. Be honest about uncertainty — a wide prior is better than a falsely precise one.
  • Watch for base rate neglect: the most common Bayesian sin is ignoring how rare or common something is *before* considering the evidence.

Step 3: Evaluate the Evidence

*Now look at the specific evidence available.*

For each key piece of evidence (E):

  • Likelihood ratio: How much more (or less) likely is this evidence under each hypothesis?

- P(E | H₁) = ? — If H₁ is true, how likely would we see this evidence? - P(E | H₂) = ? — If H₂ is true, how likely would we see this evidence? - The likelihood ratio = P(E|H₁) / P(E|H₂) tells you the diagnostic value of the evidence

  • Strong evidence: Likelihood ratio > 10 (or < 0.1) — this evidence strongly discriminates
  • Weak evidence: Likelihood ratio near 1 — this evidence barely helps distinguish hypotheses
  • Quality of evidence: Is this evidence reliable? Could it be fabricated, biased, or misinterpreted?

Step 4: Update — Compute Posterior Probabilities

*Apply Bayes' theorem (conceptually or numerically):*

P(H|E) = P(E|H) × P(H) / P(E)

  • For each hypothesis, multiply prior × likelihood and normalize.
  • If doing this informally, state the direction and magnitude of the update:

- "This evidence moderately increases my confidence in H₁ (from ~30% to ~60%)" - "This evidence barely moves the needle on H₂"

  • Multiple pieces of evidence: Update sequentially — each posterior becomes the next prior.
  • Show your work: Even rough numbers make reasoning transparent and debuggable.

Step 5: Check for Common Bayesian Errors

  • Base rate neglect: Did you properly account for how rare/common the hypothesis is before evidence?

- Classic example: A 99%-accurate test for a 1%-prevalence disease still yields ~50% false positives.

  • Confirmation bias: Are you only counting evidence that supports your preferred hypothesis?
  • Anchoring: Is your prior too strongly anchored on one piece of information?
  • Neglecting alternative hypotheses: Does the evidence also fit other explanations you haven't considered?
  • Treating dependent evidence as independent: Are the pieces of evidence truly independent, or do they share a common source?

Step 6: Decision Under Uncertainty

*Given posterior probabilities, what action should we take?*

  • What is the expected value of each possible action?

- For each action × hypothesis combination: probability × outcome value

  • Where is the value of information highest?

- What additional evidence would most change the posterior? Seek that evidence next.

  • Should we decide now or gather more evidence?

- What is the cost of waiting vs. the cost of being wrong?

  • What probability threshold would trigger a different decision?

Step 7: Summarize

  • State your final posterior probabilities for each hypothesis.
  • Identify the key evidence that most influenced the update.
  • Describe what future evidence would make you update significantly in either direction.
  • Be explicit about your remaining uncertainty — a confident Bayesian knows what they don't know.

The essence of Bayesian thinking: Strong priors require strong evidence to move. Weak priors move easily. And evidence that is equally consistent with multiple hypotheses is not very informative, no matter how dramatic it seems.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.7%
按下载量换算3,262

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills