agentleFS
ancs21ancs21/ai-sub-invest/.claude/skills/ben-graham/SKILL.md

ben-graham

Skill19 starsChanged 11 months agoMITView on GitHub

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.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Margin of Safety: Never pay full price

    line 10

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  • Graham Number = √(22.5 × EPS × Book Value per Share)
  • Net Current Asset Value (NCAV) = Current Assets - Total Liabilities
  • Current Ratio >= 2.0 (required for defensive investor)
  • Debt/Equity < 1.0
  • Positive earnings for 10+ years
  • Dividend record preferred

Signal Interpretation

  • Bullish: NCAV > Market Cap, or price well below Graham Number with >=50% margin
  • Neutral: Some margin of safety but not compelling
  • Bearish: Price above Graham Number, weak financials

Example

Analyze AAPL as of 2024-12-01 using Graham's principles.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.