Agent skill

Bayes

by fainshare in fainshare/Liam-Skills

Verify(验证·太虚三转·叩实): decompose conclusion → testable predictions → external data validation.

No licenceAuto-check passedAgent Workflows

Install Bayes

skills CLI
$ npx skills add fainshare/Liam-Skills --skill bayes -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fainshare/Liam-Skills bayes --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fainshare/Liam-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bayes .claude/skills/bayes && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bayes
GitHub stars
113
Token cost
~1.1k tokens
SKILL.md length
137 words
Files
24 (incl. scripts, references)
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Verify(验证·太虚三转·叩实): decompose conclusion → testable predictions → external data validation.

  • Works in 4 steps: 拆预测(Phase 1)—… → 硬验证(B1)— 调 API 查数据 / 跑 shell… → 软验证(B2)— 让 Claude 和 Qwen… → …
  • Agent Workflows work in your project
  • SKILL.md covers 概述, 工作流概览(v4.0), 用之前说几句实话 and 执行方式, plus 3 more sections

What it does

Bayes is an agent skill from fainshare/Liam-Skills. Verify(验证·太虚三转·叩实): decompose conclusion → testable predictions → external data validation. Use when user says "验证", "贝叶斯", "bayes", "靠谱吗", "深挖", "/bayes".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 27 other files, including scripts and reference files (for example `DESIGN.md`, `agents/interface.yaml` and `agents/prompts/decide.md`).

It sits in Agent Workflows.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/bayes”
  • “/bayes”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 拆预测(Phase 1)— 把笼统结论拆成具体的、可查证的方向性预测。每个核心断言必须同时拆出两个方向:证伪预测(falsification_prediction)和零假设预测(null_hypothesis_prediction)。
  2. 硬验证(B1)— 调 API 查数据 / 跑 shell 命令查代码,用代码判断预测是否成立。
  3. 软验证(B2)— 让 Claude 和 Qwen 各自独立解读原始资料/代码,看是否一致
  4. 找盲区(汇总)— 预测和实际不一致的地方 = 你的认知盲区

What it can do on your machine

Read from SKILL.md and the folder at commit 931ecc9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bayes loads about 1.1k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 40 tokens; SKILL.md has 137 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~14k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 137 words (~1,058 tokens).

name
bayes
display_name
太虚三转 · 叩实(贝叶斯)
version
4.6.0
visibility
public
last_updated
2026-07-19
kind
composed
metadata.author
Antifragile Research Team
metadata.origin
v3.4 三视角诊断 + depth-engine-principles v1.2 定稿 + spike 验证,2026-06-06
metadata.risk
medium
metadata.capabilities
filesystem-write, network
composition.execution
scripts/workflow.js

Read the full SKILL.md on GitHub

Files

SKILL.md and 23 other files (scripts, references) in skills/bayes of fainshare/Liam-Skills.

  • SKILL.md
  • DESIGN.md
  • agents/interface.yaml
  • agents/prompts/decide.md
  • agents/prompts/direction-meta.md
  • agents/prompts/formalize.md
  • agents/prompts/ground.md
  • agents/prompts/report.md
  • agents/prompts/reviewer-bias.md
  • evals/dev-cases.json
  • manifest.json
  • references/b2-web-search-fallback.md
  • references/bias-checklist.md
  • references/decision-tables.md
  • references/depth-engine-principles.md
  • references/lens-bayes.md
  • references/theoretical-foundations.md
  • … and 7 more

Open the folder on GitHubat commit 931ecc9

Compare with similar skills

Bayes next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bayes compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bayes this skillfainshare/Liam-Skills113—~1.1kAutomated safety check: PassNone
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from fainshare/Liam-Skills

All 8 skills in this repo
  • Hegel

    fainshare/Liam-Skills

    迭代收敛(太虚二转·澄源):链式分析自动循环至稳定。触发词: 收敛, 黑格尔, hegel. An agent skill from fainshare/Liam-Skills.

    113 GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Feynman

    fainshare/Liam-Skills

    Audit(审查·太虚四转·破妄): six self-deception principles via blind sub-agent.

    113 GitHub stars~818 tokensUpdated 1 mo ago
    Auto-check passed
  • Osborn

    fainshare/Liam-Skills

    发散思维(太虚一转·散怀):想法量、SCAMPER、Stakeholder轮转。触发词: 发散, 开脑洞, 奥斯本. An agent skill from fainshare/Liam-Skills.

    113 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check: notes
  • Socrates

    fainshare/Liam-Skills

    Argument audit (苏格拉底诘问): external claim quality review via fact-check + symmetry + independence.

    113 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Debono

    fainshare/Liam-Skills

    Recover(归真·太虚五转):被过度批判命题的最强存活论证。触发词:归真, debono, 价值回溯, 被过度批判, 黄帽, 再想想, /debono.

    113 GitHub stars~568 tokensUpdated 1 mo ago
    Auto-check passed
  • Taixu Debate

    fainshare/Liam-Skills

    五角色四轮混合盲辩压测:奥斯本/黑格尔/贝叶斯/费曼/德博诺(发散/收敛/验证/审查/归真) 对高 stakes 命题(投资决策/战略选择/认知求真)对撞辩论,产出辩论精华 + 三区(共识/分歧/未决)+ 综合判断。

    113 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Bayes

What does Bayes do?

Verify(验证·太虚三转·叩实): decompose conclusion → testable predictions → external data validation. Bayes is an agent skill from fainshare/Liam-Skills. Verify(验证·太虚三转·叩实): decompose conclusion → testable predictions → external data validation.

When should I use Bayes?

Bayes fits situations like: agent Workflows work in your project.

How do I install Bayes in Claude Code?

Run `npx skills add fainshare/Liam-Skills --skill bayes -a claude-code`. Or copy the skill folder (skills/bayes in fainshare/Liam-Skills) into .claude/skills/bayes in your project. Claude Code loads it when a task matches its description.

How do I install Bayes in Codex?

Run `npx skills add fainshare/Liam-Skills --skill bayes -a codex`. Or copy the skill folder (skills/bayes in fainshare/Liam-Skills) into .agents/skills/bayes in your project. Codex loads it when a task matches its description.

Can I use Bayes in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fainshare/Liam-Skills --skill bayes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bayes, .gemini/skills/bayes, .github/skills/bayes and .opencode/skills/bayes in your project.

What does Bayes need to run?

SKILL.md names no scripts, command-line tools or credentials: Bayes is instructions for the agent only.

Does Bayes access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bayes safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bayes use?

No licence was found for Bayes or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Bayes use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Bayes?

Skills that share tags, products or a category with Bayes: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bayes?

fainshare (a GitHub user) maintains it in fainshare/Liam-Skills, which has 113 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on August 12, 2026.

Source: fainshare/Liam-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.