theme-detector
Detect and analyze trending market themes across sectors. Use when user asks about current market themes, trending sectors, sector rotation, thematic investing, what themes are hot or cold, or wants to identify bullish and bearish market narratives with lifecycle analysis.
npx skills add BaggaT236/AI-Trading-Skills --skill theme-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.
# Theme Detector ## Overview This skill detects and ranks trending market themes by analyzing cross-sector momentum, volume, and breadth signals. It identifies both bullish (upward momentum) and bearish (downward pressure) themes, assesses lifecycle maturity (Emerging/Accelerating/Trending/Mature/Exhausting), and provides a confidence score combining quantitative data with narrative analysis. **3-Dimensional Scoring Model:** 1. **Theme Heat** (0-100): Direction-neutral strength of the theme (momentum, volume, uptrend ratio, breadth) 2. **Lifecycle Maturity**: Stage classification (Emerging / Accelerating / Trending / Mature / Exhausting) based on duration, extremity clustering, valuation, and ETF proliferation 3. **Confidence** (Low / Medium / High): Reliability of the detection, combining quantitative breadth with narrative confirmation. Script output is capped at Medium; Claude's WebSearch narrative confirmation step can elevate to High. **Key Features:** - Cross-sector theme detection using FINVIZ industry data - Direction-aware scoring (bullish and bearish themes) - Lifecycle maturity assessment to identify crowded vs. emerging trades - ETF proliferation scoring (more ETFs = mo
- Overview
- When to Use This Skill
- Prerequisites
- Workflow
- Step 1: Verify Environment
- Step 2: Execute Theme Detection Script
- Step 3: Read and Parse Detection Results
- Step 4: Perform Narrative Confirmation via WebSearch
- Step 5: Analyze Results and Provide Recommendations
- Step 6: Generate Final Report
- Output
- Resources
- Scripts Directory (scripts/)
- References Directory (references/)
pip install requests beautifulsoup4 lxml pandas numpy yfinance uv run --python 3.12 \ python skills/theme-detector/scripts/theme_detector.py \ export FINVIZ_API_KEY=your_finviz_elite_api_key_here export FMP_API_KEY=your_fmp_api_key_here Verify FINVIZ Elite API key (optional but recommended) echo $FINVIZ_API_KEY Verify FMP API key (optional) echo $FMP_API_KEY python3 skills/theme-detector/scripts/theme_detector.py \
What does the theme-detector skill do?
Detect and analyze trending market themes across sectors. Use when user asks about current market themes, trending sectors, sector rotation, thematic investing, what themes are hot or cold, or wants to identify bullish and bearish market narratives with lifecycle analysis.
How do I install it?
Run `npx skills add BaggaT236/AI-Trading-Skills --skill theme-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.
