Agent skill

Buffett

by digoal in digoal/blog

Activates Warren Buffett's complete investment thinking system.

GPL-2.0Auto-check passedBusiness, Finance & HR

Install Buffett

skills CLI
$ npx skills add digoal/blog --skill buffett -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install digoal/blog buffett --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/digoal/blog.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/buffett .claude/skills/buffett && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
buffett
GitHub stars
8.6k
Used in
1 other repo
Token cost
~2.7k tokens
SKILL.md length
863 words
Files
9 (incl. references)
Skills in repo
98
Repo updated
First seen
Licence
GPL-2.0

At a glance

Activates Warren Buffett's complete investment thinking system.

  • Works in 5 steps: Mental Positioning (do first — cannot… → Business Quality (read 03 + 04) → Financials & Valuation (read 05 + 06) → …
  • It: analyzing any stock
  • SKILL.md covers Quick Filter (2 minutes, 8…, Reference File Reading Protocol, Deep Analysis Framework (Path… and Standard Output Format, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Buffett is an agent skill from digoal/blog. Activates Warren Buffett's complete investment thinking system. The following scenarios must trigger it: analyzing any stock or company, evaluating investment opportunities, interpreting financial reports/annual reports/shareholder letters, assessing business moats or competitive advantages, evaluating management quality and integrity, making buy/hold/sell decisions, understanding core value investing concepts (compounding/intrinsic value/margin of safety/circle of competence/Mr. Market), analyzing any industry…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/01-thinking-frameworks.md`, `references/02-investment-philosophy.md` and `references/03-business-moat.md`).

It sits in Business, Finance & HR, covering Financial analysis and Banking and insurance. The repository describes itself as: AI,Opensource,Database,Business,Finance,Minds. git clone --depth 1 https://github.com/digoal/blog. The licence is GPL-2.0.

When your agent uses it

  • It: analyzing any stock
  • Evaluating investment opportunities
  • Interpreting financial reports/annual reports/shareholder letters
  • Assessing business moats

Example prompts

  • “Buffett,”
  • “Use the buffett skill to activate Warren Buffett's complete investment thinking system”
  • “/buffett”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Mental Positioning (do first — cannot skip)
  2. Business Quality (read 03 + 04)
  3. Financials & Valuation (read 05 + 06)
  4. Risk (read 07 when concerns exist)
  5. Industry (read the relevant chapter in 08)

What it can do on your machine

Read from SKILL.md and the folder at commit 69fb793. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Buffett loads about 2.7k tokens when it runs, and up to ~40k if it reads all its reference files. Until then it costs about 237 tokens; SKILL.md has 863 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~237
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~40k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from digoal/blog at commit 69fb793, republished under its GPL-2.0 licence (© digoal). 863 words, ~2,703 tokens.

Download SKILL.mdSave it as .claude/skills/buffett/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
buffett
description
Activates Warren Buffett's complete investment thinking system. The following scenarios must trigger it: analyzing any stock or company, evaluating investment opportunities, interpreting financial reports/annual reports/shareholder letters, assessing business moats or competitive advantages, evaluating management quality and integrity, making buy/hold/sell decisions, understanding core value investing concepts (compounding/intrinsic value/margin of safety/circle of competence/Mr. Market), analyzing any industry (insurance/banking/consumer/media/energy/railroads/technology), handling capital allocation/buybacks/dividends questions, assessing market sentiment and macro risks, exploring when to sell, analyzing institutional imperative or management behavior. Even if the user does not mention "Buffett," proactively trigger whenever the topic involves investment analysis, business quality assessment, or investment decision-making.

Buffett Investment Thinking System

What you embody is the complete investment wisdom Warren Buffett accumulated over 70 years: Graham's margin of safety, Munger's quality premium, Berkshire's capital allocation philosophy, and the common sense and honesty that runs throughout.

Not applying formulas — thinking the way he actually thinks.

Read reference files: Use the Read tool, with path = the Base directory shown at the top when the skill loads + /references/filename. Construction: {Base directory}/references/03-business-moat.md (replace {Base directory} with the actual path displayed). Files must actually be read before analysis — do not rely on built-in knowledge as a substitute.


Quick Filter (2 minutes, 8 questions)

Run these 8 questions first. Two "No" answers require strong justification; four "No" answers means pass and move on to the next opportunity.

#DimensionQuestionNo = Red Flag
1Circle of CompetenceCan I explain in one paragraph how this business makes money?Can't explain = outside circle of competence
2DurabilityWill this company still exist and be more competitive in 10 years?No = technology/model disruption risk
3MoatCould a competitor replicate its core advantage with serious effort?Yes = no moat
4Pricing PowerCan it raise prices 5–10% without losing a significant share of customers?No = commodity-type business
5Earnings QualityDoes profit genuinely convert to cash (rather than accounting tricks)?No = earnings quality problem
6Debt SafetyIn the industry's worst-case scenario (revenue −30%), can it survive?No = leverage risk
7Management IntegrityDoes management honestly confront problems rather than hide them?No = automatic veto
8Reasonable PriceIs the gap between current price and intrinsic value large enough?No = wait or skip

Integrity (Q7) is an automatic veto — no matter how good everything else looks.


Reference File Reading Protocol

Core principle: read on demand, do not read everything at once. Decide which files to read based on task type.

Task Type → Reading Path

A · Quick Judgment ("Is this worth deeper analysis?") → Use the 8-question filter directly — no need to read reference files. Pass the filter before proceeding to B.

B · Full Company Deep Analysis (standard path, execute in order)

Required (in order):
  references/03-business-moat.md         ← Moat / business model / goodwill
  references/04-management-governance.md ← Management / culture / governance
  references/05-financial-metrics.md     ← Financial metrics / owner earnings
  references/06-valuation-capital.md     ← Valuation / margin of safety / capital allocation

Supplemental as needed:
  references/08-industry-playbooks.md    ← After identifying the industry, read the relevant chapter
  references/07-risk-behavior.md         ← When there are concerns about leverage / derivatives / value traps

C · Specific Topics (jump directly to the corresponding file)

User is asking about…Read
Moat / brand / goodwill / business model typereferences/03-business-moat.md
Management / integrity / institutional imperative / acquisition rationalereferences/04-management-governance.md
Financial statements / ROIC / owner earnings / look-through earningsreferences/05-financial-metrics.md
Valuation / margin of safety / buybacks / dividends / arbitrage / bondsreferences/06-valuation-capital.md
Hold / sell / whether to continue / trim positionreferences/07-risk-behavior.md (required — four sell criteria)
When to sell / value traps / behavioral bias / leverage / inflationreferences/07-risk-behavior.md
A specific industry (insurance / banking / consumer, etc.)Relevant chapter in references/08-industry-playbooks.md
Investment philosophy / compounding / intrinsic value / concentration vs. diversificationreferences/02-investment-philosophy.md
Mental frameworks / circle of competence / inversion / Mr. Marketreferences/01-thinking-frameworks.md

Deep Analysis Framework (Path B expanded)

1 · Mental Positioning (do first — cannot skip)

"Risk comes from not knowing what you are doing."

  • Circle of Competence: Can I explain in one paragraph how this business makes money? Cannot → stop and explain why.
  • Inversion check: In what ways could this investment lose me money? List the top three paths.
  • Time horizon: Use a "10-year hold" perspective, not "will it go up this quarter?"

Show full SKILL.md (352 more words)Show less
2 · Business Quality (read 03 + 04)

Five moat types: intangible assets, cost advantage, switching costs, network effects, efficient scale. Key judgment: trend (widening / stable / narrowing) — not just current state.

Management: Integrity (automatic veto) → capital allocation ability → owner mentality Watch for the institutional imperative — it causes excellent managers to make irrational decisions.

"You can never make a good deal with a bad person, no matter how attractive the prospects."


3 · Financials & Valuation (read 05 + 06)
Owner Earnings = Net Income + D&A − Maintenance Capex − Working Capital Increase

ROIC 10-year average target >15%; cash conversion rate target >90%.

Margin of Safety Tiers:

CertaintyDiscount Required
Very high (wide moat + predictable growth)20–30%
Generally excellent30–40%
Uncertainty factors present40–50%
Cannot reliably estimateDo not invest

4 · Risk (read 07 when concerns exist)

All three risk categories must be checked:

  • Structural: moat narrowing, technological disruption, regulatory attack
  • Financial: excessive leverage, cash flow fabrication, off-balance-sheet liabilities
  • Behavioral: confirmation bias, sunk cost, institutional imperative

Sell Criteria (four): Price severely overvalued / Fundamental moat destruction / Management integrity issue (sell immediately) / A significantly better opportunity exists


5 · Industry (read the relevant chapter in 08)

After identifying the industry, jump directly to the corresponding chapter in references/08-industry-playbooks.md, which contains key metrics, historical case studies, and macro sensitivity analysis for that industry.


Standard Output Format

All sections are required outputs and cannot be omitted. Quick judgment (Path A) may use one sentence per section; deep analysis (Path B) requires full expansion.

## Conclusion
[Buy / Don't Buy / Keep Watching / Hold / Sell] — one-sentence core rationale

## Circle of Competence Assessment   ← required output, cannot skip
[State clearly: inside circle / outside circle / boundary area]
If outside circle: stop analysis and honestly explain why.

## Key Assumptions (3–5)            ← required output, cannot skip
[Core assumptions the decision depends on — listed explicitly for later verification]

## Business Quality
- Moat: [type] + [strong/medium/weak] + [widening/stable/narrowing]
- Management: [integrity rating] / [capital allocation rating] / [owner mentality rating]
- Business model: [franchise / commodity / hybrid]
- Institutional imperative warning: [present / absent — state basis]

## Financial Snapshot
- ROIC (10-year average):
- Cash conversion rate:
- Debt safety (worst-case scenario test):
- Owner earnings estimate:

## Valuation
- Intrinsic value range:
- Current margin of safety: [%] (corresponding certainty level: high/medium/low)
- Recommended buy price:

## Sell Criteria — Item-by-Item Check  ← required for hold/sell scenarios, each item explicitly judged
1. Price severely overvalued? [Yes/No + basis]
2. Fundamental moat destruction? [Yes/No + basis]
3. Management integrity issue? [Yes/No + basis; if "Yes," sell immediately]
4. Significantly better opportunity available? [Yes/No + basis]

## Key Risks (max 3)
[Focus on the most critical — do not list everything]

## Monitoring Indicators             ← required output, cannot skip
- Check each quarter:
- Signals that trigger a sell:

## Overall Assessment
[From Buffett's perspective and in his tone — give the decision recommendation and rationale directly]

Reference File Index

FileContents
references/01-thinking-frameworks.mdCircle of competence, inversion, Mr. Market, long-termism, Munger's multi-model framework, independent thinking, opportunity cost, patience
references/02-investment-philosophy.mdIntrinsic value, compounding, undervaluation, concentrated investing, rebuttal to efficient market theory, stance on market forecasting
references/03-business-moat.mdFive moat types, business model (franchise vs. commodity), economic goodwill, durability of competitive advantage
references/04-management-governance.mdThree-dimensional management assessment, institutional imperative, corporate culture, governance and shareholder orientation, acquisition criteria
references/05-financial-metrics.mdOwner earnings, ROIC/ROE, cash conversion rate, look-through earnings, balance sheet health
references/06-valuation-capital.mdThree methods for intrinsic value estimation, margin of safety, five capital allocation paths, buybacks, dividends/retained earnings/taxes, arbitrage/bonds/convertibles
references/07-risk-behavior.mdWhen to sell, value traps, leverage, inflation, derivatives, common behavioral biases
references/08-industry-playbooks.mdInsurance (including underwriting discipline/float), banking, consumer retail, media, energy, railroads, technology, cautionary tales (airlines/textiles)

© digoal, GPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (references) in skills/buffett of digoal/blog.

  • SKILL.md
  • references/01-thinking-frameworks.md
  • references/02-investment-philosophy.md
  • references/03-business-moat.md
  • references/04-management-governance.md
  • references/05-financial-metrics.md
  • references/06-valuation-capital.md
  • references/07-risk-behavior.md
  • references/08-industry-playbooks.md

Open the folder on GitHubat commit 69fb793

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in digoal/blog, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Buffett next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Buffett compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Buffett this skilldigoal/blog8.6k1 repos~2.7kAutomated safety check: PassGPL-2.0
Jfr Mechanismfranklee16/academic-research-skills2231 repos~362Automated safety check: PassNone
Credit Analysttheneoai/awesome-skills183—~2kAutomated safety check: PassMIT
Financial Analyzinghuangjia2019/claude-code-engineering1.1k1 repos~474Automated safety check: PassNone
Longbridge Earningshelsome/folio2691 repos~2.5kAutomated safety check: PassNone
Swapper Depositswapperfinance/swapper-toolkit852—~1.8kAutomated safety check: PassMIT

Similar skills

  • Jfr Mechanism

    franklee16/academic-research-skills

    A skill your agent uses when the mechanism section of a 《金融研究》 (Journal of Financial Research) manuscript stops at "promotes / inhibits" — to pin the effect to a concrete financial channel (credit /…

    223 GitHub starsUsed in 1 repo~362 tokens
    Business, Finance & HRAuto-check passed
  • Credit Analyst

    theneoai/awesome-skills

    A senior credit analyst with 15+ years in commercial and retail lending at major banks.

    183 GitHub stars~2k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Financial Analyzing

    huangjia2019/claude-code-engineering

    Analyze financial data, calculate financial ratios, and generate analysis reports.

    1.1k GitHub starsUsed in 1 repo~474 tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Earnings

    helsome/folio

    Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.

    269 GitHub starsUsed in 1 repo~2.5k tokens
    Business, Finance & HRAuto-check passed
  • Swapper Deposit

    swapperfinance/swapper-toolkit

    Deposit and bridge funds into a wallet or protocol using Swapper Finance.

    852 GitHub stars~1.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • Okx Cex Earn

    okx/agent-skills

    Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI.

    185 GitHub starsUsed in 2 repos~3.3k tokens
    Business, Finance & HRAuto-check passed

More from digoal/blog

All 98 skills in this repo
  • 三层审查模型,逐段逐句验证文章真伪、证据链与逻辑结构。Use when the user asks to fact-check, verify, audit, or evaluate the credibility of an article, essay, report, opinion piece, social-media post, or any written claim —…

    8.6k GitHub stars~939 tokensUpdated 9 days ago
    Auto-check passed
  • Find latent bugs in a local PostgreSQL source tree (RELxxSTABLE branch or HEAD) the way a core hacker does: build a heavily-poisoned debug instance (cassert + cache-discard + -O0/-ggdb3 + core…

    8.6k GitHub stars~4k tokensUpdated 9 days ago
    Auto-check passed
  • Digoal

    digoal/blog

    Portable digital employee distilled from digoal's personal blog for PostgreSQL, PolarDB, DuckDB, AI+database, vector/RAG, database operations, source-code reading, technical content creation…

    8.6k GitHub stars~2.2k tokensUpdated 9 days ago
    Auto-check passed
  • 从论文 PDF 文件或论文 PDF URL 生成通俗易懂、图文并茂、带批判性评估的中文 Markdown 解读,并保存到当前项目的 markdown 目录。Use when the user asks to interpret,精读,解读,summarize,explain,analyze, or write an article from an academic paper PDF…

    8.6k GitHub stars~1.5k tokensUpdated 9 days ago
    Auto-check passed
  • Analyze a product from documentation, websites, PDFs, articles, release notes, pricing pages, app listings, reviews, filings, or related links; save separate intermediate analyses from seven roles…

    8.6k GitHub stars~1.8k tokensUpdated 9 days ago
    Auto-check passed
  • Turn a blog post, article, notes, or any source material into a set of vertical poster images — one cover plus several coherent content slides that explain the core points.

    8.6k GitHub stars~1.4k tokensUpdated 9 days ago
    Auto-check passed

Questions about Buffett

What does Buffett do?

Activates Warren Buffett's complete investment thinking system. Buffett is an agent skill from digoal/blog. Activates Warren Buffett's complete investment thinking system.

When should I use Buffett?

Buffett fits situations like: it: analyzing any stock; evaluating investment opportunities; interpreting financial reports/annual reports/shareholder letters; assessing business moats.

How do I install Buffett in Claude Code?

Run `npx skills add digoal/blog --skill buffett -a claude-code`. Or copy the skill folder (skills/buffett in digoal/blog) into .claude/skills/buffett in your project. Claude Code loads it when a task matches its description.

How do I install Buffett in Codex?

Run `npx skills add digoal/blog --skill buffett -a codex`. Or copy the skill folder (skills/buffett in digoal/blog) into .agents/skills/buffett in your project. Codex loads it when a task matches its description.

Can I use Buffett in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add digoal/blog --skill buffett -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/buffett, .gemini/skills/buffett, .github/skills/buffett and .opencode/skills/buffett in your project.

What does Buffett need to run?

SKILL.md names no scripts, command-line tools or credentials: Buffett is instructions for the agent only.

Does Buffett access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Buffett safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Buffett use?

Buffett is published under the GPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Buffett use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 37k tokens, read only when the agent opens those files.

What are the alternatives to Buffett?

Skills that share tags, products or a category with Buffett: Jfr Mechanism (franklee16/academic-research-skills, 223 stars), Credit Analyst (theneoai/awesome-skills, 183 stars), Financial Analyzing (huangjia2019/claude-code-engineering, 1.1k stars) and Longbridge Earnings (helsome/folio, 269 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Buffett?

digoal (a GitHub user) maintains it in digoal/blog, which has 8,587 GitHub stars. The repository holds 98 skills in this directory. The repository was last updated on September 28, 2026.

Source: digoal/blog on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.