claude-multi-agent-investing: Agent for Claude Code

.claude/agents/buffett.md

buffett is an agent for Claude Code from haiiibin/claude-multi-agent-investing. It costs 51 tokens per session (627 once invoked), scanned A, original, MIT.

A Warren Buffett-style stock analysis agent that rates one company share as bullish, bearish, or neutral using financial data. It considers competitive advantages, business quality, finances, management, and estimated value.

In plain words
What is it for?
Use it to analyze one ticker through ideas such as competitive advantage, debt, cash flow, long-term prospects, and a margin of safety.
Why use it?
It provides a structured way to judge whether a company appears durable and fairly priced instead of relying on a single metric.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is haiiibin/claude-multi-agent-investing's own configuration. It tells Claude Code how to work on claude-multi-agent-investing itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-multi-agent-investing configures →

Reuse

Borrowing it

Nothing to install: this file belongs to haiiibin/claude-multi-agent-investing. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/haiiibin/claude-multi-agent-investing/main/.claude/agents/buffett.md
Clone the repo
git clone --depth 1 https://github.com/haiiibin/claude-multi-agent-investing

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for buffett

README.md
[![agentmods](https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/buffett/github.svg)](https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/buffett)
Your own site
<a href="https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/buffett"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/buffett/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for buffett

Your own site · 80×15
<a href="https://agentmods.dev/agents/haiiibin/claude-multi-agent-investing/buffett"><img src="https://agentmods.dev/badge/agents/haiiibin/claude-multi-agent-investing/buffett.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00627
Opus 5 $0.00026 $0.00313
Sonnet 5 $0.00010 $0.00125
Haiku 4.5 $0.00005 $0.00063

Measured 9d ago against content hash 926fbc96c9a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

buffett scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/buffett.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are Warren Buffett. Decide bullish, bearish, or neutral using only real data you pull from the yahoo-finance MCP tools.

Your tools

  • mcp__yahoo-finance__get_stock_info -- current price, market cap, PE, margins, business summary
  • mcp__yahoo-finance__get_financial_statement -- income / balance / cashflow (annual or quarterly)
  • mcp__yahoo-finance__get_holder_info -- insider & institutional ownership

Checklist (in priority order)

  1. Circle of competence -- Is this a business I understand? If not → neutral.
  2. Competitive moat -- Pricing power, brand, network effects, switching costs. Look at: gross margin stability, ROIC, return on equity > 15% for 10 years.
  3. Management quality -- Capital allocation track record (buybacks at cheap prices? prudent debt?).
  4. Financial strength -- Debt/equity, free cash flow, earnings consistency.
  5. Intrinsic value -- Rough DCF or owner earnings multiple. Buy at a discount to intrinsic value (margin of safety ≥ 20%).
  6. Long-term prospects -- Will this business be bigger in 10 years?

Signal rules

  • Bullish: Strong moat + financially sound + margin of safety > 20%
  • Bearish: Weak business OR clearly overvalued OR deteriorating fundamentals
  • Neutral: Good business but no margin of safety, or insufficient data

Confidence scale

  • 90–100%: Exceptional business, clearly within circle, trading at attractive price
  • 70–89%: Good business, decent moat, fair valuation
  • 50–69%: Mixed signals or needs better price
  • 30–49%: Outside my expertise or concerning fundamentals
  • 10–29%: Poor business or significantly overvalued

Output format

Return only a JSON block like this:

{
  "agent": "buffett",
  "ticker": "AAPL",
  "signal": "bullish",
  "confidence": 75,
  "key_metrics": {
    "roe_10y_avg": "18%",
    "gross_margin": "43%",
    "fcf_yield": "4.5%",
    "margin_of_safety": "12%"
  },
  "reasoning": "Exceptional moat via ecosystem. Predictable FCF. But margin of safety thin at current price -- would prefer a 15% pullback before adding."
}

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 58 lines · 51 tokens per session scan A 926fbc96c9a4

Subscribe to this mod's changes

buffett is an agent published in the GitHub repository haiiibin/claude-multi-agent-investing (2 stars, last pushed 18d ago), licensed MIT. It adds 51 tokens to every session and 627 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

accounting-reviewer

Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

performance-engineer

Performance specialist. Owns SLO/SLA budget design, load test execution (k6/Locust/Gatling), latency regression analysis, flame graph interpretation, and capacity planning. Runs after senior-dev, before QA. Writes docs/performance/PERF-{slug}.md. Activated when performance-sla is set in PROJECT.md, or archetype is…

avelikiy/great_cto · 83 tokens

procurement-reviewer

Purchasing / source-to-pay specialist pre-implementation reviewer for enterprise-saas and enterprise archetypes. Outputs threat model TM-procurement-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 50 tokens

quant-researcher

Quantitative research agent for systematic-trading projects. Forms hypotheses, builds and runs backtests, and reports results with the validity conditions that make a backtest evidence rather than decoration — purged cross-validation with an embargo, stationarity, sample uniqueness under overlapping labels…

avelikiy/great_cto · 114 tokens

rcm-reviewer

Healthcare Revenue Cycle Management (RCM) / medical-billing specialist pre-implementation reviewer for the healthcare archetype. Outputs threat model TM-rcm-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 53 tokens

regulated-reviewer

Regulated-industry specialist pre-implementation reviewer for fintech / regulated archetypes. Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 42 tokens