market-top-detector
Detects market top probability using O'Neil Distribution Days, Minervini Leading Stock Deterioration, and Monty Defensive Sector Rotation. Generates a 0-100 composite score with risk zone classification. Use when user asks about market top risk, distribution days, defensive rotation, leadership breakdown, or whether to reduce equity exposure. Focuses on 2-8 week tactical timing signals for 10-20% corrections.
npx skills add BaggaT236/AI-Trading-Skills --skill market-top-detector --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Market Top Detector Skill ## Purpose Detect the probability of a market top formation using a quantitative 6-component scoring system (0-100). Integrates three proven market top detection methodologies: 1. **O'Neil** - Distribution Day accumulation (institutional selling) 2. **Minervini** - Leading stock deterioration pattern 3. **Monty** - Defensive sector rotation signal Unlike the Bubble Detector (macro/multi-month evaluation), this skill focuses on **tactical 2-8 week timing signals** that precede 10-20% market corrections. ## When to Use This Skill **English:** - User asks "Is the market topping?" or "Are we near a top?" - User notices distribution days accumulating - User observes defensive sectors outperforming growth - User sees leading stocks breaking down while indices hold - User asks about reducing equity exposure timing - User wants to assess correction probability for the next 2-8 weeks **Japanese:** - 「天井が近い?」「今は利確すべき?」 - ディストリビューションデーの蓄積を懸念 - ディフェンシブセクターがグロースをアウトパフォーム - 先導株が崩れ始めているが指数はまだ持ちこたえている - エクスポージャー縮小のタイミング判断 - 今後2〜8週間の調整確率を評価したい ## Prerequisites **Required:** - **FMP API Key:** Set `$FMP_API_KEY` environment variable or pass `--api-key`. Free tier sufficie
- Purpose
- When to Use This Skill
- Prerequisites
- Difference from Bubble Detector
- Execution Workflow
- Phase 1: Data Collection via WebSearch
- Phase 2: Execute Python Script
- Phase 3: Present Results
- 6-Component Scoring System
- Risk Zone Mapping
- API Requirements
- Output Files
- Reference Documents
- references/markettopmethodology.md
python3 skills/market-top-detector/scripts/market_top_detector.py \ Override with --breadth-200dma [VALUE] if needed. Disable with --no-auto-breadth to skip auto-fetch.
What does the market-top-detector skill do?
Detects market top probability using O'Neil Distribution Days, Minervini Leading Stock Deterioration, and Monty Defensive Sector Rotation. Generates a 0-100 composite score with risk zone classification. Use when user asks about market top risk, distribution days, defensive rotation, leadership breakdown, or whether to reduce equity exposure. Focuses on 2-8 week tactical timing signals for 10-20% corrections.
How do I install it?
Run `npx skills add BaggaT236/AI-Trading-Skills --skill market-top-detector --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BaggaT236/AI-Trading-Skills, a repository with 118 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
