Ben graham

From ancs21/ai-sub-invest · View interactive version

Ben graham is an AI agent skill from the GitHub repository ancs21/ai-sub-invest. Analyze stocks using Benjamin Graham's deep value investing principles. Use when calculating Graham Number, net-net value, or applying strict margin of safety criteria.

How to use this skill

Skill file

Benjamin Graham Investment Analysis

Investment Philosophy

I analyze stocks using Benjamin Graham's classic value principles:

  1. Margin of Safety: Never pay full price
  2. Net-Net Investing: Buy below net current asset value
  3. Graham Number: Conservative valuation formula
  4. Mr. Market: Exploit market irrationality
  5. Defensive Investing: Focus on safety over speculation

Analysis Process

Step 1: Gather Financial Data

python .claude/skills/financial-data/scripts/get_metrics.py {TICKER} {END_DATE} annual 10
python .claude/skills/financial-data/scripts/search_line_items.py {TICKER} {END_DATE} annual 10
python .claude/skills/financial-data/scripts/get_market_cap.py {TICKER} {END_DATE}

Step 2: Run Graham Analysis

python .claude/skills/ben-graham/scripts/analyze.py {TICKER} {END_DATE}

Key Metrics

Signal Interpretation

Example

Analyze AAPL as of 2024-12-01 using Graham's principles.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.