Lattice — AI skill for Claude Code
AI-powered stock analysis CLI using Charlie Munger's 28 mental models through 10 parallel agents.
How to install Lattice
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open tylergibbs1/lattice and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Lattice does
AI-powered stock analysis CLI using Charlie Munger's 28 mental models through 10 parallel agents. Live dashboards, DCF modeling, and verdicts in Munger's voice.
Alternatives in AI
- Codex Plugin — 's /codex:adversarial-review command 9.6k ★
- Dashboard Icons — 3,400+ curated icons and logos for dashboards and AI agents 8.9k ★
- Model Update — 增量更新财务模型 — 用新财报/新指引/修正假设重算 DCF 内在价值、Comps 隐含价、投资逻辑与目标价,输出 before→after delta 6.6k ★
README
Lattice
A CLI tool that analyzes stocks through Charlie Munger's 28 mental models using 10 parallel AI agents, then delivers a verdict in Munger's voice.
Quick start
Requires [Bun](https://bun.sh) and an Anthropic API key.
git clone https://github.com/tylergibbs1/lattice.git
cd lattice
bun install
bun run build
bun link # puts `lattice` on your PATH
export ANTHROPIC_API_KEY="sk-ant-..."
lattice
`lattice` opens an interactive menu. Pick **Analyze Stock**, choose a persona, and enter a ticker such as `AAPL`.
Features
- 10 Parallel AI Agents - Each specialized in different mental models
- 28 Mental Models - Comprehensive Munger-style analysis covering:
- Core Investment Principles (Circle of Competence, Margin of Safety, Mr. Market, Intrinsic Value)
- Moats & Ownership (Economic Moats, Owner Earnings, Management Quality)
- Psychology & Behavioral (Incentive Bias, Social Proof, Confirmation Bias, Loss Aversion, etc.)
- Lollapalooza Effects & Second-Order Thinking
- Math & Probability (Inversion, Base Rates, Expected Value, Compound Interest)
- Economics & Business (Opportunity Cost, Competitive Destruction, Scarcity)
- Systems Thinking (Feedback Loops, Critical Mass, Scale Economics)
- Decision Filters (Too Hard Pile, Checklist)
- Code Execution - Agents can run Python for DCF models, Monte Carlo simulations, statistical analysis
- Web Search - Optional Exa AI integration for real-time market research
- Finviz Data - Automatic scraping of fundamental and technical data
- Charlie's Verdict - Final synthesis in Munger's voice with actionable rating
- Cathie Wood persona - An alternative 10-agent lens on disruptive innovation (Wright's Law, S-curves, 5-year thinking) with verdicts from HIGH CONVICTION BUY to EXIT LEGACY or TOO EARLY
- Saved history - Every analysis is saved to
~/.lattice/history/
Related Skills
Muse:Charlie Munger
Think with Charlie Munger (interpretive frame) — adaptive structured session (v2.2) using inversion as first m
Charlie CFO: Bootstrapped Financial Management
Your AI CFO for bootstrapped, profitable companies. Named after Charlie Munger, who embodied the principle tha
Manus
Delegate complex tasks to Manus AI agent for deep research, market analysis, product comparisons, stock analys
Equity Research Agent
Autonomous Tier-1 Equity Research & DCF Financial Modeling Agent. Produces 10-tab institutional Excel models,
Financial Analysis
Institutional-grade financial analysis skill for AI agents: comps, DCF, LBO, and 3-statement models
Kmux
Terminal workspace for running parallel AI coding agents (Claude Code, Codex CLI, Antigravity CLI) on macOS an
Related Agents
Lydia
CFO advisory agent for financial strategy, modeling, analysis, and fiscal leadership. Use when analyzing finan
Agency Financial Analyst
Financial modeling, DCF, scenario analysis, sensitivity testing. Use for emitent valuation, OneFlow capital al
Critic Munger
公司逆向思考顾问(Charlie Munger 思维模型)。当需要质疑新想法的可行性、识别计划中的致命缺陷、防止集体幻觉、进行反向论证、做 pre-mortem 分析时使用。任何重大决策前必须咨询。