Skip to content
Skillpedia
Analysis & spreadsheets7.4k Β· #13269

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.md

Copy 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

Use this skill to help me: https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/sector-rotation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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.)

  1. 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)
  2. 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.
  3. 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.
  4. 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.
  5. 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-chain skill) 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills