Xpersona
W

Warren Buffet's Brain

CLAWHUB · Unverified

Point-in-time Buffett-style company analysis for stocks, Berkshire case studies, and BUY/PASS verdicts. Use when the user wants a Buffett/Graham underwriting... Skill: Warren Buffet's Brain Owner: yixiao1032-publish Summary: Point-in-time Buffett-style company analysis for stocks, Berkshire case studies, and BUY/PASS verdicts. Use when the user wants a Buffett/Graham underwriting... Tags: buffet:1.0.0, finance:1.0.0, investing:1.0.0, latest:1.0.0, research:1.0.0, warren:1.0.0 Version history: v1.0.0 | 2026-04-09T15:50:28.711Z | user 别再看一堆情绪流研报了。Buffett Oracle 做的是更狠也更干净的事: 先判

62
Rank
84
Safety
959
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 959 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17cs8xqw468czzyyeckjaztds83y4sn:think-like-warren-buffett
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yixiao1032-publish-think-like-warren-buffett/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

91,009 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: buffett-oracle
description: Point-in-time Buffett-style company analysis for stocks, Berkshire case studies, and BUY/PASS verdicts. Use when the user wants a Buffett/Graham underwriting memo, moat test, control-group comparison, or benchmark backtest grounded in cached company cards and strict decision-date discipline.
homepage: https://github.com/yixiao1032-publish/buffet-oracle
metadata:
  clawdbot:
    emoji: "🔮"
    requires:
      env: []
    files:
      - "SKILL.md"
      - "buffett-oracle.md"
      - "buffett_brain.md"
      - "backtest_results.md"
      - "coverage_scope.md"
      - "analysis_index.json"
      - "universe_expansion.md"
      - "universe_expansion_index.json"
      - "company_cards/"
---

Buffett Oracle is a research skill for deciding whether a company deserves a `BUY` or `PASS` under a strict Buffett + Graham underwriting framework.

Use this skill when the user wants:
- A Buffett-style memo on a public company, bank, utility, or crypto protocol
- A point-in-time re-underwriting of a Berkshire decision
- A moat explanation tied to hard numbers, not vibes
- A clean `BUY` / `PASS` verdict instead of a hedged summary
- A comparison against prior benchmark cases or same-era control groups

## Read Order

Read only what you need:

- `buffett-oracle.md`
  Use for the Buffett Oracle persona, output structure, and portable prompt wording.
- `buffett_brain.md`
  Use for the Graham operating layer, 7 hard gates, named exemptions, and moat logic.
- `coverage_scope.md`
  Read before making any claim about benchmark completion or historical coverage.
- `company_cards/`
  Check first. If a matching card already exists, reuse it and do not re-fetch the filing.
- `backtest_results.md` and `analysis_index.json`
  Use for benchmark precedents and indexed case linkage.
- `universe_expansion.md` and `universe_expansion_index.json`
  Use for non-benchmark precedents without polluting the benchmark hit-rate.
- `methodology_audit.md`
  Read when the user asks how reliable the framework is, or whether the score implies predictive power.
- `gate_review.md`
  Read when the user asks why certain high-quality assets still fail the hard gates.

## Non-Negotiables

- Use only information that was public on or before the decision date.
- Never describe the 29 benchmark rows as Buffett or Berkshire's full investment universe.
- Never re-fetch a company that already has a cached card in `company_cards/`.
- If any hard gate fails, default to `PASS` unless a named exemption clearly applies.
- Every `BUY` needs two same-era control groups.
- Lock the `BUY` / `PASS` conclusion before revealing what Buffett actually did.
- Treat this as a research framework, not personalized investment advice.

## Workflow

1. Classify the request as `INVESTMENT`, `SPECULATION`, or `TOO_HARD`.
   If it is `SPECULATION` or `TOO_HARD`, explain why and stop.
2. Check `company_cards/` for a cached `<TICKER>_<YEAR>.json`.
   Reuse the card if present. Only fetch a new

README.md

# Buffett Oracle

A collaborative framework for applying Warren Buffett's investment thinking to real companies — built with Claude Code, improved by the community.

---

## What This Is

A structured process for analyzing companies the way Buffett does:

1. **Hard gates** — 7 quantitative filters that auto-reject bad businesses
2. **Moat analysis** — qualitative assessment of competitive advantages
3. **Control groups** — every BUY must explain why comparable companies were rejected
4. **Binary output** — BUY or PASS, no hedging
5. **Point-in-time discipline** — use only data available at the decision date; later facts are for the reveal only
6. **Graham operating layer** — separate investment from speculation, default to defensive-investor logic, and prefer valuation over timing calls

The framework runs inside Claude Code. Each analysis is stored as a `company_card` so future analyses can reference past work without re-reading 10-Ks. The local `oracle.py` helper now also audits repo consistency so cards, docs, and backtest summaries do not drift apart.

Important scope note: the current repo covers a **curated 29-case benchmark set**, not the full Buffett/Berkshire investment universe. See [coverage_scope.md](coverage_scope.md).
Additional non-benchmark cases now live in a separate [universe_expansion.md](universe_expansion.md) track so new research does not pollute the benchmark hit-rate.

---

## What This Is NOT

- Not investment advice
- Not a trading bot
- Not a model being trained (Claude's weights don't change — only the framework and knowledge base evolve)
- Not a claim that Buffett only made 29 investments

---

## Quick Start

```bash
# 1. Clone
git clone https://github.com/your-username/buffett-oracle
cd buffett-oracle

# 2. Validate local repo state
python3 oracle.py status
python3 oracle.py validate
python3 oracle.py methodology
python3 oracle.py gate-review

# 3. Open in Claude Code
claude .

# Claude will automatically read CLAUDE.md and know what to do
# Then just say: "Analyze Coca-Cola 1988"
```

