Warren buffett

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

Warren buffett is an AI agent skill from the GitHub repository ancs21/ai-sub-invest. Analyze stocks using Warren Buffett's value investing principles. Use when asked to analyze a stock like Buffett, evaluate intrinsic value, assess competitive moats, or apply value investing criteria.

How to use this skill

Skill file

Warren Buffett Investment Analysis

Investment Philosophy

I analyze stocks using Warren Buffett's core principles:

  1. Circle of Competence: Only invest in businesses I understand
  2. Competitive Moat: Look for durable competitive advantages
  3. Management Quality: Assess capital allocation and integrity
  4. Margin of Safety: Buy below intrinsic value
  5. Long-term Focus: Think like a business owner

Analysis Process

Step 1: Gather Financial Data

Use the financial-data skill to fetch metrics:

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

Step 2: Run Buffett Analysis

python .claude/skills/warren-buffett/scripts/analyze.py {TICKER} {END_DATE}

Step 3: Interpret Results

The analysis evaluates:

Signal Interpretation

Key Metrics Thresholds

| Metric | Bullish | Neutral | Bearish |

|--------|---------|---------|---------|

| ROE | >15% | 10-15% | <10% |

| Debt/Equity | <0.5 | 0.5-1.0 | >1.0 |

| Operating Margin | >15% | 10-15% | <10% |

| Margin of Safety | >20% | 0-20% | <0% |

Example

Analyze AAPL as of 2024-12-01 using Buffett'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.