tylergibbs1

Lattice — AI skill for Claude Code

AI community

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

Lattice Demo

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/