sector-rotation-signallisted
Install: claude install-skill rgourley/quant-garage
# sector-rotation-signal
You hand over a rotation window (default 30 days) and get back the
current 20-day RS rank per sector, the rank change over the window,
and a rotation classification (rotating in, stable, rotating out).
Bundled with a plain-English theme read.
Rank change is the leading signal. The tape already prices absolute
strength; leadership rotation is what tells you the composition of
strength is shifting.
## When to invoke
- The user asks "what sectors are rotating", "is the market rotating",
"growth vs value right now"
- market-regime shows the same label two days in a row but you want
to know if the underlying composition is changing
- Portfolio-review workflow, after market-regime — regime says WHAT,
rotation-signal says WHERE-IT'S-MOVING
- A single-name research question wants sector context: "is my
Tech position bucking the sector rotation"
## What you need
- `MASSIVE_API_KEY` (Stocks Starter). One daily-aggs call per SPDR
sector ETF + SPY (12 calls total).
## What you get back
**Layer 1 JSON** matching [`output-schema.json`](./output-schema.json).
Per-sector: current 20-day RS rank, rank in the reference date,
rank_delta, 20-day RS in basis points, secondary RS window, rotation
classification, category tags.
**Layer 2 rendered table** sorted by current rank. Rotation column
uses arrows (`↑`, `↑↑`, `↓`, `↓↓`, `stable`) so the visual read is
immediate. Theme line above the table. See
[`references/rendering.md`](./references/rendering.md)