git404hub

what is ai-berkshire fr?

xbtlin/ai-berkshire — explained in plain English

Analysis updated 2026-05-18

13,684PythonAudience · pm founderComplexity · 3/5Setup · moderate

tl;dr

A Claude Code and Codex skill set that runs four AI investor personas in parallel to research stocks and force a clear buy or pass verdict.

vibe map

mindmap
  root((AI Berkshire))
    What it does
      Value investing research
      Four investor personas
      Force clear verdicts
    Tech stack
      Python
      Claude Code skills
      Codex skills
    Use cases
      Deep company research
      Earnings analysis
      Industry screening
    Safeguards
      Reverse-checking
      Data cross-validation
      Disqualifier checklist

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Run a multi-agent investment team to research one company from four investor viewpoints at once.

VIBE 2

Screen a whole industry down to a handful of companies worth deeper research.

VIBE 3

Read and cross-verify financial statements with exact decimal math instead of rough mental math.

VIBE 4

Track an existing investment thesis over time and flag when the facts underneath it change.

what's the stack?

PythonClaude CodeCodex

how it stacks up fr

xbtlin/ai-berkshirezai-org/chatglm3evilsocket/opensnitch
Stars13,68413,69913,629
LanguagePythonPythonPython
Setup difficultymoderatehardmoderate
Complexity3/54/53/5
Audiencepm founderdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires installing Claude Code or Codex CLI and running multi-agent skills that consume significant tokens.

in plain english

AI Berkshire is a collection of skills for Claude Code and Codex that turns an AI coding agent into a stock research team. It packages the investing methods of four well known value investors, Warren Buffett, Charlie Munger, Duan Yongping, and Li Lu, into structured, repeatable research workflows a single person can run. The author argues that simply asking an AI chatbot to analyze a stock produces vague, wishy washy answers that hedge every point and are not useful for making a decision. AI Berkshire instead forces a clear verdict, such as pass, fail, or gray area, along with specific price ranges and position sizing suggestions. Its flagship feature runs four separate AI agents in parallel, each one reasoning from a different investor's point of view, so their conclusions can genuinely disagree with each other rather than blending into one bland summary. The README shows a real example where the four perspectives on a company reach different scores and different conclusions, which the author treats as useful tension rather than a bug. The framework also builds in checks meant to catch overconfident or sloppy reasoning: rating how much reliable information is actually available before trusting a conclusion, deliberately searching for reasons a company might be a bad investment, a short list of automatic disqualifiers such as management integrity problems, and financial calculations done with exact decimal math instead of rounded estimates, cross checked against at least two independent data sources. The repository ships about 20 separate skills covering deep company research, earnings report analysis, industry wide screening, portfolio management, and tracking whether an original investment thesis still holds over time. It works with both the Claude Code and OpenAI Codex command line tools, and the author reports two consecutive years of real, verified investment returns using this framework, alongside the caveat that past performance does not guarantee future results.

prompts (copy fr)

prompt 1
Set up AI Berkshire's investment-team skill in Claude Code and run it on a public company I'm researching.
prompt 2
Explain how AI Berkshire's four investor personas can reach different conclusions about the same stock.
prompt 3
Show me how the quality-screen skill filters out weak companies before deep research.
prompt 4
Help me use the financial_rigor.py tool to verify a company's market cap calculation.

Frequently asked questions

what is ai-berkshire fr?

A Claude Code and Codex skill set that runs four AI investor personas in parallel to research stocks and force a clear buy or pass verdict.

What language is ai-berkshire written in?

Mainly Python. The stack also includes Python, Claude Code, Codex.

How hard is ai-berkshire to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ai-berkshire for?

Mainly pm founder.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.