agi-now/buffett-skills
GitHub: agi-now/buffett-skills
基于巴菲特投资框架构建的 Claude Code skills 集合,为 AI 提供系统化的价值投资分析能力与结构化输出。
Stars: 711 | Forks: 185
# bft-skills
围绕沃伦·巴菲特投资框架构建的 Claude Code skills 集合。
## Skills
### `buffett` — 巴菲特投资思维系统
激活沃伦·巴菲特的完整投资思维系统。涵盖从快速筛选到深度分析的全流程,提供结构化输出和特定行业的实战指南。
**在以下情况自动触发:**
- 分析任何股票或公司
- 评估投资机会
- 阅读财务报告、年度信件或股东信
- 判断公司的护城河或竞争优势
- 评估管理层的质量和诚信度
- 做出买入 / 持有 / 卖出决策
- 讨论价值投资概念(复利、内在价值、安全边际、能力圈、市场先生)
- 分析特定行业(保险、银行、消费、媒体、能源、铁路、科技)
- 处理资本配置、股票回购或分红
- 评估市场情绪或宏观风险
无需提及“巴菲特”——任何投资分析或业务质量问题都会触发该 skill。
## 安装说明
克隆此 repo 并将 `skills/buffett` 文件夹复制到你的项目中:
```
git clone https://github.com/agi-now/buffett-skills /tmp/buffett-skills
cp -r /tmp/buffett-skills/skills/buffett your-project/.claude/skills/buffett
```
该 skill 必须放置在相对于你的项目根目录的 `.claude/skills/buffett/SKILL.md` 路径下:
```
your-project/
└── .claude/
└── skills/
└── buffett/ ← this folder
├── SKILL.md
└── references/
├── 01-thinking-frameworks.md
├── 02-investment-philosophy.md
├── 03-business-moat.md
├── 04-management-governance.md
├── 05-financial-metrics.md
├── 06-valuation-capital.md
├── 07-risk-behavior.md
└── 08-industry-playbooks.md
```
Claude Code 会自动发现放置在 `.claude/skills//SKILL.md` 下的 skills——无需注册。
## Skill 结构
`buffett` skill 采用**渐进式披露**机制:`SKILL.md` 始终加载,而 8 个参考文件会根据分析类型按需读取。
### 分发逻辑
| 路径 | 时机 | 读取文件 |
|------|------|-----------|
| **A · 快速筛选** | “这值得分析吗?” | 无——使用 8 问检查清单 |
| **B · 深度分析** | 完整的公司评估 | `03→04→05→06`,并根据需要加载 `08`(行业)和 `07`(风险) |
| **C · 专题问题** | 特定概念或决策 | 直接加载相关的参考文件 |
### 参考文件
| 文件 | 内容 |
|------|---------|
| `01-thinking-frameworks.md` | 能力圈、逆向思维、市场先生、长期思维、芒格的心理学思维模型 |
| `02-investment-philosophy.md` | 内在价值、复利、低估、集中投资、对 EMH 的反驳 |
| `03-business-moat.md` | 五种护城河类型、特许经营权与大路货商业经济商誉 |
| `04-management-governance.md` | 三维管理评估、机构强制力、企业文化 |
| `05-financial-metrics.md` | 所有者收益、ROIC/ROE、现金转化率、透视盈余 |
| `06-valuation-capital.md` | 三种估值方法、安全边际、五条资本配置路径 |
| `07-risk-behavior.md` | 何时卖出、价值陷阱、杠杆、通胀、衍生品、行为偏误 |
| `08-industry-playbooks.md` | 保险、银行、消费、媒体、能源、铁路、科技、警示案例 |
### 输出格式
每次分析都遵循一个包含所有必填部分的结构化模板:
- **结论** — 买入 / 不买入 / 观察 / 持有 / 卖出 + 一句话理由
- **能力圈** — 在圈内 / 圈外 / 边界
- **核心假设** — 决策所依据的 3-5 个核心假设
- **商业质量** — 护城河类型 + 强度 + 趋势、管理层评估
- **财务概览** — ROIC、现金转化率、所有者收益估算
- **估值** — 内在价值范围、安全边际 %、建议入场价
- **卖出标准检查** — 逐一检查四项卖出标准(针对持有/卖出问题必填)
- **核心风险** — 仅列出前 3 大风险
- **监控指标** — 季度检查项和卖出触发条件
- **最终裁定** — 以巴菲特的口吻给出决策和理由
## 评估结果
在 3 个测试用例(苹果股票分析、银行业框架、茅台持有/卖出)中进行了基准测试:
| 指标 | 使用 skill | 不使用 skill | 差值 |
|--------|-----------|---------------|-------|
| 通过率 | **100%** (15/15) | 66.7% (10/15) | **+33%** |
| 平均 token | 43,353 | 12,524 | +30,829 |
| 平均时间 | 154.4s | 95.2s | +59.2s |
该 skill 的主要价值在于系统性地读取参考文件(11+ 次工具调用对比 2 次)以及严格遵守输出格式。token/时间成本是换取分析深度的代价。
## 思维导图
```
mindmap
root((bft-skills
Buffett Investment System)) Trigger Scenarios Stock / Company Analysis Financial Reports / Annual Letters Buy · Hold · Sell Decisions Moat / Competitive Advantage Management Quality Assessment Value Investing Concepts Industry-Specific Analysis Capital Allocation / Buybacks / Dividends Market Sentiment / Macro Risk Three Core Modules Moat Scanner Cost Advantage Switching Costs Network Effects Intangible Assets Efficient Scale Management Mirror Promises vs. Delivery Capital Allocation History Pay-Shareholder Alignment Margin of Safety Calculator Optimistic / Base / Pessimistic Intrinsic Value Range Suggested Entry Price Dispatch Logic A · Quick Screen 8-Question Checklist No Reference Files Needed B · Deep Analysis Moat 03 Management 04 Financials 05 Valuation 06 Industry Playbook 08 (as needed) Risk & Behavior 07 (as needed) C · Topic Question Load Relevant File Directly 8 Reference Files 01 Thinking Frameworks Circle of Competence · Inversion Mr. Market · Munger's Models 02 Investment Philosophy Intrinsic Value · Compounding Concentration · Undervaluation 03 Business Moat Five Moat Types Franchise vs. Commodity Economic Goodwill 04 Management & Governance Three-Dimensional Assessment Institutional Imperative · Culture 05 Financial Metrics Owner Earnings ROIC / ROE Cash Conversion Rate 06 Valuation & Capital Three Valuation Methods Margin of Safety Five Capital Allocation Paths 07 Risk & Behavior When to Sell Value Traps Behavioral Biases 08 Industry Playbooks Insurance · Banking · Consumer Media · Energy · Railroads Tech · Cautionary Tales Output Format Conclusion (Buy/Pass/Hold/Sell) Circle of Competence Key Assumptions (3-5) Business Quality (Moat + Management) Financial Snapshot Valuation & Margin of Safety Sell Criteria Check Key Risks (max 3) Monitoring Indicators Final Verdict ``` ## 源材料 参考文件汇总自巴菲特信件语料库中的 49 个概念页面,涵盖了巴菲特股东信和公开著作中的所有主要主题。
Buffett Investment System)) Trigger Scenarios Stock / Company Analysis Financial Reports / Annual Letters Buy · Hold · Sell Decisions Moat / Competitive Advantage Management Quality Assessment Value Investing Concepts Industry-Specific Analysis Capital Allocation / Buybacks / Dividends Market Sentiment / Macro Risk Three Core Modules Moat Scanner Cost Advantage Switching Costs Network Effects Intangible Assets Efficient Scale Management Mirror Promises vs. Delivery Capital Allocation History Pay-Shareholder Alignment Margin of Safety Calculator Optimistic / Base / Pessimistic Intrinsic Value Range Suggested Entry Price Dispatch Logic A · Quick Screen 8-Question Checklist No Reference Files Needed B · Deep Analysis Moat 03 Management 04 Financials 05 Valuation 06 Industry Playbook 08 (as needed) Risk & Behavior 07 (as needed) C · Topic Question Load Relevant File Directly 8 Reference Files 01 Thinking Frameworks Circle of Competence · Inversion Mr. Market · Munger's Models 02 Investment Philosophy Intrinsic Value · Compounding Concentration · Undervaluation 03 Business Moat Five Moat Types Franchise vs. Commodity Economic Goodwill 04 Management & Governance Three-Dimensional Assessment Institutional Imperative · Culture 05 Financial Metrics Owner Earnings ROIC / ROE Cash Conversion Rate 06 Valuation & Capital Three Valuation Methods Margin of Safety Five Capital Allocation Paths 07 Risk & Behavior When to Sell Value Traps Behavioral Biases 08 Industry Playbooks Insurance · Banking · Consumer Media · Energy · Railroads Tech · Cautionary Tales Output Format Conclusion (Buy/Pass/Hold/Sell) Circle of Competence Key Assumptions (3-5) Business Quality (Moat + Management) Financial Snapshot Valuation & Margin of Safety Sell Criteria Check Key Risks (max 3) Monitoring Indicators Final Verdict ``` ## 源材料 参考文件汇总自巴菲特信件语料库中的 49 个概念页面,涵盖了巴菲特股东信和公开著作中的所有主要主题。
标签:AI技能, Claude Code, 价值投资, 巴菲特, 投资分析, 金融, 防御加固