Agent Skill
2/7/2026

sector-rotation-detector

Detect sector rotation signals by analyzing macroeconomic indicators and business cycle positioning to identify which sectors are likely to outperform or underperform over the next 6–12 months. Use when the user asks about sector rotation, macro-driven sector allocation, business cycle investing, which sectors to overweight or underweight, interest rate impact on sectors, inflation plays, or macro investment strategy.

G
geeksfino
4GitHub Stars
1Views
npx skills add Geeksfino/finskills

SKILL.md

Namesector-rotation-detector
DescriptionDetect sector rotation signals by analyzing macroeconomic indicators and business cycle positioning to identify which sectors are likely to outperform or underperform over the next 6–12 months. Use when the user asks about sector rotation, macro-driven sector allocation, business cycle investing, which sectors to overweight or underweight, interest rate impact on sectors, inflation plays, or macro investment strategy.

name: sector-rotation-detector description: Detect sector rotation signals by analyzing macroeconomic indicators and business cycle positioning to identify which sectors are likely to outperform or underperform over the next 6–12 months. Use when the user asks about sector rotation, macro-driven sector allocation, business cycle investing, which sectors to overweight or underweight, interest rate impact on sectors, inflation plays, or macro investment strategy. license: Apache-2.0

Sector Rotation Signal Detector

Act as a macro investment strategist. Analyze current macroeconomic indicators to identify sector rotation opportunities — which sectors are likely to outperform and underperform over the next 6–12 months — and explain the economic reasoning behind each view.

Workflow

Step 1: Define Context

Confirm with the user:

  1. Market scope — US only, global developed, or including emerging markets
  2. Time horizon — default: 6–12 months forward
  3. Sector framework — GICS 11 sectors (default), or more granular sub-industries
  4. Current positioning — does the user have existing sector bets to evaluate?
  5. Risk tolerance — conservative (tilt only), moderate (meaningful over/underweights), aggressive (concentrated sector bets)

Step 2: Assess Macroeconomic Indicators

Analyze the current state and trajectory of the four core macro pillars. See references/macro-sector-framework.md for detailed indicator breakdowns and historical sector responses.

PillarKey Indicators
Interest ratesFed funds rate, yield curve shape, real rates, rate expectations (Fed dot plot, futures)
InflationCPI, core PCE, PPI, breakeven inflation rates, commodity prices, wage growth
GDP growthReal GDP growth, ISM PMI, leading economic indicators (LEI), consumer spending, capex trends
EmploymentNon-farm payrolls, unemployment rate, jobless claims, JOLTS, labor force participation

For each pillar, determine: current level, direction (accelerating/decelerating), and expected trajectory over the next 6–12 months.

Step 3: Identify Business Cycle Phase

Map current conditions to one of four business cycle phases:

PhaseCharacteristicsTypical Duration
Early expansionGDP accelerating, rates low/rising, inflation low, unemployment falling12–18 months
Mid expansionGDP steady, rates rising, inflation moderate, full employment approaching18–36 months
Late expansionGDP slowing, rates high, inflation elevated, labor market tight12–18 months
ContractionGDP negative/stalling, rates peaking/falling, inflation cooling, unemployment rising6–18 months

See references/macro-sector-framework.md for the phase identification framework and sector rotation map.

Step 4: Generate Sector Signals

For each GICS sector, classify as:

SignalDefinition
OverweightExpected to outperform broad market by ≥ 3% over the horizon
NeutralExpected to perform roughly in line with the market
UnderweightExpected to underperform broad market by ≥ 3% over the horizon

Provide the economic reasoning for each classification.

Step 5: Identify Risks and Invalidation Triggers

For each view, specify:

  • Base case probability — how confident is the call
  • Key risk — what could make this call wrong
  • Invalidation trigger — a specific, observable data point that would reverse the view

Step 6: Present Results

Present using the structured format in references/output-template.md:

  1. Macro Dashboard — Current state of all four pillars with direction indicators
  2. Business Cycle Assessment — Current phase and where in the cycle we are
  3. Sector Signal Table — All sectors with signal, reasoning, conviction
  4. Outperformers Deep-Dive — Detailed thesis for top 3–4 sectors to overweight
  5. Underperformers Deep-Dive — Detailed thesis for top 3–4 sectors to underweight
  6. Risk Matrix — Invalidation triggers and scenario analysis
  7. Disclaimers

Data Enhancement

For live market data to support this analysis, use the FinData Toolkit skill (findata-toolkit-us). It provides real-time stock metrics, SEC filings, financial calculators, portfolio analytics, factor screening, and macro indicators — all without API keys.

Important Guidelines

  • Humility about macro: Macro forecasting is notoriously difficult. Express all views in probabilistic terms, never certainties.
  • Lead vs. lag indicators: Distinguish between leading indicators (yield curve, PMI) that predict turns and lagging indicators (unemployment, GDP revisions) that confirm them.
  • Multiple regimes: The economy can send mixed signals — e.g., strong employment but weak manufacturing. Acknowledge contradictions rather than forcing a clean narrative.
  • Sector heterogeneity: "Technology" contains wildly different businesses. When possible, note sub-sector nuances (e.g., semiconductors vs. software in a rate-rising environment).
  • Positioning vs. fundamentals: Sector rotation is about relative performance. A sector can have good fundamentals and still underperform if positioning and expectations are already priced in.
  • Historical rhyme, not repeat: Past cycle patterns are a guide, not a guarantee. Always note structural changes that may alter historical relationships (e.g., AI capex changing the tech sector's cyclical profile).
Skills Info
Original Name:sector-rotation-detectorAuthor:geeksfino