Receber por email
← Voltar para o catálogo

longbridge-buffett-moat-analyzer

Buffett-style single-stock moat diagnostic — "Would Buffett buy this stock?" Five dimensions: business & moat / financial health / management & capital allocation / valuation & margin of safety / long-term visibility. Data from Longbridge CLI first, MCP fallback, WebSearch only for gaps. Runs cross-statement reconciliation (勾稽校验) BEFORE scoring; data-source appendix closes with a one-line reconcil

27estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add longbridge/skills

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/longbridge-buffett-moat-analyzer/svg)](https://www.skillteca.com.br/skills/longbridge-buffett-moat-analyzer)

Skills relacionadas

Ver todas de Dados e Análise →

Alerta por categoria

Receba novas skills de Dados e Análise toda segunda

1 email curto, só com as skills novas de Dados e Análise. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

longbridge-buffett-moat-analyzer

Prompt-only Buffett-style moat diagnostic. Given a single ticker, produces a five-dimension verdict — moat / financial health / management / valuation / long-term visibility — closed with a Buffett-voice narrative, an explicit holding-period expectation, and a mandatory data-source appendix whose final row is a one-line reconciliation summary.

Response language: detect the user's input language (Simplified Chinese / Traditional Chinese / English) and render the entire report — every section heading, label, dimension write-up, Buffett-voice narrative, user-education block, appendix row, reconciliation summary, and disclaimer — in that one language. Do not mix languages within a single output. The output template in references/output.md is shown in English for reference; translate it as a whole into the user's language using the label-translation lookup in that file. The error / data-source tables inside this SKILL.md remain 3-column because they document what the skill says under each language — that 3-column form is for the skill's reference docs, not for the user-facing report.

When to use

  • "巴菲特会买茅台吗" / "巴菲特會買茅台嗎" / "would Buffett buy Moutai"
  • "帮我用巴菲特的方法诊断 700.HK" / "幫我用巴菲特的方法診斷 700.HK" / "diagnose 700.HK Buffett-style"
  • "AAPL 有护城河吗" / "AAPL 有護城河嗎" / "does AAPL have a moat"
  • "这只股票是不是好生意" / "這隻股票是不是好生意" / "is this a good business"
  • "NVDA 的护城河宽不宽" / "NVDA 的護城河寬不寬" / "how wide is NVDA's moat"
  • "我持有比亚迪 6 个月了,长期值得拿吗" / "我持有比亞迪 6 個月了,長期值得拿嗎" / "I've held BYD 6 months, worth holding long-term"

For Graham-style net-net cigar-butt analysis, use longbridge-graham-stock-analysis. For pure DCF intrinsic value, use longbridge-dcf. For three-statement reading, use longbridge-financial-report. For comparable peers, use longbridge-peer-comparison.

Cognitive frame (do not skip)

Buffett strategy is long-term ownership of high-quality businesses, not market timing. Two things every output must surface alongside the score:

  1. Holding-period expectation — Buffett's reference is "ideally forever, at minimum 3 years." If the user has a < 3-year capital horizon, warn explicitly that this framework is not the right lens.
  2. Price vs business quality — "A great business at a fair price is far better than a fair business at a great price." The valuation dimension is a margin-of-safety check on a separately-scored quality verdict; never collapse quality and price into one number.

Two failure modes the user must be able to distinguish:

  • "Great business, wait for price" → moat wide, financials clean, but valuation rich → 🟡 watchlist with a target-price band, not a buy.
  • "Cheap but no moat" → low PE/PB but moat narrow or absent → ❌ not a Buffett candidate; redirect to Graham (longbridge-graham-stock-analysis).

Workflow

  1. Resolve symbol to <CODE>.<MARKET> (e.g. 00700.HK, AAPL.US, 600519.SH).
  2. Sector triage:
  3. Bank / insurance / brokerage → moat framework still applies but tweak financial-health dimension (use ROA, NIM, NPL, capital adequacy in place of FCF/leverage). Note this in the report.
  4. Pre-revenue / heavy-loss / lifecycle-stage-zero biotech → halt: Buffett framework needs a track record; suggest the user use longbridge-fundamental for an early-stage view instead.
  5. ST / 退市风险 / listed < 3 years → emit report but tag earnings-stability and capital-allocation dimensions as "insufficient history" and pro-rate scores.
  6. Fetch raw data via Longbridge CLI first (parallel where possible). See [§CLI](#cli). If longbridge is missing, fall back to MCP (see [§MCP fallback](#mcp-fallback)). Use WebSearch only for items genuinely outside Longbridge (industry outlook, qualitative management signals, brand surveys, regulatory news).
  7. Reconciliation gate (勾稽校验) — runs before any scoring. See [§Reconciliation](#reconciliation-勾稽校验). Two-state outcome:
  8. Pass (every check within tolerance) → proceed to scoring. A one-line summary of the result still appears at the end of the data-source appendix.
  9. Fail (any check exceeds tolerance) → halt scoring, emit a halt message naming the failing check and gap, still print the data-source appendix and reconciliation summary.
  10. Five-dimension scoring — each dimension gets a 1–5 star rating with concrete evidence. See references/scoring.md for the rubric per dimension.
  11. Holding-period mapping — derive expected minimum hold from moat width (★★★★★ → 5y+, ★★★★ → 3–5y, ★★★ → 1–3y, ★★ or below → not a Buffett candidate). See references/scoring.md §Holding-period.
  12. Output the report defined in references/output.md — diagnostic card → 5-dimension detail → Buffett-voice narrative → user education block → Data Source Appendix (mandatory) ending with the reconciliation summary line. Close with the disclaimer variant matching the user's input language (single-language only — see references/output.md §Disclaimer variants).

CLI

Run longbridge <subcommand> --help to verify exact flags before each call — do not hard-code flag names without verification. Primary calls (run in parallel):

# Balance sheet — leverage, equity (PB / ROE denominator), debt
longbridge financial-report <SYMBOL> --kind BS --report af --format json    # last 5 annual (10y ideal — fetch as many as available)
longbridge financial-report <SYMBOL> --kind BS --report qf --format json    # last 4 quarterly

# Income statement — ROE, gross margin, earnings stability, EPS trend
longbridge financial-report <SYMBOL> --kind IS --report af --format json
longbridge financial-report <SYMBOL> --kind IS --report qf --format json

# Cash flow — FCF = OCF − Capex, capex intensity, buyback / dividend cash outflow
longbridge financial-report <SYMBOL> --kind CF --report af --format json
longbridge financial-report <SYMBOL> --kind CF --report qf --format json

# Snapshot: PE, PB, market cap, dividend yield, shares outstanding
longbridge calc-index <SYMBOL> --format json
longbridge quote <SYMBOL> --format json

# Long-window history for valuation-vs-history band
longbridge kline <SYMBOL> --period day --count 2500 --format json           # ~10 years for PE/PB percentile

# Dividend & buyback history (capital allocation track record)
longbridge dividend <SYMBOL> --format json
longbridge corporate <SYMBOL> --format json                                  # buyback / split / spin-off

# Ownership & insider activity (management alignment, capital allocation signals)
longbridge ownership <SYMBOL> --format json
longbridge insresearch <SYMBOL> --format json

# Company profile + industry classification (for moat-type hypothesis)
longbridge basicinfo <SYMBOL> --format json
longbridge company-profile <SYMBOL> --format json

# Peer set for moat / margin / ROE benchmarking
longbridge peer-comparison <SYMBOL> --format json

WebSearch fallback — only for items not available from Longbridge

| Missing data | WebSearch query pattern | |---|---| | Industry runway / disruption risk | "<industry> 2025 outlook", "<industry> disruption risk" | | Brand / pricing-power signals | "<company> price increase 2024 2025", "<brand> brand value ranking" | | Management qualitative track record | "<CEO name> capital allocation", "<CEO name> shareholder letter" | | Regulatory / policy overhangs | "<sector> regulation <region> 2025" | | Latest insider transactions if ownership is stale | "<ticker> insider selling 2025" |

Every WebSearch-sourced figure must be tagged [Source: WebSearch — <publisher>, <date>, <url>] in the appendix; never silently mix it with Longbridge data.

Reconciliation (勾稽校验)

Before any scoring, verify the fetched figures are internally consistent. Reconciliation is user-visible in this skill — a one-line summary always appears as the final row of the Data Source Appendix (per the design doc's transparency requirement). If a check fails, scoring

Compartilhar X LinkedIn