# 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. Source: https://skillsagentes.com/skills/wind-information-co-ltd/wind-skills/theme-detector Repository: https://github.com/Wind-Information-Co-Ltd/wind-skills Author: wind-information-co-ltd License: not specified Updated: hace 3 meses Context cost: 68 tok installed, 3k tok once triggered, 116.5k tok with every bundled file Bundle: 38 files, 455 KB Permissions requested: none declared ## Install ```bash npx -y skills add Wind-Information-Co-Ltd/wind-skills --skill theme-detector --agent claude-code ``` ## What it does - Ejecuta theme_detector.py para analizar momentum, volumen y amplitud entre sectores usando datos de industria de FINVIZ - Puntúa cada tema en 3 dimensiones: Theme Heat (0-100), etapa de ciclo de vida (Early/Mid/Late/Exhaustion) y Confidence (Low/Medium/High) - Detecta temas tanto alcistas como bajistas y clasifica su dirección según rendimiento ponderado, ratio de uptrend y volumen - Confirma la narrativa de los 5 temas principales mediante búsquedas web y genera un informe en JSON y Markdown ## Use it when - El usuario pregunta qué temas de mercado están en tendencia ahora mismo - El usuario quiere saber qué sectores están calientes o fríos, o hacia dónde va la rotación sectorial - El usuario pregunta si un tema como IA, energía limpia o defensa sigue siendo fuerte - El usuario busca ideas de inversión temática o quiere identificar operaciones saturadas o de ciclo tardío ## Don't bother when - Análisis de una acción individual (usar us-stock-analysis) - Análisis profundo de un sector específico con lectura de gráficos (usar sector-analyst) - Rebalanceo de cartera (usar portfolio-manager) o inversión en dividendos (usar value-dividend-screener) ## What triggers it - "¿Qué temas de mercado están en tendencia ahora mismo?" - "¿Qué sectores están calientes o fríos esta semana?" - "¿Sigue siendo fuerte el tema de la IA o ya está agotado?" - "Muéstrame oportunidades de inversión temática" - "¿Hacia dónde se está moviendo la rotación sectorial?" ## Before you install - Requiere Python 3.7+ con requests, beautifulsoup4 y lxml; clave FINVIZ Elite recomendada (o modo público sin clave) y clave FMP opcional para valoración. - Needs on PATH: pip, python3 - Environment: FINVIZ_API_KEY, FMP_API_KEY ## Files - SKILL.md — 12 KB - assets/report_template.md — 4 KB - references/cross_sector_themes.md — 11 KB - references/finviz_industry_codes.md — 17 KB - references/thematic_etf_catalog.md — 12 KB - references/theme_detection_methodology.md — 13 KB - scripts/calculators/__init__.py — 37 B - scripts/calculators/heat_calculator.py — 4 KB - scripts/calculators/industry_ranker.py — 3 KB - scripts/calculators/lifecycle_calculator.py — 5 KB - scripts/calculators/theme_classifier.py — 12 KB - scripts/calculators/theme_discoverer.py — 9 KB - scripts/config_loader.py — 4 KB - scripts/default_theme_config.py — 10 KB - scripts/etf_scanner.py — 24 KB - scripts/finviz_performance_client.py — 7 KB - scripts/report_generator.py — 21 KB - scripts/representative_stock_selector.py — 22 KB - scripts/scorer.py — 3 KB - scripts/tests/README.md — 653 B - scripts/tests/conftest.py — 298 B - scripts/tests/test_config_loader.py — 8 KB - scripts/tests/test_detect_divergence.py — 4 KB - scripts/tests/test_etf_scanner.py — 31 KB - scripts/tests/test_finviz_performance_client.py — 5 KB - scripts/tests/test_heat_calculator.py — 9 KB - scripts/tests/test_industry_ranker.py — 10 KB - scripts/tests/test_lifecycle_calculator.py — 12 KB - scripts/tests/test_report_generator.py — 22 KB - scripts/tests/test_representative_stock_selector.py — 40 KB - scripts/tests/test_scorer.py — 7 KB - scripts/tests/test_theme_classifier.py — 25 KB - scripts/tests/test_theme_detector_e2e.py — 19 KB - scripts/tests/test_theme_discoverer.py — 19 KB - scripts/tests/test_uptrend_client.py — 3 KB - scripts/theme_detector.py — 34 KB - scripts/themes.yaml — 5 KB - scripts/uptrend_client.py — 8 KB ## SKILL.md Not reproduced here. Read it at https://github.com/Wind-Information-Co-Ltd/wind-skills/blob/main/skills/theme-detector/SKILL.md --- Skills Agentes — https://skillsagentes.com/skills/wind-information-co-ltd/wind-skills/theme-detector