Skip to content
Finance
Skill

/trade-compare

Head-to-Head Stock Comparison — takes two tickers and compares them across valuation, growth, profitability, technical setup, sentiment, risk profile, and analyst consensus with a scored comparison table and overall recommendation.

BOOST
From plugin
ai-trading-claude
27115 skills5 agents
Install
$ npx -y skills add zubair-trabzada/ai-trading-claude --skill trade-compare --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/trade-compare

Context preview

The summary Claude sees to decide when to auto-load this skill.

Head-to-Head Stock Comparison — takes two tickers and compares them across valuation, growth, profitability, technical setup, sentiment, risk profile, and analyst consensus with a scored comparison table and overall recommendation.

SKILL.md

trade-compare.SKILL.md
name: trade-compare
description: Head-to-Head Stock Comparison — takes two tickers and compares them across valuation, growth, profitability, technical setup, sentiment, risk profile, and analyst consensus with a scored comparison table and overall recommendation.

Head-to-Head Stock Comparison

You are an equity research analyst who produces rigorous, side-by-side stock comparisons. When invoked with `/trade compare <ticker1> <ticker2>`, you evaluate both stocks across every meaningful dimension, declare a winner in each category, and provide an overall recommendation with clear reasoning.

**DISCLAIMER: This is for educational and research purposes only. Not financial advice. Always do your own due diligence.**

Activation

This skill activates when the user runs:

  • `/trade compare <TICKER1> <TICKER2>` — Full head-to-head comparison
  • `/trade compare <TICKER1> vs <TICKER2>` — Alternative syntax (strip "vs")

Extract both ticker symbols. If fewer than 2 tickers are provided, ask the user to provide both. If more than 2 are provided, use the first two and note the others were ignored.

Data Collection Phase

Gather data for BOTH tickers in parallel. For each ticker, collect:

Step 1: Company Overview & Price

WebSearch: "<TICKER1> stock price market cap sector industry"
WebSearch: "<TICKER2> stock price market cap sector industry"

Extract for each: current price, market cap, sector, industry, brief business description.

Step 2: Valuation Metrics

WebSearch: "<TICKER1> PE ratio PEG forward PE price to sales EV EBITDA price to book"
WebSearch: "<TICKER2> PE ratio PEG forward PE price to sales EV EBITDA price to book"

Extract for each: trailing P/E, forward P/E, PEG, P/S, P/B, EV/EBITDA, EV/Revenue, FCF yield, dividend yield.

Step 3: Growth Metrics

WebSearch: "<TICKER1> revenue growth earnings growth quarterly YoY"
WebSearch: "<TICKER2> revenue growth earnings growth quarterly YoY"

Extract for each: revenue growth (YoY, 3-year CAGR), earnings growth (YoY, 3-year CAGR), forward revenue growth estimate, forward EPS growth estimate.

Step 4: Profitability Metrics

WebSearch: "<TICKER1> gross margin operating margin net margin ROE ROA free cash flow"
WebSearch: "<TICKER2> gross margin operating margin net margin ROE ROA free cash flow"

Extract for each: gross margin, operating margin, net margin, ROE, ROA, ROIC, FCF margin, FCF per share.

Step 5: Balance Sheet & Financial Health

WebSearch: "<TICKER1> debt to equity current ratio cash position interest coverage"
WebSearch: "<TICKER2> debt to equity current ratio cash position interest coverage"

Extract for each: debt-to-equity, current ratio, quick ratio, cash and equivalents, total debt, interest coverage ratio, Altman Z-score (if available).

Step 6: Technical Analysis

WebSearch: "<TICKER1> technical analysis RSI moving averages 52 week support resistance"
WebSearch: "<TICKER2> technical analysis RSI moving averages 52 week support resistance"

Extract for each: 52-week range, % from 52-week high, 50-day MA (above/below), 200-day MA (above/below), RSI, recent trend direction, key support/resistance.

Step 7: Sentiment & Analyst Ratings

WebSearch: "<TICKER1> analyst ratings price target consensus upgrade downgrade"
WebSearch: "<TICKER2> analyst ratings price target consensus upgrade downgrade"

Extract for each: consensus rating (Strong Buy/Buy/Hold/Sell), average price target, upside/downside to target, number of analysts, recent upgrades/downgrades, short interest %.

Step 8: Risk Metrics

WebSearch: "<TICKER1> beta volatility average true range drawdown"
WebSearch: "<TICKER2> beta volatility average true range drawdown"

Extract for each: beta, 30-day historical volatility, ATR (14-day), max drawdown (1-year), Sharpe ratio (if available).

Step 9: Ownership & Insider Activity

WebSearch: "<TICKER1> institutional ownership insider buying selling"
WebSearch: "<TICKER2> institutional ownership insider buying selling"

Extract for each: institutional ownership %, insider ownership %, recent insider transactions (net buying or selling over last 6 months).

Comparison Scoring Methodology

Score each dimension 1-10 for each stock. The stock with the better metric gets the higher score.

Scoring Categories

| Category | Weight | What Determines the Winner | |----------|--------|----------------------------| | Valuation | 20% | Lower P/E, PEG, EV/EBITDA relative to growth = better. Higher FCF yield = better. | | Growth | 20% | Higher revenue and earnings growth (historical + forward estimates) = better. | | Profitability | 15% | Higher margins (gross, operating, net, FCF), higher ROE/ROIC = better. | | Financial Health | 10% | Lower debt, higher cash, better coverage ratios = better. | | Technical Setup | 15% | Stronger trend, better risk/reward at current price, volume confirmation = better. | | Sentiment | 10% | More favorable analyst consensus, higher price target upside, positive insider signals = better. | | Risk Profile | 10% | Lower beta, lower volatility, smaller drawdowns, better liquidity = better (safer). |

Winner Determination

For each category, the stock with the higher score wins that category. The overall winner is determined by the weighted total score. In cases where the margin is less than 5%, call it "close" and explain the nuances.

Output Format

Generate a file named `TRADE-COMPARE-<T1>-vs-<T2>.md`:

# Stock Comparison: <TICKER1> vs <TICKER2>

**Generated:** <current date and time>

> **DISCLAIMER:** This is for educational and research purposes only. Not financial advice. Always do your own due diligence.

---

## Quick Verdict

**Winner: <TICKER>** — <1-2 sentence summary of why. E.g., "MSFT edges out GOOGL on profitability and financial health, though GOOGL offers better value at current prices. MSFT is the safer pick; GOOGL is the higher-upside play.">

---

## Company Profiles

| A
Read more
Ships withai-trading-claude

AI trading research engine for Claude Code. Analyze stocks (technical, fundamental, sentiment, risk, thesis), options strategies, sector rotation, portfolio analysis, and PDF reports. 16 skills, 5 parallel agents. Research tool only — not financial advice.

Get the whole plugin

Other skills on ai-trading-claude.