Requirements: [Claude Code](https://claude.ai/code) with SEC EDGAR web access.

## Website

This repo now ships with a zero-dependency static website.

```bash
# Build the public site into docs/
python3 oracle.py site --site-url https://your-domain.example

# Preview locally
python3 oracle.py serve-site --port 8000
```

The generated site includes:
- A chat-first Buffett Oracle landing page with one central question box
- Natural-language routing for company lookups, framework questions, asset-allocation prompts, and queue/progress questions
- A searchable backtest explorer backed by `company_cards/`
- A visible benchmark queue when the selected case set is not yet complete
- A methodology audit so the headline score is shown with its caveats
- Shareable metadata, manifest, robots, sitemap, favicon, and social preview assets for public publishing

## Sell / Marketplace

This repo can now generate a sellable bundle in three formats: r

_meta.json

{
  "ownerId": "kn79k0eb3vay47d7fhfm97nqps83y8ne",
  "slug": "think-like-warren-buffett",
  "version": "1.0.0",
  "publishedAt": 1775749828711
}

backtest_results.md

# Buffett Oracle — 回测 Benchmark 集记录
*数据来源:SEC EDGAR 10-K 原始财报 / 公司官方年报*
*分析框架:buffett_brain.md v1.2*
*最后更新:2026-03-25*

---

## Scope 说明

- 当前文件覆盖的是 **29 个精选 benchmark 案例**
- 它不是 Buffett / Berkshire 全部投资历史
- `29 / 29` 的意思是:当前 benchmark 集已补完
- 不代表:Buffett 这些年只投过 29 个标的

更完整的定义见 [coverage_scope.md](coverage_scope.md)。

---

## 评判标准
- ✅ 同向:框架结论与巴菲特操作一致,结果也验证
- ⭐ 框架胜:巴菲特犯错,框架给出更好判断
- ❌ 框架错:框架结论与正确答案相反

**方法学提醒**:
- 这里统计的是**回顾一致性**,不是可直接外推的预测胜率
- 含模糊结论、结构化交易、命名例外的案例,应和核心二元普通股案例分开看
- 做出 BUY / PASS 判断时,只能使用当时已经公开的数据;后验结果只能放在最后的 reveal 与评分部分

---

## 汇总表(持续更新)

| # | 标的 | 决策年份 | 框架结论 | 巴菲特操作 | 实际结果 | 判定 |
|---|---|---|---|---|---|---|
| 1 | Paramount Global | 2022 | 不投 | 买$26亿 | 亏$16亿,认错 | ⭐ |
| 2 | HP Inc. | 2022 | 可投/非高确信 | 买$42亿 | 中性,持续减持 | ✅ |
| 3 | Chevron | 2020 | 买入 | 买$41亿→$198亿 | 大赢 | ✅ |
| 4 | Airlines(买入) | 2016 | 不投/谨慎 | 买~$80亿四家 | 亏$50亿,认错 | ⭐ |
| 5 | Airlines(卖出) | 2020 | 卖出✓ | 全部清仓 | 正确(COVID) | ✅ |
| 6 | Occidental Petroleum | 2019 | 买入(优质优先股) | $100亿优先股+认股权证 | 大赢 | ✅ |
| 7 | Apple | 2016 | 买入 | 买→$177亿峰值 | 历史级大赢 | ✅ |
| 8 | Precision Castparts | 2015 | 不投(估值过高) | $372亿全收购 | 减值$110亿,认错 | ⭐ |
| 9 | IBM | 2011 | 谨慎/不投 | 买~$120亿 | 亏损,2018年清仓认错 | ⭐ |
| 10 | Goldman Sachs | 2008 | 买(优先股危机套利) | $50亿优先股+认股权证 | 大赢 | ✅ |
| 11 | BNSF铁路 | 2009 | 买入 | $440亿全收购 | 历史级大赢 | ✅ |
| 12 | Bank of America | 2011 | 买入(优先股结构) | $50亿优先股+权证 | 大赢($120亿+) | ✅ |
| 13 | Kraft Heinz | 2015 | 不投 | 合并收购 | 亏损,认错 | ⭐ |
| 14 | BYD | 2008 | 买入(成长例外) | $2.32亿→$80亿峰值 | 大赢 | ✅ |
| 15 | General Electric | 2008 | 买入(危机优先股) | $30亿优先股+权证 | 小赢 | ✅ |
| 16 | Tesco | 2007 | 不投 | ~$23亿 | 亏$4.4亿,认错 | ⭐ |
| 17 | American Express | 1994 | 买入 | 持续买入 | 大赢,永久持有 | ✅ |
| 18 | Dexter Shoe | 1993 | 不投 | $4.33亿BRK股份 | 最差决策,损失$35亿+ | ⭐ |
| 19 | Wells Fargo | 1991 | 买入 | 危机买入 | 30年大赢 | ✅ |
| 20 | US Air | 1989 | 不投 | $3.58亿优先股 | 险些全损,最终小赢 | ⭐ |
| 21 | Gillette | 1989 | 买入 | $6亿可转换优先股 | 大赢 | ✅ |
| 22 | Coca-Cola | 1988 | 买入 | $13亿 | 历史级大赢 | ✅ |
| 23 | Capital Cities/ABC | 1985 | 买入 | $5.175亿 | 大赢 | ✅ |
| 24 | Nebraska Furniture Mart | 1983 | 买入 | $6000万 | 大赢 | ✅ |
| 25 | Washington Post | 1973 | 买入 | $1060万 | 历史级大赢 | ✅ |
| 26 | See's Candies | 1972 | 买入 | $2500万 | 转型性大赢 | ✅ |
| 27 | GEICO | 1976 | 买入 | 危机买入 | 历史级大赢 | ✅ |
| 28 | National Indemnity | 1967 | 买入 | $860万 | 奠基性收购 | ✅ |
| 29 | Berkshire Hathaway纺织 | 1965 | 不投 | 接管控制 | 巴菲特最大失误 | ⭐ |

---

## 当前进度:已完成分析 29 / 29 benchmark 案例(数据已收集,分析已完成)

---

## 详细分析

### #1 Paramount Global (2022) ⭐

**买入**:2022年Q1,约$38/股,$26亿 | **数据源**:2021年10-K(SEC EDGAR)

**关键数字**:
- 净利润$45亿 vs 自由现金流仅**$6亿**(差距$39亿——利润虚高)
- 调整后OIBDA $44.4亿(同比下降13%)
- 表内净债务$120亿 + 表外内容承诺$326亿 = **真实总负债$446亿**(OIBDA的10倍)
- Paramount+订阅3280万 vs Netflix 2.2亿
- 流媒体收入$42亿(仅14.7%),传统TV收入$176亿(61.8%,结构性衰退)

**评分**:3.5/10 | **结论**:不投
**一票否决**:FCF与利润严重背离 + 真实负债10x OIBDA + 核心收入来源萎缩
**实际结果**:亏$16亿,2024年清仓,巴菲特认错 | **判定**:⭐

---

### #2 HP Inc. (2022) ✅

**买入**:2022年Q1,均价约$34.70,$42亿(约11%) | **数据源**:FY2021 10-K

**关键数字**:
- 打印业务营业利润率18.1%(护城河存在),PC业务7.2%(无护城河)
- 正常化FCF约$35亿(剔除Oracle诉讼和解$23亿一次性收入)
- 净债

buffett_brain.md

# Buffett Brain v1.2
*Last updated: 2026-03-25 | Version history below*

---

## CORE PHILOSOPHY

### The Business Owner Mindset
"我是一个更好的投资者,因为我是一个商人;我是一个更好的商人,因为我是一个投资者。"
- 买股票 = 买企业的一部分,而不是买一张会涨跌的纸
- 问自己:如果交易所明天关闭5年,你还愿意持有吗?
- 不理解这门生意,就不该投钱进去 —— 能力圈是神圣边界

### The Two Rules
1. **永远不要亏损本金**
2. **永远不要忘记第一条规则**
*不是说不会有亏损,而是说每一笔投资前就要问:最坏情况我能承受吗?*

### Mr. Market
- 市场是一个患有躁郁症的合伙人,每天都在给你报价
- 他情绪好时出高价,情绪坏时出低价
- 你的工作是利用他的情绪,而不是被他的情绪左右
- "别人贪婪时恐惧,别人恐惧时贪婪" —— 这不是格言,这是操作系统

### Margin of Safety
- 用50分钱买价值1块钱的东西 —— 这是一切的基础
- 安全边际保护你抵抗:错误估值、坏运气、黑天鹅
- 越难估值的资产,需要越大的安全边际
- 如果一次错误就会让你花很多年回本,买价大概率已经太高

---

## GRAHAM OPERATING LAYER

*以下约束补强自《聪明的投资者》第1 / 5 / 7 / 8 / 20章与巴菲特序言。重点不是增加名言,而是增加决策边界。*

### 1. 先区分 Investment vs Speculation
- 格雷厄姆定义:**投资操作必须同时满足** 深入分析、本金安全、回报适当;不满足这三条的操作就是投机
- Oracle 在每一份 live memo 开头先问:这是 `INVESTMENT`、`SPECULATION`,还是 `TOO HARD`
- 依赖短期走势预测、估值继续扩张、别人更高价接盘的逻辑,默认归类为投机
- 投机如果存在,必须与投资仓、投资评分、回测命中率完全分开
- 对非专业投资者,任何需要保证金或高杠杆才能成立的 thesis,默认不属于可接受投资

### 2. 默认用户是防御型投资者,不是进取型高手
- 格雷厄姆先分投资者类型,再谈选股:**防御型**的第一目标是避免重大错误和重大亏损;**进取型**才追求超额收益
- Buffett Oracle 的公开默认模式应当是**防御型**,除非用户明确展示出愿意投入大量时间和精力做更深研究
- 防御型建议优先级:少犯大错 > 提高收益上限
- 防御型偏好:大型、知名、财务稳健、长期分红记录、估值不过分
- 进取型也不等于“会择时”,而是愿意做更深的个股、廉价证券或特殊情境研究

### 3. 估价优先,拒绝择时幻觉
- 格雷厄姆明确区分两条路:`估价` 与 `择时`
- Oracle 默认只承认基于**价值与价格错位**的结论,不把“市场接下来大概率要涨/跌”当成主要论据
- 对市场、泡沫、择时问题,默认动作不是猜顶抄底,而是:提高要求回报、收紧筛选标准、保留流动性
- 真正的买入理由必须是:`underwritten value > paid price`,而不是图形、情绪或宏观猜测

### 4. 安全边际必须写成数字,而不是口号
- 每一个 BUY 至少写出:`normalized earnings / owner's earnings`、`conservative value range`、`required return`、`implied discount`
- 不确定性越高,要求的折价越大;越依赖未来远期增长,越不能给高估值
- 即使是好公司,买价过高也会把原本的优势全部抵消
- 在 commit capital 之前,必须先回答:如果我错了,回本需要多久?

### 5. 风险首先是永久性亏损,其次是行为失控
- 风险不等于波动本身;风险是本金受损后难以恢复,或在波动中被迫做错事
- 镜子测试:我真的知道得比对手盘更多吗?如果错了会亏多少?组合相关性会不会一起出问题?
- 好判断不只看 upside,也要看:错误时的后果能否承受
- 如果 thesis 正确与否主要取决于你的情绪能否稳定,那这个仓位已经太大了

---

## INVESTMENT FRAMEWORK — 5 DIMENSIONS

### Dimension 1: 可理解性(Circle of Competence)
**核心问题**:这门生意10年后还存在吗?我能描述它是如何赚钱的吗?
- 必须能用一段话解释商业模式
- 无法解释 = 不投
- 行业快速变化 = 加大不确定性折扣
- **红旗**:依赖持续技术迭代才能存活的生意

### Dimension 2: 护城河(Economic Moat)
**核心问题**:10年后,竞争对手能否复制这门生意?
四类护城河:
1. **品牌定价权**:可口可乐、喜诗糖果 —— 消费者愿意多付钱
2. **网络效应**:用户越多越有价值(AMEX、早期报纸)
3. **切换成本**:客户离开的代价极高(B2B软件、银行)
4. **成本优势**:BNSF铁路 —— 运输成本天然低于卡车
- 护城河必须能持续扩大("宽且深")
- 最危险的护城河:仅靠价格低,没有结构性优势
- 管理层很好但没护城河 = 仍然不够

### Dimension 3: 管理层质量
**核心问题**:这些人是在为股东服务,还是在为自己服务?
- 资本配置能力是最核心的管理技能
- 好的管理层:诚实、不过度乐观、承认错误
- **测试**:看他们在困难时期说了什么,做了什么
- 用股东的钱像用自己的钱一样
- 薪酬结构是否和股东利益对齐?
- 警惕:CEO更换频繁、大量并购消化不良、花式PPT

### Dimension 4: 财务健康
**核心问题**:这门生意能产生真实的现金吗?
关键指标:
- **ROE > 15%(持续多年)**:高质量企业的标志
- **低负债**:债务是脆弱的来源,尤其在危机中
- **自由现金流 > 净利润**:说明利润是真实的
- **资本支出低**:少量投入能维持高利润 = 好生意
- **毛利率稳定或扩张**:定价权存在
- 警惕:应收账款增速 > 收入增速;库存堆积;频繁定向增发

### Dimension 5: 估值
**核心问题**:以合理价格买好公司,好过以便宜价格买烂公司。
估值逻辑:
- 公司价值 = 未来现金流的折现
- **Owner's Earnings** = 净利润 + 折旧摊销 - 维持资本开支
- PE仅供参考,更重要的是:当前价格隐含了什么增长假设?
- 好公司不怕贵,但还是要有安全边际
- 宁愿以合理价格等待,不以贵价强上
- 巴菲特惯用:假设利率10%,今天价格能否产生足够回报?
- 价格决定回报率;分析正确但买价太高,仍然可能是坏投资
- 拒绝把“估值以后会更贵”当作投资逻辑

---

## WEB3 / CR

Sponsored

Ads related to Warren Buffet's Brain and adjacent AI workflows.