earnings-preview

earnings-preview is a skill for Claude Code from yennanliu/InvestSkill. It costs 72 tokens per session (6,284 once invoked), scanned A, original, MIT.

A pre-earnings research workflow for estimating how a company's upcoming results may compare with expectations and affect its share price. It uses consensus estimates, management guidance, options pricing, past results, key measures, and three possible outcome scenarios.

In plain words
What is it for?
Use it before an earnings announcement to check the event and live market inputs, compare expected and implied price moves, identify important company measures, and define rules for beat, miss, or changed guidance scenarios.
Why use it?
It helps separate what investors already expect from what would count as a surprise, while requiring current data instead of relying on old estimates.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the us-stock-analysis plugin — 39 skills shipped together

Good fit Use it before an earnings announcement to check the event and live market inputs, compare expected and implied price moves, identify important company measures, and define rules for beat, miss, or changed guidance scenarios.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yennanliu/investskill/earnings-preview
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yennanliu/InvestSkill --skill earnings-preview
Clone the repo
git clone --depth 1 https://github.com/yennanliu/InvestSkill

Made for: Claude Code.

Or install us-stock-analysis, the plugin that ships this one along with the rest of its 39 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for earnings-preview

README.md
[![agentmods](https://agentmods.dev/badge/skills/yennanliu/investskill/earnings-preview/github.svg)](https://agentmods.dev/skills/yennanliu/investskill/earnings-preview)
Your own site
<a href="https://agentmods.dev/skills/yennanliu/investskill/earnings-preview"><img src="https://agentmods.dev/badge/skills/yennanliu/investskill/earnings-preview/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for earnings-preview

Your own site · 80×15
<a href="https://agentmods.dev/skills/yennanliu/investskill/earnings-preview"><img src="https://agentmods.dev/badge/skills/yennanliu/investskill/earnings-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.06284
Opus 5.5 $0.00029 $0.02514
Sonnet 5.5 $0.00014 $0.01257
Haiku 4.5 $0.00007 $0.00628

Measured 1mo ago against content hash e1eb92219ae8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

earnings-preview scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/us-stock-analysis/skills/earnings-preview/SKILL.md · 295 lines

How it starts

The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Earnings Preview — What Is Priced In Before the Print

⚠️ Data Verification — Do This Before Any Analysis

Before running any analysis, always retrieve the latest market data for the ticker:

  1. Fetch current price — use web search or ask the user for the live price, 52-week range, and market cap. Never assume a price from training data.
  2. Confirm the event and the expectations — the confirmed earnings date and time (BMO / AMC) from the company's IR page (not a calendar estimate), the current consensus revenue / EPS / guidance with its as-of date, the prior guidance range management gave last quarter, and current option prices for the expiration that spans the print (at-the-money straddle, or implied volatility). Never carry consensus from memory — it moves in the final two weeks.
  3. State your data source — fill in the Data & Sources header (next section) so the origin, as-of date, retrieval path, and confidence of every figure are explicit at the top of the output.
  4. Flag stale data explicitly — if live data is unavailable, display this warning before proceeding:

⚠️ Live data unavailable. The following analysis uses training-data estimates which may be significantly out of date. Verify all prices and metrics before making any decisions.

Never silently substitute training-data estimates for current prices. When in doubt, ask the user to paste the latest quote.


📋 Data & Sources Header — Open Every Output With It

The first thing in the output is this provenance block, filled in — never left as placeholders. It is the standard documented on the Data & Accuracy page and the first thing result-validator looks for:

Data & Sources
  As of:      <date the figures represent, e.g. 2026-06-30>
  Source:     <primary docs — SEC EDGAR 10-K/10-Q, company IR, FRED, exchange data …>
  Retrieval:  <pasted by user | web/tool retrieval | model memory>
  Confidence: <HIGH | MEDIUM | LOW>

Read the full file on GitHub · 295 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +17 lines e1eb92219ae8
  2. 1mo ago Changed · +1 lines 8efe4b8e8a7e
  3. 2mo ago First seen · 277 lines · 72 tokens per session scan A 1627dec5c29b

Subscribe to this mod's changes

earnings-preview is a skill published in the GitHub repository yennanliu/InvestSkill (295 stars, last pushed 19d ago), licensed MIT. It adds 72 tokens to every session and 6,284 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.

Related

earnings-preview compared with skills from other repositories

earnings-preview next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
earnings-previewyennanliu/InvestSkillSkill29519d agoMITA72Claude Code
dcf-modelginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A56Claude Code, Codex
comps-analysisginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A48Claude Code, Codex
company-profileginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A68Claude Code, Codex
check-modelginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A72Claude Code, Codex
check-deckginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A63Claude Code, Codex
chart-annotationginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A51Claude Code, Codex