earnings-trade-analyzer

earnings-trade-analyzer is a skill for Claude Code from mphinance/alpha-skills. It costs 83 tokens per session (712 once invoked), scanned A, original, MIT.

A tool for rating stocks after they report quarterly earnings. It scores five factors, including the size of the price gap, recent trends, trading volume, and the stock’s position relative to its 50-day and 200-day moving averages.

In plain words
What is it for?
Screening recent earnings reactions, ranking momentum candidates, and finding stocks for post-earnings trade analysis.
Why use it?
It turns several post-earnings signals into one comparable score and letter grade, reducing manual chart checks.

Skill for Claude Code

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

Part of the quant-skills plugin — 20 skills shipped together

Good fit Screening recent earnings reactions, ranking momentum candidates, and finding stocks for post-earnings trade analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mphinance/alpha-skills/earnings-trade-analyzer
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 mphinance/alpha-skills --skill earnings-trade-analyzer
Clone the repo
git clone --depth 1 https://github.com/mphinance/alpha-skills

Made for: Claude Code.

Or install quant-skills, the plugin that ships this one along with the rest of its 20 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-trade-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/mphinance/alpha-skills/earnings-trade-analyzer/github.svg)](https://agentmods.dev/skills/mphinance/alpha-skills/earnings-trade-analyzer)
Your own site
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/earnings-trade-analyzer"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/earnings-trade-analyzer/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-trade-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/earnings-trade-analyzer"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/earnings-trade-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 712 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00083 $0.00712
Opus 5 $0.00042 $0.00356
Sonnet 5 $0.00017 $0.00142
Haiku 4.5 $0.00008 $0.00071

Measured 11d ago against content hash 07f037dde0ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

earnings-trade-analyzer 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 11d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/analyze_earnings_trades.py, scripts/calculators/__init__.py, scripts/calculators/gap_size_calculator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/quant-skills/skills/earnings-trade-analyzer/SKILL.md · 78 lines

How it starts

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

Earnings Trade Analyzer - Post-Earnings 5-Factor Scoring

Analyze recent post-earnings stocks using a 5-factor weighted scoring system to identify the strongest earnings reactions for potential momentum trades.

When to Use

  • User asks for post-earnings trade analysis or earnings gap screening
  • User wants to find the best recent earnings reactions
  • User requests earnings momentum scoring or grading
  • User asks about post-earnings accumulation day (PEAD) candidates

Prerequisites

  • FMP API key (set FMP_API_KEY environment variable or pass --api-key)
  • Free tier (250 calls/day) is sufficient for default screening (lookback 2 days, top 20)
  • Paid tier recommended for larger lookback windows or full screening

Workflow

Step 1: Run the Earnings Trade Analyzer

Execute the analyzer script:

# Default: last 2 days of earnings, top 20 results
python3 skills/earnings-trade-analyzer/scripts/analyze_earnings_trades.py --output-dir reports/

# Custom lookback and market cap filter
python3 skills/earnings-trade-analyzer/scripts/analyze_earnings_trades.py \
  --lookback-days 5 \
  --min-market-cap 1000000000 \
  --top 30 \
  --output-dir reports/

# With entry quality filter
python3 skills/earnings-trade-analyzer/scripts/analyze_earnings_trades.py \
  --apply-entry-filter \
  --output-dir reports/

Step 2: Review Results

  1. Read the generated JSON and Markdown reports
  2. Load references/scoring_methodology.md for scoring interpretation context
  3. Focus on Grade A and B stocks for actionable setups

Step 3: Present Analysis

For each top candidate, present:

  • Composite score and letter grade (A/B/C/D)
  • Earnings gap size and direction
  • Pre-earnings 20-day trend
  • Volume ratio (20-day vs 60-day average)
  • Position relative to 200-day and 50-day moving averages
  • Weakest and strongest scoring components

Step 4: Provide Actionable Guidance

Based on grades:

  • Grade A (85+): Strong earnings reaction with institutional accumulation - consider entry
  • Grade B (70-84): Good earnings reaction worth monitoring - wait for pullback or confirmation
  • Grade C (55-69): Mixed signals - use caution, additional analysis needed
  • Grade D (<55): Weak setup - avoid or wait for better conditions

Read the full file on GitHub · 78 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. 11d ago First seen · 78 lines · 83 tokens per session scan A 07f037dde0ee

Subscribe to this mod's changes

earnings-trade-analyzer is a skill published in the GitHub repository mphinance/alpha-skills (22 stars, last pushed 13d ago), licensed MIT. It adds 83 tokens to every session and 712 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

trading-risk-gate

Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.

winstonkoh87/Athena-Public · 53 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens