ai-berkshire logo

ai-berkshire

github.com/xbtlin/ai-berkshire

AI 时代的伯克希尔:基于 Claude Code / Codex 的价值投资研究框架。巴菲特·芒格·段永平·李录四大师方法论 + 多Agent并行研究。 AI-era Berkshire: a value investing research framework built for Claude Code / Codex…

git clone https://github.com/xbtlin/ai-berkshire
Stars
17k
Rank in field
Top 30%#176 of 591 by stars
Forks
…
Open issues
…
Contributors
…
Language
HTML
License
MIT
Last push
21 Nov 2026

What is ai-berkshire?

AI Berkshire is a value investing research framework distributed as a collection of skills for Claude Code and Codex. It structures the methods of Warren Buffett, Charlie Munger, Duan Yongping and Li Lu into repeatable research workflows, with team skills that run four master-perspective agents in parallel. It is aimed at individual investors who want structured, decision-oriented company research rather than a generic AI answer.

Install & use

Install
git clone https://github.com/xbtlin/ai-berkshire.git
Usage
/investment-team

xbtlin/ai-berkshire is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.

Features

  • 22 skills covering deep research, valuation, management review and portfolio work
  • Team skills dispatch four parallel agents (Buffett, Munger, Duan Yongping, Li Lu) that research independently and are then combined
  • Forces a pass / fail / grey-zone verdict with price ranges instead of balanced commentary
  • Built-in anti-bias checks: information-richness grading, Munger-style inversion, a quick-rejection checklist and a consensus check
  • Financial tools use Python Decimal for precise calculations and cross-check key figures against at least two sources
  • Includes an interactive financial-report course with 12 chapters and question banks

Best for

  • Deep research on a single listed company
  • Comparing several companies against one consistent checklist
  • Valuation review of cash flow, sum-of-the-parts and reverse valuation
  • Research on private companies where public data is scarce

Pros

  • Produces consistent, reproducible output structure across companies and over time
  • Explicitly separates the four masters' views so disagreements surface
  • Flags data gaps as grey zones rather than presenting guesses as certainty
  • Ships with a large published report index and a reading site

Cons

  • Requires Claude Code or Codex to run
  • The README states historical returns do not indicate future performance
  • Some skills are token-heavy; a lite version exists for roughly half the tokens

Stars over time