Buffett Graham logo

Buffett Graham

Community
mrhustlex
buffett-graham

Warren Buffett + Benjamin Graham value investing. Buy wonderful companies at fair prices within your circle of competence, with a margin of safety. Quantitative screen: P/E, P/B, debt/equity, ROE, FCF yield, moat proxies. yfinance-based scanner.

Overview

Publishermrhustlex
RepositoryTrading-Masters-Strategies
Skill namebuffett-graham
Stars
28
Forks
6
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mrhustlex on GitHub. Read the source before you install it.

Installation

Install the Buffett Graham AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mrhustlex/Trading-Masters-Strategies/tree/main/skills/buffett-graham
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrhustlex/Trading-Masters-Strategies.git /tmp/Trading-Masters-Strategies
mkdir -p .claude/skills
cp -r /tmp/Trading-Masters-Strategies/skills/buffett-graham .claude/skills/buffett-graham
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Buffett Graham in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Buffett Graham on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Buffett Graham is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Warren Buffett & Benjamin Graham — Value Investing (v1.0)

Goal: buy a dollar of business for ~50 cents. Graham = deep value / margin of safety; Buffett (+Munger) = quality at a fair price, held long. The antithesis of momentum — this is the own-the-business layer the other 4 skills ignore.

0. Plain English

Don't day-trade. Find a business you understand (circle of competence), with a durable moat (pricing power), that earns high returns on capital, and buy it at a price well below what it's worth (margin of safety). Then hold for years.

1. Core principles

  • Margin of Safety (Graham): price ≪ intrinsic value. The gap absorbs being wrong.
  • Circle of Competence (Buffett): only invest where you can read the business cold. "Too Hard" pile = skip.
  • Economic Moat: brand / scale / network / switching-costs that protect ROIC for decades.
  • Quality > cheapness (Buffett's evolution): a great business at a fair price beats a mediocre one cheap.
  • Favourite holding period = forever (unless thesis breaks).

2. Quantifiable screen (as coded in references/value.py)

CheckRuleWhy
P/E≤ 20 (or < market)not overpriced
P/B≤ 3 (Graham liked < 1.5)asset backing
Debt/Equity≤ 0.5financial strength
ROE≥ 15%quality / moat
FCF yield≥ 4% (FCF/price)real cash, not accounting
Earnings stabilitypositive EPS most of last 5ypredictability
Margin of safetyprice < ~60% of rough intrinsic (FCF disc.)Graham's cushion

3. Do / Don't

DO: buy wonderful businesses at fair prices; reinvest; be patient; demand a moat + low debt. DON'T: buy what you don't understand; chase hot stocks outside your circle; ignore debt; sell on noise; use lots of leverage; average down a broken thesis.

4. Script

references/value.py scores a ticker on the above; prints PASS + a 0–100 value score.

bash
cd <skill>/references
python3 value.py AAPL KO PG JPM
python3 value.py --universe ../scripts/universe.txt

5. Reality notes

  • yfinance gives P/E, P/B, ROE, debt/Equity, FCF (operating cashflow − capex). Intrinsic value = DCF is rough; script uses a conservative FCF-yield margin-of-safety proxy.
  • Moat is qualitative — the script proxies it with ROE consistency + gross margin; you still judge the moat yourself.
  • Buffett's best picks (KO, AAPL) often fail a strict P/E≤20 screen at times — quality can command a higher multiple; treat the screen as a filter, not gospel.

6. Pitfalls

  • ❌ Value traps: cheap for a reason (declining business). Always check the why.
  • ❌ Ignoring the moat (Graham's cigar-butts can burn).
  • ❌ Selling too early on a great compounder; or holding a value trap too long.

Compiled 2026-08-17 from Graham "The Intelligent Investor" + Buffett letters/Berkshire. Not financial advice.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Buffett Graham AI skill do?

Warren Buffett + Benjamin Graham value investing. Buy wonderful companies at fair prices within your circle of competence, with a margin of safety. Quantitative screen: P/E, P/B, debt/equity, ROE, FCF yield, moat proxies. yfinance-based scanner.

Why use Buffett Graham on TypingMind?

Because you install it once and use it with any model. Buffett Graham is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Buffett Graham in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mrhustlex/Trading-Masters-Strategies/tree/main/skills/buffett-graham. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Buffett Graham?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Buffett Graham?

As many as you like. As long as a model supports skills, you can use Buffett Graham with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Buffett Graham AI skill free?

Yes. It is published on GitHub by mrhustlex under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