Earnings Recap

Explains how a company's latest earnings report went: the beat or miss, revenue and margin trends, and how the stock price reacted.

Productivity & Lifeinvestingearningsstocksyahoo financeby himself653.5kGitHub

What it is

Earnings Recap explains a quarterly earnings report after it has come out. Ask how a company did, by ticker or casually, as in 'AMZN reported last night', and it pulls free Yahoo Finance data to show what happened against expectations. It belongs to a collection of finance skills and is meant for individual investors, finance students and writers who want a quick, factual summary of the results without digging through the numbers themselves.

The agent runs a Python script with yfinance, a free library that reads Yahoo Finance data. It finds the most recent report, or the quarter you name, and compares actual earnings per share (EPS) with the estimate. It calculates gross and operating margins from the quarterly statements and measures the stock's move in the first trading session after the news, using the report time to pick the right days. That move is then compared with the stock's average earnings-day move over the previous four reports.

You get the headline result, a table of estimates versus actuals, quarterly trends, the price reaction and what changed, with a plain verdict on whether it was a real beat or a low bar cleared. It leaves out buy or sell advice. Yahoo data does not capture guidance or segment detail from the earnings call, and revenue is compared with the previous year rather than with analysts' revenue forecasts.

What it can do

  • Compares actual EPS with the estimate and shows the surprise in dollars and percent.
  • Calculates revenue, gross margin, operating margin and EPS across about five recent quarters.
  • Measures the stock's move in the session after the report, allowing for before-open or after-close timing.
  • Compares that move with the stock's average earnings-day move over the previous four reports.
  • Notes whether the stock has since held, given back or extended its move.
  • Can analyze a specific past quarter instead of the latest one.

When to use it

  • Amazon reported last night and you want to know in two minutes whether it was a real beat.
  • A stock you own dropped sharply after earnings and you want to see what in the numbers explains it.
  • You are writing a market recap and need results and price reactions for several companies, presented the same way.
  • You want to check whether a company's margins are improving or slipping from quarter to quarter.

How it works

  1. 1You ask how a company's earnings went, naming the ticker or company and, if you like, a specific quarter.
  2. 2The agent makes sure the yfinance Python library is installed, installing it if needed.
  3. 3It pulls earnings dates, estimates and results, income, cash flow and balance sheet data, news headlines and analyst ratings from Yahoo Finance.
  4. 4It finds the right report, reads its time in US Eastern time to choose the reaction window, and computes the price move and margins.
  5. 5It writes the recap with the result first, then supporting tables and the caveats that apply.

Try asking

“AMZN reported last night. How did they do?”
“Give me an earnings recap for Meta's latest quarter”
“Did Netflix beat or miss, and how did the stock react?”
“Recap Apple's earnings from two quarters ago”

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.

npm
npx skills add https://github.com/himself65/finance-skills/tree/main/plugins/market-analysis/skills/earnings-recap
pnpm
pnpm dlx skills add https://github.com/himself65/finance-skills/tree/main/plugins/market-analysis/skills/earnings-recap

Install as a Claude Code plugin

Run these inside Claude Code. The plugin may bundle related skills from the same author.

Claude Code
/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-recap folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/himself65/finance-skills.git
mkdir -p ~/.claude/skills
cp -r finance-skills/plugins/market-analysis/skills/earnings-recap ~/.claude/skills/earnings-recap

Then just ask in plain language, for example: “AMZN reported last night. How did they do?”