From longbridge
Company fundamentals via Longbridge — latest financial report KPIs (revenue / net income / EPS / ROE / margins / cash flow), YoY trends, dividend history, forward EPS consensus, analyst ratings, corporate actions. Three depth tiers (snapshot / standard / full). Triggers: "基本面", "业绩", "财报", "财务健康", "盈利能力", "营收", "净利润", "ROE", "毛利率", "分红历史", "EPS 预期", "研报评级", "業績", "財報", "財務健康", "毛利率", "分紅歷史", "fundamentals", "financials", "earnings report", "EPS forecast", "analyst rating", "ROE", "gross margin", "free cash flow", "dividend history", "company report".
npx claudepluginhub longbridge/skills --plugin longbridgeThis skill uses the workspace's default tool permissions.
Prompt-only analysis skill. Orchestrates Longbridge CLI commands to deliver a five-dimension fundamentals snapshot: profitability, financial health, growth, shareholder return, market expectation.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Prompt-only analysis skill. Orchestrates Longbridge CLI commands to deliver a five-dimension fundamentals snapshot: profitability, financial health, growth, shareholder return, market expectation.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
LLM picks based on prompt verbosity:
| Tier | Trigger phrases | Tools called |
|---|---|---|
| snapshot | "X 怎么样", "how is X", brief curiosity | latest_financial_report + forecast_eps + consensus |
| standard (default) | "X 基本面 / 业绩 / 财报", "X fundamentals" | snapshot + financial_report (IS/BS/CF) + dividend |
| full | "X 全面分析", "detailed fundamentals" | standard + company + operating + corp_action + institution_rating |
Tiers are additive — don't pull all 8+ tools when the user asks a casual question.
For valuation lens (PE, PB) → longbridge-valuation. For comparison → longbridge-peer-comparison.
Run longbridge <subcommand> --help to verify exact flags. Standard tier example (run concurrently):
longbridge financial-report NVDA.US --format json # IS/BS/CF statements
longbridge dividend NVDA.US --format json
longbridge forecast-eps NVDA.US --format json
longbridge consensus NVDA.US --format json
Full tier — add:
longbridge company NVDA.US --format json
longbridge operating NVDA.US --format json
longbridge corp-action NVDA.US --format json
longbridge institution-rating NVDA.US --format json
longbridge-peer-comparison.longbridge is not installed, fall back to MCP (see MCP fallback section).{Symbol} ({code}) fundamentals — Source: Longbridge Securities (period end: {fp_end / rpt_date})
[1. Profitability]
- Revenue (latest quarter): X (currency), YoY +Y%
- Net income: X, YoY +Y%
- Gross / net margin: X% / Y%
- ROE: X%
[2. Financial health]
- Debt-to-equity: X%
- Operating cash flow (TTM): X
- Free cash flow: X
- Current / quick ratio (if available)
[3. Growth]
- Revenue YoY (last 4 quarters): +X% / +Y% / +Z% / +W% — trend description
- Net income YoY (last 4 quarters): same
[4. Shareholder return]
- Last dividend date / amount
- Dividend yield: X% (if computable)
- Recent buybacks / issuance (full tier only)
[5. Market expectations (analysts)]
- Consensus next-quarter EPS: X
- Coverage: N analysts; X buy / Y hold / Z sell
- Median target price: X
⚠️ 以上数据仅供参考,不构成投资建议。/ 以上數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
(Translate to the user's language; if a section's data is missing, state so explicitly — do not invent.)
The full IS / BS / CF / ratio field-name dictionary (中 / 繁 / EN), plus per-industry reading guidance, lives in references/field-dictionary.md. Load it on demand when the prompt actually requires field translation or industry context.
fp_end / rpt_date).Heuristics differ by sector. Anchor on vs industry mean or vs own history, not absolute thresholds. Concrete sector notes (banks / tech / cyclicals / asset-heavy) live in references/field-dictionary.md.
| Situation | Reply |
|---|---|
command not found: longbridge | Fall back to MCP; if MCP also unavailable, tell user to install longbridge-terminal. |
financial-report returns empty | "{symbol} has no reported earnings (newly listed?)." |
consensus < 3 analysts | Caveat: "small coverage — consensus is indicative only" |
dividend returns empty | "{symbol} pays no dividends or has no dividend record." |
stderr not logged in | Tell user to run longbridge auth login. |
If longbridge CLI is not installed (command not found), use MCP tools instead:
| MCP tool | CLI equivalent | Tier |
|---|---|---|
mcp__longbridge__latest_financial_report | longbridge financial-report | snapshot |
mcp__longbridge__forecast_eps | longbridge forecast-eps | snapshot |
mcp__longbridge__consensus | longbridge consensus | snapshot |
mcp__longbridge__financial_report | longbridge financial-report | standard |
mcp__longbridge__dividend | longbridge dividend | standard |
mcp__longbridge__company | longbridge company | full |
mcp__longbridge__operating | longbridge operating | full |
mcp__longbridge__corp_action | longbridge corp-action | full |
mcp__longbridge__institution_rating | longbridge institution-rating | full |
MCP setup: claude mcp add --transport http longbridge https://openapi.longbridge.com/mcp (quote scope).
longbridge-valuationlongbridge-peer-comparisonlongbridge-newslongbridge-quotelongbridge-fundamental/
├── SKILL.md
└── references/
└── field-dictionary.md # IS/BS/CF/ratio field names + per-industry caveats
Prompt-only — no scripts/.