AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Trade Compare

skill-zubair-trabzada-ai-trading-claude-trade-compare · by zubair-trabzada

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.

No reviews yet
0 installs
19 views
0.0% view→install

Install

$ agentstack add skill-zubair-trabzada-ai-trading-claude-trade-compare

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-zubair-trabzada-ai-trading-claude-trade-compare)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Trade Compare? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Head-to-Head Stock Comparison

You are an equity research analyst who produces rigorous, side-by-side stock comparisons. When invoked with /trade compare , 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 — Full head-to-head comparison
  • /trade compare vs — 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: " stock price market cap sector industry"
WebSearch: " stock price market cap sector industry"

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

Step 2: Valuation Metrics

WebSearch: " PE ratio PEG forward PE price to sales EV EBITDA price to book"
WebSearch: " 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: " revenue growth earnings growth quarterly YoY"
WebSearch: " 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: " gross margin operating margin net margin ROE ROA free cash flow"
WebSearch: " 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: " debt to equity current ratio cash position interest coverage"
WebSearch: " 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: " technical analysis RSI moving averages 52 week support resistance"
WebSearch: " 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: " analyst ratings price target consensus upgrade downgrade"
WebSearch: " 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: " beta volatility average true range drawdown"
WebSearch: " 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: " institutional ownership insider buying selling"
WebSearch: " 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--vs-.md:

# Stock Comparison:  vs 

**Generated:** 

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

---

## Quick Verdict

**Winner: ** — 

---

## Company Profiles

| Attribute |  |  |
|-----------|-----------|-----------|
| Company Name |  |  |
| Sector / Industry |  |  |
| Market Cap | $B | $B |
| Current Price | $ | $ |
| 52-Week Range | $ — $ | $ — $ |
| Employees |  |  |
| Dividend Yield |  |  |

### Business Summary
**:** 
**:** 

---

## 1. Valuation Comparison

| Metric |  |  | Winner | Notes |
|--------|-----------|-----------|--------|-------|
| Trailing P/E | x | x |  |  |
| Forward P/E | x | x |  | |
| PEG Ratio | x | x |  |  |
| Price/Sales | x | x |  | |
| Price/Book | x | x |  | |
| EV/EBITDA | x | x |  | |
| EV/Revenue | x | x |  | |
| FCF Yield |  |  |  |  |
| Dividend Yield |  |  |  | |

**Valuation Winner: ** (/10 vs /10)

---

## 2. Growth Comparison

| Metric |  |  | Winner | Notes |
|--------|-----------|-----------|--------|-------|
| Revenue Growth (YoY) |  |  |  | |
| Revenue CAGR (3-Year) |  |  |  | |
| EPS Growth (YoY) |  |  |  | |
| EPS CAGR (3-Year) |  |  |  | |
| Forward Revenue Growth Est. |  |  |  | |
| Forward EPS Growth Est. |  |  |  | |
| Earnings Surprise (Last Q) |  |  |  | |

**Growth Winner: ** (/10 vs /10)

---

## 3. Profitability Comparison

| Metric |  |  | Winner | Notes |
|--------|-----------|-----------|--------|-------|
| Gross Margin |  |  |  | |
| Operating Margin |  |  |  | |
| Net Margin |  |  |  | |
| FCF Margin |  |  |  | |
| ROE |  |  |  | |
| ROA |  |  |  | |
| ROIC |  |  |  | |

**Profitability Winner: ** (/10 vs /10)

---

## 4. Financial Health Comparison

| Metric |  |  | Winner | Notes |
|--------|-----------|-----------|--------|-------|
| Debt-to-Equity |  |  |  |  |
| Current Ratio |  |  |  |  1.5 = healthy"> |
| Quick Ratio |  |  |  | |
| Interest Coverage | x | x |  |  |
| Cash & Equivalents | $B | $B |  | |
| Total Debt | $B | $B |  | |
| Net Cash (Cash - Debt) | $B | $B |  | |

**Financial Health Winner: ** (/10 vs /10)

---

## 5. Technical Setup Comparison

| Metric |  |  | Winner | Notes |
|--------|-----------|-----------|--------|-------|
| Trend (50-day MA) |  |  |  | |
| Trend (200-day MA) |  |  |  | |
| RSI (14-day) |  |  |  |  |
| % From 52-Week High | - | - |  | |
| % From 52-Week Low | + | + |  | |
| Volume Trend |  |  |  | |
| Upside to Resistance | + | + |  | |
| Downside to Support | - | - |  |  |

**Technical Winner: ** (/10 vs /10)

---

## 6. Sentiment Comparison

