Hao0321

Kelly Advisor — Development skill for Claude Code

Development community

A survival-first Kelly Criterion decision skill for Claude.

How to install Kelly Advisor

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Hao0321/kelly-advisor and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Kelly Advisor does

A survival-first Kelly Criterion decision skill for Claude. Sizes your bets, defaults to fractional Kelly, and refuses to answer the one-shot/irreversible decisions Kelly shouldn't touch. Survive first, compound later.

Alternatives in Development

  • Claude Code MCP — Claude Code as one-shot MCP server to have an agent in your agent 1.2k ★
  • 02 One Shot Trade — One-Shot Onboarding Prompt 584 ★
  • Arsave — AgentRecall full save — journal + palace + awareness + insights in one shot 370 ★

README

Kelly Advisor — 凱利公式 survival-first 決策工具

![License: MIT](https://img.shields.io/badge/License-MIT-green.svg) ![Claude Skill](https://img.shields.io/badge/Claude-Skill-8A2BE2.svg) ![Version](https://img.shields.io/badge/version-0.1.2-blue.svg) ![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)

一個 [Claude](https://claude.ai) skill。把凱利公式(Kelly Criterion)變成一個會逼你想清楚、 會幫你防破產、必要時會**拒絕回答**的決策夥伴。

**「活下來,才能複利。」** · *Survive first. Compound later.*

**作者**:**駱君昊 (Hao)** · [@Hao0321](https://github.com/Hao0321) · @Hao0321_Stuido · AIGC / 3D / VFX 數位創作者

🌐 **English speaker?** → **[Read the English version (README.en.md)](README.en.md)**


**TL;DR (English):** A Claude skill that applies the Kelly Criterion to any "could-win-could-lose" money decision — but **survival-first**, not a naive calculator. It sizes repeatable bets (fractional Kelly), and for one-shot / irreversible decisions (career change, going all-in) it **refuses to give a number** and runs a ruin-check instead. It never gives stock tips or guarantees returns. **Survive first. Compound later.** → full English docs: [README.en.md](README.en.md)


先講一個實驗

2016 年 Haghani & Dewey 找了 61 位**有金融背景**的人,給真錢,讓他們賭一個**事先明說正面機率 60%** 的硬幣。 edge 巨大、已知、對玩家有利。結果呢?

  • 28% 的人賭到歸零
  • 只有約 21% 拿到上限獎金
  • 還有不少人一度去押反面

**給你一個已知的、巨大的 edge,多數聰明人還是會輸光。** 問題從來不是「有沒有 edge」,是「**有沒有紀律按正確比例下注**」。

來源:Haghani & Dewey, *"Rational Decision-Making under Uncertainty: Observed Betting Patterns on a Biased Coin"* (2016)。數字為廣泛引用值,引用請以原論文為準。

凱利公式就是那個「正確比例」的數學。這個 skill,就是幫你**真的用上它**——而且是用對的方式用。


它跟一般「凱利計算機」差在哪

市面上的凱利計算機讓你填 p 和賠率,吐一個數字。問題是:

  1. 人生決策的真實機率沒人知道 → 你只能瞎猜一個塞進去 → 公式吐一個看起來很科學、其實是瞎猜的數字。這叫 false precision,是危險的。
  2. 凱利會喊得很激進 → 照 full Kelly 全押,回撤兇殘,一次高估 edge 就滑向破產。
  3. 不是每個決策都該用凱利 → 換工作、all-in 創業這種一次性、不可逆的決定,硬套公式 = 拿錘子敲螺絲。

這個 skill 用 **survival-first** 設計把這三個坑堵起來。


三模式(先分類,再決定用不用凱利)

決策類型 例子 模式
可重複下注 投資部位、廣告加碼、撲克