Skip to content

Structural macro regime detector using cross-asset ratios to flag 1-2 year regime shifts across five states.

CCM score
63 of 100
skills.sh installs
4.5K
GitHub stars
8.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers six components: RSP/SPY concentration, yield curve, HYG/LQD credit, IWM/SPY size, equity-bond relationship, and XLY/XLP sector rotation
  • Includes macro_regime_detector.py with JSON and Markdown outputs, plus methodology, indicator, and historical regime references
  • Enforces fail-closed behavior: no report is written when none of the six components has usable data
  • Designed for strategic positioning questions on regime change, not tactical corrections on a 2-8 week horizon

Install

$ npx -y skills add tradermonty/claude-trading-skills --skill macro-regime-detector -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Macro Regime Detector

Detect structural macro regime transitions using monthly-frequency cross-asset ratio analysis. This skill identifies 1-2 year regime shifts that inform strategic portfolio positioning.

When to Use

  • User asks about current macro regime or regime transitions
  • User wants to understand structural market rotations (concentration vs broadening)
  • User asks about long-term positioning based on yield curve, credit, or cross-asset signals
  • User references RSP/SPY ratio, IWM/SPY, HYG/LQD, or other cross-asset ratios
  • User wants to assess whether a regime change is underway

Workflow

  1. Load reference documents for methodology context:
    • references/regime_detection_methodology.md
    • references/indicator_interpretation_guide.md

Details

Repository
github.com/tradermonty/claude-trading-skills
Categories
Finance & Trading, Data Science & Analytics
First seen
Jun 3, 2026

More from tradermonty/claude-trading-skills

All 54

Similar to Macro Regime Detector

More Finance & Trading