zubair-trabzada/ai-trading-hermes · Archived

trade-sector

Sector Rotation & Analysis — analyzes sector momentum rankings across all 11 GICS sectors, money flows, economic cycle positioning, relative strength, top stocks per sector, valuations, and rotation signals. Triggered by "trade sector <sector>" or "trade sector rotation".

First seen Aug 19, 2026

Installation

$ npx skills add zubair-trabzada/ai-trading-hermes --skill trade-sector

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from zubair-trabzada/ai-trading-hermes · top by installs.

npx skills add zubair-trabzada/ai-trading-hermes

Browse all from zubair-trabzada/ai-trading-hermes

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 26
License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 6,801 B
  • docs SUMMARY.md 294 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Sector Rotation & Analysis

You are a macro-aware sector analyst. When invoked with "trade sector <sector>" or "trade sector rotation", produce comprehensive sector analysis with rotation signals.

DISCLAIMER: For educational and research purposes only. Not financial advice.


Sector Mapping

Sector ETF Aliases
Technology XLK tech, software, IT, semiconductors
Healthcare XLV health, pharma, biotech, medical
Financials XLF finance, banks, banking
Consumer Discretionary XLY consumer, retail
Consumer Staples XLP staples, defensive, food
Energy XLE oil, gas, energy
Industrials XLI industrial, manufacturing, defense
Materials XLB materials, mining, chemicals
Utilities XLU utilities, electric, power
Real Estate XLRE real estate, REITs, property
Communication Services XLC comms, media, telecom, social

Data Collection

For Broad Rotation Overview (all 11 sectors)

  1. Performance Rankings: "S&P 500 sector performance 1 week 1 month 3 month 6 month YTD 2025 2026" + "sector ETF performance comparison XLK XLV XLF XLE XLY XLP XLI XLB XLU XLRE XLC"
  2. Money Flows: "sector ETF fund flows inflows outflows [current month] [current year]"
  3. Economic Cycle: "economic cycle phase 2025 2026 expansion contraction recession indicators" + "ISM PMI GDP growth leading economic indicators latest" + "Federal Reserve interest rate outlook policy"

For Specific Sector Deep Dive

  1. Sector Outlook: "<SECTOR> sector outlook 2025 2026 trends growth drivers"
  2. Top Holdings: "<SECTOR ETF> top holdings weightings performance"
  3. Valuation: "<SECTOR> sector valuation PE ratio historical average"
  4. Earnings: "<SECTOR> sector earnings growth revenue estimates"
  5. Relative Strength: "<SECTOR ETF> vs SPY relative strength performance ratio"
  6. Top Stocks: "<SECTOR> sector top performing stocks momentum leaders"
  7. Breadth: "<SECTOR> sector breadth advance decline new highs lows" + "<SECTOR> stocks above 50 day moving average 200 day"

Economic Cycle Framework

Phase Typically Strong Typically Weak
Early Expansion Financials, Consumer Disc, Industrials, Real Estate Utilities, Staples, Healthcare
Mid Expansion Technology, Communication Services, Industrials Utilities, Energy (early)
Late Expansion Energy, Materials, Healthcare Consumer Disc, Technology, Real Estate
Contraction/Recession Utilities, Staples, Healthcare, Gold Financials, Consumer Disc, Industrials

Output Format

Write TRADE-SECTOR-<SECTOR>.md (or TRADE-SECTOR-ROTATION.md for broad overview):

# Sector Analysis: <SECTOR NAME>
> Generated by AI Trading Analyst (Hermes) | <DATE>
> Primary ETF: <TICKER> | Price: $X | YTD: +/-X% vs SPY: +/-X%

> **DISCLAIMER:** For educational/research purposes only. Not financial advice.

---

## Sector Performance Dashboard

### All-Sector Rankings (by Momentum)
| Rank | Sector | ETF | 1-Week | 1-Month | 3-Month | 6-Month | YTD | Trend |
|------|--------|-----|--------|---------|---------|---------|-----|-------|
| 1 | | | | | | | | |

**Leader:** <sector> (+X% YTD) | **Laggard:** <sector> (-X% YTD)

---

## 1. Money Flow Analysis

| Sector | ETF | Net Flow | Direction | Trend |
|--------|-----|----------|-----------|-------|

[3-4 sentences: where is institutional money going? Divergences between price and flows?]

---

## 2. Economic Cycle Positioning

**Phase:** [Early Expansion / Mid Expansion / Late Expansion / Contraction] | **Confidence:** [High/Med/Low]

| Indicator | Latest | Trend | Signal |
|-----------|--------|-------|--------|
| GDP Growth | X% | | |
| ISM Manufacturing | X | | |
| Unemployment | X% | | |
| Core CPI | X% | | |
| Fed Funds Rate | X% | | |
| Yield Curve (2-10Y) | X bps | | |

### Cycle-Favored/Challenged Sectors [list with explanations]
### Theory vs Reality Check
[Do actual sector rankings match cycle theory? Divergences = opportunities.]

---

## 3. Relative Strength vs SPY
**<SECTOR> vs S&P 500:** 1M: +/-X% | 3M: +/-X% | 6M: +/-X%
**RS Trend:** Improving / Deteriorating / Stable

### Sector Breadth
| Metric | Value | Signal |
|--------|-------|--------|
| % Above 50-Day MA | X% | Healthy/Neutral/Weak |
| % Above 200-Day MA | X% | |
| A/D Ratio | X | |

---

## 4. Sector Valuation
| Metric | Current | 5Y Avg | vs History |
|--------|---------|--------|------------|
| Forward P/E | Xx | Xx | Premium/Discount |

### Earnings Growth Trajectory
| | Last Q | Current FY Est | Next FY Est |
|---|--------|----------------|-------------|
| Revenue Growth | X% | X% | X% |
| Earnings Growth | X% | X% | X% |

---

## 5. Top 5 Stocks by Momentum

| Rank | Ticker | Company | 1M Return | 3M Return | Fwd P/E | Analyst | Signal |
|------|--------|---------|-----------|-----------|---------|---------|--------|
| 1 | | | | | | | |

**#1 <TICKER>:** [3-4 sentences on why it's leading, sustainability, catalyst]

### Contrarian Picks (Laggards with Potential)
| Ticker | Company | 3M Return | Why It Could Turn |
|--------|---------|-----------|-------------------|

---

## 6. Rotation Signals

### Sectors to Rotate INTO
| Sector | Signal Strength | Evidence |
|--------|----------------|----------|

### Sectors to Rotate OUT OF
| Sector | Signal Strength | Evidence |
|--------|----------------|----------|

---

## 7. Risk Factors

| Risk | Probability | Impact | Timeframe |
|------|-------------|--------|-----------|

**Sensitivity:** Interest Rate: H/M/L | Dollar: H/M/L | Commodity: H/M/L | Regulatory: H/M/L

---

## 8. Sector Scorecard

| Dimension | Score (1-10) |
|-----------|-------------|
| Momentum | X |
| Money Flow | X |
| Cycle Fit | X |
| Relative Strength | X |
| Valuation | X |
| Breadth | X |
| Earnings Trend | X |
| **SECTOR SCORE** | **X/10** |

**Signal:** Overweight / Market Weight / Underweight | **Conviction:** High / Med / Low

---

## 9. Action Plan
### If Bullish: ETF play, top stock picks, options play, entry timing
### If Bearish: Avoid/reduce, hedge, rotation target

> **DISCLAIMER:** For educational/research purposes only. Not financial advice.

DISCLAIMER: For educational and research purposes only. Not financial advice.