macro-regime-detector

Classify equity market macro regimes from six cross-asset ratios.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Dorpeer95/stocks-trading --skill macro-regime-detector-dorpeer95
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: macro-regime-detector
Source: https://github.com/Dorpeer95/stocks-trading/tree/main/.claude/skills/macro-regime-detector
Command: npx skills add https://github.com/Dorpeer95/stocks-trading --skill macro-regime-detector-dorpeer95

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Detect structural macro regime shifts affecting long-horizon portfolio positioning by analyzing cross-asset signals and macro data to provide structured regime assessments.

Core Features & Use Cases

  • Analyze six cross-asset components (RSP/SPY, 10Y-2Y spread, HYG/LQD, IWM/SPY, SPY/TLT, XLY/XLP) to classify regimes: Concentration, Broadening, Contraction, Inflationary, Transitional.
  • Output a detailed JSON and Markdown report with composite scores, regime evidence, transition probability, and suggested portfolio posture.
  • Handle missing data gracefully and provide confidence assessments to support decision-making in strategic asset allocation.

Quick Start

Run the detector to fetch approximately 600 days of daily data, compute six component scores, and generate a regime report to guide long-horizon positioning.

Frequently Asked Questions about macro-regime-detector

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

FAQPage Schema
How do I detect macro regime shifts for equity market positioning?▼

To detect macro regime shifts, analyze cross-asset ratios like RSP/SPY and 10Y-2Y yield spread to classify structural transitions into Concentration, Broadening, Contraction, Inflationary, or Transitional regimes for long-horizon positioning.

What cross-asset signals are used to classify structural market regimes?▼

Cross-asset signals used to classify market regimes include RSP/SPY, 10Y-2Y yield spread, HYG/LQD, IWM/SPY, SPY/TLT, and XLY/XLP ratios, which compute composite scores to identify structural transitions and assess portfolio posture.

Do I need a Financial Modeling Prep API key to run a regime detection analysis?▼

Yes, you need a Financial Modeling Prep API key to fetch the approximately 600 days of daily time-series data required to compute cross-asset component scores and generate a macro regime transition report.

How do I generate a report with transition probabilities for strategic asset allocation?▼

Generate a report with transition probabilities by running the detector to compute six cross-asset component scores, which outputs a detailed JSON and Markdown file with regime evidence, confidence assessment, and suggested portfolio posture.

Can cross-asset regime detection handle missing time-series data gracefully?▼

Cross-asset regime detection handles missing data gracefully by computing available component scores and providing confidence assessments, ensuring the workflow still outputs a structured regime classification and transition probability metrics.

What are the limitations of using monthly signals for regime detection?▼

Monthly signals for regime detection limit the analysis to structural macro transitions rather than high-frequency trading, requiring about 600 days of daily data to smooth noise and accurately classify long-horizon portfolio postures.