Builds pre-earnings previews for US stocks with consensus estimates, historical financial trends, and bull/base/bear scenarios. Uses SEC EDGAR for historical data and web search for consensus estimates and earnings dates.
Ships in pionex-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Build a pre-earnings preview with consensus estimates, historical trend, scenarios, and catalyst checklist. Uses SEC EDGAR for historical financials and web search for consensus/dates.
No dependencies required. All scripts use Python standard library only.
Always search first. Do NOT rely on training data for consensus estimates.
Search A — earnings date:
[Company] [ticker] earnings date Q[X] FY[YYYY][Ticker] earnings release date whenSearch B — consensus estimates (run in parallel with Step 2):
[Company] Q[X] FY[YYYY] earnings preview consensus estimate revenue EPS[Ticker] earnings estimates Wall Street expectations Q[X] FY[YYYY]If Search B returns only vague language without absolute dollar figures, run:
[Ticker] Q[X] FY[YYYY] revenue estimate $B analyst consensusExtract ALL before proceeding:
| Field | Notes |
|---|---|
| Earnings date | Exact date; "date not confirmed" if unavailable |
| Quarter being reported (e.g. Q2 FY2026) | Explicit fiscal quarter — not "next quarter" |
| Revenue consensus estimate | Must be absolute dollar value (e.g. "$29.3B") |
| Adj. EPS consensus estimate | Must be a dollar figure (e.g. "$2.18") |
| Prior guidance range | Company's guidance for this period |
| Key analyst themes | 2-3 expectations or concerns |
Verify the earnings date is in the future. If it has passed, that quarter is already reported — search for the next upcoming date instead.
Run in parallel with Search B:
bash run.sh <SYMBOL> --form 10-Q --periods 8
bash run.sh <SYMBOL> --form 10-K --periods 3
10-Q data is YTD cumulative. Derive standalone quarters by subtraction:
Present as mandatory trend table (minimum 4 quarters + estimate row):
| Quarter | Revenue | YoY | Gross Margin | Op. Margin | Diluted EPS |
|---|---|---|---|---|---|
| Q[X-3] FY[YYYY] A | $X.XB | +X% | XX.X% | XX.X% | $X.XX |
| Q[X] FY[YYYY] E | $X.XB(E) | +X%E | — | — | $X.XX(E) |
The last row "Q[X] FY[YYYY] E" is consensus from Step 1 — mark as "(E)" for estimate.
| Bull | Base | Bear | |
|---|---|---|---|
| Revenue | Beat consensus by ~X% | In-line | Miss by ~X% |
| Adj. EPS | Beat | In-line | Miss |
| Gross margin | Expansion vs prior year | Flat | Compression |
| Key driver | Upside in [segment] | Steady execution | Weakness in [risk] |
Anchor to history: Use the company's historical beat/miss magnitude from the trend table to size the bull and bear scenarios. For example, if the company has beaten revenue consensus by ~10% in recent quarters (e.g. NVDA), use ~8-12% for bull — not a generic 2-4%. For mature companies with consistent ~1% beats, use ~1-3%. State the primary trigger for each scenario.
List 3-5 watchpoints:
[ ] Key question (e.g. "Does [segment] revenue accelerate above X%?")
Why it matters: [1-2 sentences]
What to look for: [specific metric or commentary]
Focus on: key segment variance, margin trajectory, forward guidance, prior quarter risks.
Header box (mandatory, always first):
[COMPANY] ([TICKER]) — Q[X] FY[YYYY] EARNINGS PREVIEW
Earnings date: [exact date or "TBC"]
Consensus: Revenue $X.XB (+X% YoY) | Adj. EPS $X.XX (+X% YoY)
Prior guidance: [range or "not provided"]
Source: [source name, retrieved YYYY-MM-DD]
Section 1 — Trend table (mandatory, min 4 quarters + estimate row)
Section 2 — Trend commentary (3-5 sentences)
Section 3 — What the Street expects
Section 4 — Scenarios (Bull / Base / Bear table)
Section 5 — Catalyst checklist (3-5 watchpoints)
Closing caveat:
Earnings previews are based on consensus estimates from public sources and historical reported data. Actual results may differ materially. This is not investment advice.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/pionex-skills:financial-analysis-earnings-previewfrom pionex-skills
pionex-skills@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin pionex-skills12 skills in this plugin
/financial-analysis-compsComparable company analysis using SEC EDGAR financial data. Use when asked to: compare multiple stocks; analyze valuation multiples for a peer group; benchmark margins, growth, or valuation across companies; find the cheapest or most expensive stock in a group; see how a company stacks up against peers. Triggers: "compare AAPL vs MSFT vs GOOGL", "tech sector comps", "which mega-cap has best margins", "peer valuation analysis", "compare these stocks", "how does NVDA compare to AMD". Note: For discovering/screening stocks by theme or criteria, use stock-screening instead.
/financial-analysis-dcfDCF (Discounted Cash Flow) valuation for US stocks using SEC EDGAR financials. Use when asked to: estimate intrinsic value or fair value of a US stock; determine if a stock is overvalued or undervalued; run a discounted cash flow analysis; calculate upside/downside from current price. Triggers: "what is AAPL worth", "DCF MSFT", "is NVDA overvalued", "intrinsic value of GOOGL", "fair value Tesla".
/financial-analysis-earningsQuarterly earnings analysis for US stocks using SEC EDGAR financial data. Use when asked to: analyze a company's latest quarterly results; review Q1/Q2/Q3/Q4 earnings; check if a company beat or missed estimates; understand revenue, margin, or EPS trends; get a beat/miss breakdown; review guidance or management commentary after an earnings release. Triggers: "analyze AAPL earnings", "did MSFT beat estimates", "NVDA Q4 results", "earnings update for GOOGL", "how did Tesla do last quarter".
/financial-analysis-stock-screeningStock screening and ranking for US equities using SEC EDGAR data. Use when asked to: find stocks by sector or theme; rank stocks by valuation, growth, or quality metrics; surface investment ideas; screen for stocks meeting specific criteria; find the best growth/value/quality stocks in a group. Triggers: "best AI stocks", "cheap healthcare stocks", "fastest growing semiconductors", "find me value stocks", "screen for high-growth tech", "rank these stocks by quality", "which of these is the best growth stock". Note: For side-by-side peer benchmarking with statistical analysis, use comps-analysis instead.
/pionex-botUse when the user asks to create, query, list, adjust, reduce, or cancel Pionex bot orders (Futures Grid, Spot Grid, Smart Copy), or to manage user-defined signals (list, get, create, edit, delete). Includes listing/paginating through bot orders in bulk. Requires API credentials and bot permissions. Do NOT use for market data only (pionex-market), balance only (pionex-portfolio), or spot order placement/cancel (pionex-trade).
/pionex-earn-arbitrageUse when the user asks about Pionex Earn Arbitrage (InstFund): fetching available arbitrage products, querying user balances, staking (investing) into a product, or unstaking (withdrawing) from a product. Do NOT use for Dual Investment (pionex-earn-dual), spot trading (pionex-trade), futures grid bots (pionex-bot), or market data only (pionex-market).