Earnings Preview
Builds a pre-earnings briefing for a stock: the report date, what analysts expect, the company's beat-or-miss record and what to watch.
What it is
Earnings Preview prepares you for a company's next quarterly earnings report, the results public companies publish every three months. Give it a company name or stock ticker and it pulls free Yahoo Finance data and writes a briefing on what Wall Street expects. It is part of a collection of finance skills and suits individual investors, finance students and writers who cover stocks and want the key numbers in one place before the report comes out.
The agent runs a Python script using yfinance, a free library that reads Yahoo Finance data, and collects everything in one pass: the report date and whether it lands before the market opens or after it closes, consensus estimates for earnings per share (EPS) and revenue with their high and low range, the last four quarters of beats and misses, analyst ratings, price targets and recent financial statements. It flags unusual uncertainty when the gap between the highest and lowest estimate is more than about 20% of the consensus.
You get a briefing in five parts, with tables: date and context, consensus estimates, track record, analyst sentiment, and the few things to watch in this particular report. It ends with a read of what the market expects, not a buy or sell call. Yahoo data can lag paid real-time feeds by a few hours, estimates can change until the report date, and the skill says clearly that none of it is financial advice.
What it can do
- Finds the next report date and whether it comes before the market opens or after it closes.
- Tables this quarter's consensus EPS and revenue estimates with low, high, analyst count and year-ago figures.
- Flags unusual uncertainty when analysts' estimates are spread unusually wide.
- Summarizes the last four quarters of estimated versus actual EPS as a beat count and average surprise.
- Shows analyst ratings from strong buy to strong sell and the price-target range with implied upside or downside.
- Picks out what to watch for this company, such as growth speeding up or slowing, or margins widening or shrinking.
When to use it
- A company you own reports next week and you want to know what analysts expect before deciding whether to hold through it.
- You write a weekly stock newsletter and need a quick, consistent preview for each company reporting this week.
- You want to know whether a company usually beats its estimates or tends to disappoint.
- You are studying finance and want to see how expectations are set up before a real earnings report.
How it works
- 1You name a company or ticker, for example by asking what the street expects from Apple this quarter.
- 2The agent checks that the yfinance Python library is installed and installs it if it is missing.
- 3It runs one script that pulls the earnings calendar, estimates, past results, analyst ratings, price targets, recent prices and quarterly financial statements from Yahoo Finance.
- 4It works out the report timing from the scheduled time and checks how widely the analysts' estimates are spread.
- 5It writes the briefing with a headline, five sections and tables, then adds the caveats that apply.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/himself65/finance-skills/tree/main/plugins/market-analysis/skills/earnings-preview
pnpm dlx skills add https://github.com/himself65/finance-skills/tree/main/plugins/market-analysis/skills/earnings-preview
Install as a Claude Code plugin
Run these inside Claude Code. The plugin may bundle related skills from the same author.
/plugin marketplace add himself65/finance-skills /plugin install finance-market-analysis@finance-skills
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the earnings-preview folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/himself65/finance-skills.git mkdir -p ~/.claude/skills cp -r finance-skills/plugins/market-analysis/skills/earnings-preview ~/.claude/skills/earnings-preview
Then just ask in plain language, for example: “What does the street expect from Apple's earnings next week?”
More Productivity & Life skills
Career Ops
80kScores job postings against your CV, tailors an ATS-friendly resume and cover letter for each, and tracks applications on your own computer.
Career Change Resume
45kWrites an honest resume for a move into a new field, translating your past work into the target job's language without inventing experience.
Portfolio Case Study
45kTurns a real project into a portfolio case study that shows your decisions, your share of the work and the evidence, with nothing made up.