Decision Odds — Development skill for Claude Code
胜率裁决引擎:把「这事能不能成」算成概率区间、卡点贡献与盈亏平衡阈值.
How to install Decision Odds
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lxj2066/decision-odds and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Decision Odds does
胜率裁决引擎:把「这事能不能成」算成概率区间、卡点贡献与盈亏平衡阈值。附 Skill 包与 Agent 包,含 12 张方法论卡与 3 个确定性脚本。
Alternatives in Development
- Skill Decision Support — Present options with trade-offs for informed decision-making — use when choosing between approaches 2.8k ★
- ADR Rubber Duck — ADR(Architecture Decision Record)の壁打ち相手としてヒアリングを通じて意思決定を整理し、ADRドラフトを作成する 974 ★
- Obsidian ADR — Generate a decision record when the vault structure changes — the vault knows why it knows what it does 277 ★
README
胜率裁决 · Skill 包与 Agent 包
把「这事能不能成」压成一句可复核的话:**在什么区间、凭什么、输了怎么退。**
本仓库包含成对交付的两个包,源文件与可分发压缩包都在里面。
| 包 | 类型 | 版本 | 去向 |
|---|---|---|---|
decision-odds-skill/ |
Skill 包 | 1.0.0 | SkillHub 技能入口 |
decision-odds-agent/ |
Agent 包(内嵌上者) | 1.0.0 | WorkBuddy 专家入口 |
dist/decision-odds-skill-v1.0.0.zip |
可分发 | — | 直接上传 |
dist/decision-odds-agent-v1.0.0.zip |
可分发 | — | 直接上传 |
这套东西解决什么
一份「成功率预测」类长提示词,常见十个坑。本包逐条给了硬拦截:
| 原病 | 拦截方式 |
|---|---|
| 要用户直接给成功定义、LR、最大损失 | 输入门 T0 五项 + 三问模板,问不出就停,不给数 |
| 没有信息门 | T0 缺任一项禁止进后验步 |
| 模拟六类专家 + 德尔菲 | 三声部对抗(支持 / 反驳 / 预演失败),明令不许收敛 |
| 无基准率时靠编 | 三级降级 L1/L2/L3,L3 必须写「无基准,锚定值」 |
| LR 无截断、证据重复计 | LR 截断 [0.2, 5],同簇 1 / 0.5 / 0.25 折减,最多三条 |
| 先验无敏感性 | 先验 ×0.7 / ×1.3 与证据 ×0.5 / ×1.5 双向扰动,只出区间 |
| 卡点贡献被高估 | 单移除与联合移除分列,输出重叠 / 协同 / 可加 |
| 方案不可比 | 排序分写死为 (p′−p)/成本单位 × 可回撤比例,p′ 必须脚本重算 |
| 尝试次数误导 | 先定义一次尝试四要素,只报预算内成功率与中位次数 |
| 阈值与止损缺失 | p* = L/(W+L),入场线 ×1.2,止损三线预注册 |
再加两条原提示词没有的:**校准闭环**(预测台账 + Brier)与**过度自信折扣**(默认 shrink 0.85)。
三个确定性脚本
# 后验与区间
python decision-odds-skill/scripts/odds.py posterior --prior 0.30 --shrink 0.85 \
--ev "免费群300人历史付费转化8%|2.4|渠道|1.0" \
--ev "主理人有1次同类社群完整运营|2.0|团队|1.0"
# 卡点:拿掉哪条证据,概率掉最多
python decision-odds-skill/scripts/odds.py bottleneck --prior 0.30 --shrink 0.85 --top 2 \
--ev "免费群300人历史付费转化8%|2.4|渠道|1.0" \
--ev "主理人有1次同类社群完整运营|2.0|团队|1.0"
# 该不该做、做多重、要试几次
python decision-odds-skill/scripts/verdict.py threshold --p 0.55 --win 300000 --loss 60000
python decision-odds-skill/scripts/verdict.py kelly --p 0.36 --win 300000 --loss 60000
python decision-odds-skill/scripts/verdict.py attempt --p 0.12 --unit-cost 12000 --budget 200000
# 事后对账
python decision-odds-skill/scripts/verdict.py brier --obs "0.7:1" --obs "0.4:0"
# 数学回归(25 条断言)
python decision-odds-skill/scripts/selftest.py
证据格式 `标签|LR|簇|权重`。LR 只有两种合法算法:诊断式 `灵敏度/(1−特异度)`、倍率式 `有无该证据的群体成功率之比`。写不出就填 1.0,来源写「未支撑」。
验收记录(2026-10-26 实测)
| 项 | 结果 |
|---|---|
Skill 包体检 --strict |
A / 100,BLOCKER 0 / MAJOR 0 / MINOR 0,2 |
Related Skills
Polymarket Agents
Polymarket research MCP server with 10 tools (odds, orderbook, spread, history) + autonomous trading bot frame
Competitor Mapping
Auditable competitor mapping: deterministic quality gate, calibrated log-odds fusion, mandatory refutation lis
Pick Em Skill
🎯 Fill in your CS2 Pick’Em with Claude — real research, Valve-accurate Swiss simulation, honest odds. Not for
Spike Check
Emit the stand-in spike checklist BEFORE a spike, so it's designed to hit the real binary + auth/lifecycle/fix
Claude Prop Firm Skills
Free Claude Code skills that keep traders, EAs and bots inside prop-firm rules: exact drawdown models (FTMO, F
Nonstop
Autonomous work mode for Claude Code. Pre-flight risk assessment, blocker decision framework, session-scoped s
Related Agents
Web3 Researcher
Read-only Web3 research analyst. Use for token due-diligence, market scans, wallet forensics, yield comparison
GADU
High-judgment operator agent — invoke by name. Opinionated, red-teams the user's reasoning, recommends the hig
Market And Odds Specialist
Fantasy Football sub-agent that exploits ADP inefficiencies and translates Vegas prop bets into actionable dra