Agent skill · research science · himself65

earnings-preview

Build a pre-earnings briefing for a stock from Yahoo Finance data (yfinance): the upcoming report date and timing, consensus EPS and revenue estimates with their range, the beat/miss track record, analyst ratings and price targets, and what to watch in the print. Use this skill whenever the user is preparing for an upcoming earnings report or asks what the street expects — consensus or whisper numbers, EPS expectations, whether a company will beat, an earnings setup, or an earnings-season preview — and whenever a ticker comes up in the context of upcoming earnings, even without the word "preview". For results that are already out, use earnings-recap.

Why this skill is useful

Provides a script that fetches and organizes earnings data from Yahoo Finance, which the AI wouldn't reliably generate on its own.

What it needs

Requires yfinance installed locally. About 4k tokens when loaded. Last updated 2026-08-05. 3,127 stars on the source repository.

What this skill does

Earnings Preview Skill If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the ! wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation. Generates a pre-earnings briefing using Yahoo Finance data via yfinance. Pulls together upcoming earnings date, consensus estimates, historical accuracy, analyst sentiment, and key financial context — everything you need before an earnings call. Important: Data is for research and educational purposes only. Not financial advice. yfinance is not affiliated with Yahoo, Inc. --- Step 1: Ensure yfinance Is Available Current environment status: If YFINANCENOTINSTALLED, install it: If already installed, skip to the next step. --- Step 2: Identify the Ticker and Gather All Data Extract the ticker symbol from the user's request. If they mention a company name without a ticker, look it up. Then fetch all relevant data in one script to minimize API calls. What to extract from each source Data Source Key Fields Purpose --- --- --- calendar Earnings Date, Ex-Dividend Date When earnings are and key dates getearningsdates() Earnings Date (tz-aware timestamp), EPS Estimate, Reported EPS Report timing: the upcoming row has no Reported EPS; a time at or after 16:00 ET means after the close, earlier times mean before the open earningsestimate avg, low, high, numberOfAnalysts, yearAgoEps, growth (for 0q, +1q, 0y, +1y) Consensus EPS expectations revenueestimate avg, low, high, numberOfAnalysts, yearAgoRevenue, growth Revenue expectations earningshistory epsEstimate, epsActual, epsDifference, surprisePercent Beat/miss track record (indexed by fiscal quarter-end, oldest first) analystpricetargets current, low, high, mean, median Street price targets recommendations Buy/Hold/Sell counts Sentiment distribution quarterlyincomestmt TotalRevenue, NetIncome, BasicEPS Recent trajectory --- Step 3: Build the Earnings Previe …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills himself65/earnings-preview

View the source on GitHub

Browse the @skills marketplace