Investment Research
Builds a deep Chinese-language investment memo on one company, step by step through the methods of Buffett, Munger, Duan Yongping and Li Lu.
What it is
The flagship single-company research workflow from AI Berkshire, a Chinese-language value investing toolkit. Rather than splitting the work across a team, it walks your agent through seven modules in order: data collection, business model, moat, inversion and risks, management, industry and long-term trends, and valuation, followed by a decision memo. It is for Chinese-reading investors who want one thorough, disciplined report on a listed company and are prepared to spend the time and tokens it takes.
Its distinguishing feature is valuation discipline. Besides a three-year, three-scenario estimate, it runs a ten-year discounted check through a script that refuses to continue if the discount rate and growth rate come from different currencies, if the gap between them is under five percentage points, or if one-off risks like delisting are hidden inside the discount rate. It must show whether the conclusion flips when the discount rate moves two points either way, and the ten-year test can only shrink the suggested position size, never veto a buy on its own.
Each module ends with a probing question in the style of the relevant investor, and simulated comments from the four masters must quote a verifiable source or be left out. The report opens with an information-richness grade and a note on AI limitations, separates AI confidence from real investment certainty, lists questions to verify in person for thinly covered companies, and is saved as a Markdown file in your home folder after a data spot-check. It is analysis, not financial advice.
What it can do
- Grades information richness A, B or C and runs a bias checklist so plentiful data is not mistaken for certainty.
- Gathers five years of financials, segment revenue, competitors, management history and valuation, checking key figures against two sources.
- Tests five moat types: brand and pricing power, switching costs, network effects, scale, and technology or patents.
- Lists failure paths with probability and impact, historical parallels and the short-seller case, in Munger's inversion style.
- Runs three-scenario and ten-year discounted valuations with input audits and a discount-rate sensitivity test.
- Writes a six-dimension decision memo with strategies for holders and non-holders, plus signals to buy more or sell.
When to use it
- You have followed Kweichow Moutai for years and want one rigorous report on whether today's price leaves a margin of safety.
- You want to know whether your bullish case on a stock rests on the business itself or just on the discount rate you picked.
- You are looking at a thinly covered small company and need to know which conclusions are solid and which need first-hand checking.
How it works
- 1Confirms today's date, grades how much public information exists on the company, and runs its bias self-check.
- 2Uses a background agent to gather data, then cross-checks market value, revenue, profit and cash with the project's financial_rigor.py script.
- 3Works through the business, moat, inversion, management and industry modules, ending each with a master-style question.
- 4Runs the valuation module with terminal_value.py, which audits the inputs before calculating ten-year returns and their sensitivity.
- 5Writes the decision memo, saves the report, and spot-checks about 15 percent of its numbers with report_audit.py, fixing any figure off by more than 1 percent.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/investment-research
pnpm dlx skills add https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/investment-research
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the investment-research folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git mkdir -p ~/.claude/skills cp -r ai-berkshire/codex-skills/investment-research ~/.claude/skills/investment-research
Then just ask in plain language, for example: “Use investment-research to analyze Tencent.”
More Productivity & Life skills
Career Ops
80kScores job postings against your CV, tailors an ATS-friendly resume and cover letter for each, and tracks applications on your own computer.
Career Change Resume
45kWrites an honest resume for a move into a new field, translating your past work into the target job's language without inventing experience.
Portfolio Case Study
45kTurns a real project into a portfolio case study that shows your decisions, your share of the work and the evidence, with nothing made up.