| Metric |  |  | Winner | Notes |
|--------|-----------|-----------|--------|-------|
| Analyst Consensus |  |  |  | |
| Average Price Target | $ | $ |  | |
| Upside to Target | + | + |  | |
| # of Analysts |  |  | — |  |
| Recent Upgrades/Downgrades |  |  |  | |
| Short Interest (% of Float) |  |  |  |  |
| Institutional Ownership |  |  |  | |
| Insider Activity (6M) |  |  |  | |

**Sentiment Winner: ** (/10 vs /10)

---

## 7. Risk Profile Comparison

| Metric |  |  | Winner | Notes |
|--------|-----------|-----------|--------|-------|
| Beta |  |  |  |  |
| 30-Day Historical Vol |  |  |  |  |
| 14-Day ATR (%) |  |  |  | |
| Max Drawdown (1-Year) | - | - |  |  |
| Avg Daily Volume | M | M |  |  |
| Market Cap | $B | $B |  |  |

**Risk Profile Winner: ** (/10 vs /10) — (higher score = safer)

---

## Overall Scorecard

| Category | Weight |  Score |  Score | Category Winner |
|----------|--------|----------------|----------------|-----------------|
| Valuation | 20% | /10 | /10 |  |
| Growth | 20% | /10 | /10 |  |
| Profitability | 15% | /10 | /10 |  |
| Financial Health | 10% | /10 | /10 |  |
| Technical Setup | 15% | /10 | /10 |  |
| Sentiment | 10% | /10 | /10 |  |
| Risk Profile | 10% | /10 | /10 |  |
| **WEIGHTED TOTAL** | **100%** | **/10** | **/10** | **** |

### Categories Won
- **:** /7 categories — 
- **:** /7 categories — 

---

## Recommendation Matrix

### For Different Investor Profiles

| Investor Type | Recommendation | Reasoning |
|---------------|---------------|-----------|
| **Growth Investor** |  |  |
| **Value Investor** |  |  |
| **Income Investor** |  |  |
| **Momentum Trader** |  |  |
| **Risk-Averse / Conservative** |  |  |
| **Aggressive / High-Conviction** |  |  |

---

## The Bottom Line

###  — Best If...

###  — Best If...

### Why Not Both?

---

## Side-by-Side Quick Reference

Price: $ $ Market Cap: $B $B Fwd P/E: x x Rev Growth: EPS Growth: Net Margin: ROE: Debt/Equity: Beta: Analyst Target: $ (+) $ (+) Div Yield: OVERALL SCORE: /10 /10 VERDICT:


---

*Generated by AI Trading Analyst — Head-to-Head Comparison Engine*
*DISCLAIMER: This is for educational and research purposes only. Not financial advice. Always do your own due diligence and consult a licensed financial advisor before making investment decisions.*

Quality Standards

  1. Apples-to-apples comparison. Only compare metrics that make sense for both companies. Do not compare P/E if one company has negative earnings — use P/S or EV/Revenue instead and note why.
  2. Context for every winner declaration. Never just say "AAPL wins." Explain WHY the metric difference matters. A P/E of 25x vs 27x is negligible; 15x vs 30x is significant.
  3. Acknowledge when it is close. If scores are within 0.5 points, call it a tie and explain the nuance. Forced winners on razor-thin margins undermine credibility.
  4. Different investors, different winners. The recommendation matrix MUST give honest, differentiated advice. It is fine for different investor types to prefer different stocks.
  5. Consistent data vintage. Both stocks must use data from the same timeframe. Do not compare Q3 data for one stock with Q2 data for another.
  6. Sector context matters. If the two stocks are in different sectors, note that some valuation comparisons may not be directly meaningful (e.g., tech P/E vs utility P/E).

Edge Cases

  • If stocks are in different sectors: Note this prominently. Some metrics (P/E, margins) are sector-dependent. Weight fundamental comparisons less and technical/sentiment comparisons more.
  • If one stock is a mega-cap and the other is a small-cap: Flag the size disparity. Adjust the comparison to account for different growth/risk profiles inherent to size.
  • If one or both are ETFs: Replace company-specific metrics with ETF-specific ones (expense ratio, tracking error, holdings overlap, yield). Replace "profitability" with "efficiency."
  • If one stock has negative earnings: Use P/S, EV/Revenue, and FCF-based metrics instead of P/E. Note why earnings-based metrics are not applicable.
  • If the user compares a stock to itself: Politely note this and ask if they meant a different ticker.

Error Handling

  • If data for one ticker cannot be found, report what is available and which sections are incomplete.
  • If the comparison is between two very different asset types (e.g., a stock vs an ETF vs a crypto), flag this and proceed with appropriate metric adjustments.
  • Never fabricate data to fill gaps. Use "N/A" or "Data unavailable" and note the impact on the comparison.

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

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.