sector-rotation
What it does
This skill gives a view of the whole market, showing which sectors are gaining or losing and where money is rotating. It is for people who want a general picture before choosing anything specific.
When to use it
- βWhen you want to know what the market is doing this week.
- βWhen you want to see which sectors are gaining strength over the short and long term.
- βWhen you have no target stock and want an overview of the market.
Skill link
https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/sector-rotation/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWhich sectors are surging and which are crashing right now, and where is money moving?β
5 new skills a week. 1 minute to read.
How it works
The agent compares sector performance and momentum over several time frames, then names where money is leaving and where it is going. It checks that a move is not just a one-day blip.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Sector rotation β what's moving and where money is going
Rotation between sectors is often a clearer trend than anything inside a single value chain. This is the right-side read most real (medium/short-term) trading runs on β and the thing you'll open most often. The point is not a gainers list; it's "where is money rotating, on what timeframe, and does it hold together."
Procedure (don't answer from memory β go to the data)
The data is on your CLIs: traderhub board / traderhub etf for sector & theme
performance, alice analysis quant for momentum across timeframes and breadth.
Choose news sources to suit the question. (See the traderhub, alice-analysis
skills.)
- Rank the field across timeframes. Look at sector/theme performance and
momentum over long, medium, and short windows. The signal isn't any single
window β it's how they line up:
- long up + short up β established uptrend (real, but maybe late)
- long up + short down β pullback in an uptrend (buy-the-dip, not a top)
- long down + short up β a bounce or early rotation-in β decide which
- long down + short down β downtrend (avoid, or watch for capitulation)
- Map the rotation, not just the levels. Rotation is a FROM β TO: money leaving sectors that were strong and are now breaking, going into ones turning up. Name both ends. A one-day pop with nothing behind it is noise, not rotation.
- Confirm or doubt it. A rotation is trustworthy when timeframes, market breadth (what's leading vs lagging beneath the index), and the news narrative point the same way. When only the shortest timeframe moves, distrust it.
- Overlay the macro regime. Rotations make sense inside a regime β risk-on vs risk-off, rates up vs down, early vs late cycle. Tie what you see to the macro picture: does the rotation fit a coherent story, or is it noise? A rotation that contradicts the regime is either early (valuable) or wrong.
- Hand off the standouts. For each surging/crashing sector worth a look,
give a one-line read and the next move β usually "decompose this one"
(the
scan-value-chainskill) to find the names carrying the move.
Output β persist a dated snapshot
Rotation is about change over time, so write a dated snapshot
(rotation/<date>.md, or whatever layout the user agrees) rather than
overwriting one file. The latest snapshot is the current read; the series is the
rotation itself β next session diffs against the last one ("what changed since
Tuesday"). Don't impose a layout; settle it with the user, then CRUD the series.
Worked example (schematic β illustrates the read, NOT the current tape)
Run this live; the tape moves daily. The shape to produce:
| sector | long | mid | short | read |
|---|---|---|---|---|
| A | strong | strong | pulling back | buy-the-dip in an uptrend β not a top |
| B | weak | turning up | surging | early rotation-in if breadth + news confirm; else a dead-cat bounce |
| C | strong | rolling over | down | distribution β money leaving; a FROM end |
| D | weak | weak | down | downtrend, no read |
Rotation call: money rotating C β B (out of the rolling-over leader into the turning-up laggard). Confirm: is B's strength broad (many names) or one ticker? does the news support a reason? Regime fit: does C β B match the macro regime (e.g. a rates move favoring B's profile), or is it a head-fake? Hand off: B looks like the live thread β decompose B's value chain next to find which names carry it.
FAQ
Is this a list of top gainers?
No. The skill focuses on where money is moving between sectors, not just a list of rising stocks.
What is a rotation?
A rotation is money leaving one group of sectors and moving into another. The skill names both ends of the move.
Can I use this without choosing a stock?
Yes. It is designed as a general overview for people with no specific target.
Details
Original description by the author
Read what's moving across the whole market right now β which sectors are surging vs crashing, and where capital is rotating between them, across long / medium / short timeframes. The right-side, top-of-funnel "what is the market actually doing" read. Use when the user has no specific target and wants the lay of the land: "what's hot right now", "what sectors are surging / crashing", "where is money rotating", "what's leading and lagging", "is this risk-on or risk-off", "what should I be looking at this week", "show me the rotation map". Hands the standout movers off to a value-chain scan to di
repo: TraderAlice/OpenAlice
Popularity
- GitHub stars
- 7.4k
- Ranking position
- #13269
- License
- AGPL-3.0
- Updated
- 10/23/2026
Comments
- β¦
More skills from this repository
alice-analysis
7.4kHelps your agent calculate stock indicators, such as moving averages, by running short, safe formulas on price history.
alice-uta
7.4kHelps your agent check your broker accounts, holdings, prices and order history, and manage trades with extra care.
alice
7.4kHelps your agent search for stocks, pull research data and work with your team's Inbox and Issues through the alice tool.
build-thesis
7.4kHelps your agent build a balanced investment case on one stock, testing both the numbers and the market trend, with clear ways it could be wrong.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.