sector-rotation

Track sector rotation and analyze leadership using RS heatmaps and cycle signals.

5|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/JansenAnalytics/claudex --skill sector-rotation-jansenanalytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sector-rotation
Source: https://github.com/JansenAnalytics/claudex/tree/main/skills/sector-rotation
Command: npx skills add https://github.com/JansenAnalytics/claudex --skill sector-rotation-jansenanalytics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yfinance, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps investors and analysts quickly assess sector rotation by collecting sector ETF data, computing relative strength across sectors, and highlighting leaders and potential cycle phases.

Core Features & Use Cases

  • Automates data collection for 17 sector ETFs via yfinance and computes relative strength vs SPY across multiple horizons (1W, 2W, 1M, 3M).
  • Generates market-cycle insights by identifying leaders and laggards, and tracks sector rotation signals for tactical allocation.
  • Supports a cross-skill workflow with an analysis prompt and cycle models for reporting and decision support.

Quick Start

Run the collector to fetch sector data and generate RS heatmaps and rotation signals for the current market.

Frequently Asked Questions about sector-rotation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track sector rotation signals using ETF data?

You track sector rotation by collecting ETF data via yfinance and computing relative strength against SPY across multiple time horizons to identify leadership shifts. The skill generates RS heatmaps and rotation signals to highlight tactical allocation opportunities.

What is relative strength analysis and how does it identify sector leaders?

Relative strength analysis compares individual sector ETF performance against a benchmark like SPY. This skill computes RS across 1W, 2W, 1M, and 3M horizons to pinpoint leading sectors and detect cyclical phase transitions for tactical allocation.

How do I generate a sector RS heatmap for tactical allocation?

You generate a sector RS heatmap by running the data collector to fetch 17 sector ETFs via yfinance. The skill computes relative strength vs SPY across multiple horizons and outputs structured data visualizing leaders and laggards for tactical decisions.

Do I need yfinance to analyze sector rotation and cycle phases?

Yes, yfinance is a required dependency for fetching live sector ETF data. The skill relies on yfinance to access 17 sector ETFs, compute relative strength metrics, and detect business-cycle phases for rotation signals.

Can I detect business-cycle phases using sector ETF relative strength?

Yes, you can detect business-cycle phases by analyzing sector ETF relative strength. The skill identifies sector leaders and laggards across 1W to 3M horizons, tracking rotation signals to map current cyclical phases for tactical allocation.

What are the limitations of using yfinance for sector rotation analysis?

Yfinance limits sector rotation analysis to 17 available sector ETFs and depends on data access stability. The skill computes RS heatmaps across four fixed horizons, which may not capture high-frequency rotation signals required for intraday tactical allocation.