Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

macro-regime-detector

Analyze six cross-asset ratios and classify the current macro regime, producing a Markdown report and JSON data.

When to use it

You already hold a long-term portfolio view and need to know whether a structural shift like market concentration or credit tightening is underway.

For example

You say

Use macro-regime-detector to assess whether the market is shifting from concentration to broadening, and save the report to reports/.

You get
  • Regime classification report
  • Transition signal dashboard
  • Portfolio posture recommendations

How it works

  • Six weighted components: RSP/SPY, yield curve, HYG/LQD, IWM/SPY, SPY/TLT, and XLY/XLP.
  • Fails closed: no report is written when none of the components has usable data.

Before installing

Python dependencies from requirements.txt are required; an FMP API key is optional and only improves Treasury and ETF data coverage.

This skill includes 26 scripts your assistant may run on your computer.