quantwise 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/.claude/skills/README.md +80 -0
  2. package/.claude/skills/backtest-expert/SKILL.md +206 -0
  3. package/.claude/skills/backtest-expert/references/failed_tests.md +236 -0
  4. package/.claude/skills/backtest-expert/references/methodology.md +227 -0
  5. package/.claude/skills/breadth-chart-analyst/SKILL.md +583 -0
  6. package/.claude/skills/breadth-chart-analyst/assets/SP500_Breadth_Index_200MA_8MA.jpeg +0 -0
  7. package/.claude/skills/breadth-chart-analyst/assets/US_Stock_Market_Uptrend_Ratio.jpeg +0 -0
  8. package/.claude/skills/breadth-chart-analyst/assets/breadth_analysis_template.md +558 -0
  9. package/.claude/skills/breadth-chart-analyst/references/breadth_chart_methodology.md +590 -0
  10. package/.claude/skills/canslim-screener/SKILL.md +599 -0
  11. package/.claude/skills/canslim-screener/references/canslim_methodology.md +606 -0
  12. package/.claude/skills/canslim-screener/references/fmp_api_endpoints.md +707 -0
  13. package/.claude/skills/canslim-screener/references/interpretation_guide.md +516 -0
  14. package/.claude/skills/canslim-screener/references/scoring_system.md +597 -0
  15. package/.claude/skills/canslim-screener/scripts/calculators/earnings_calculator.py +343 -0
  16. package/.claude/skills/canslim-screener/scripts/calculators/growth_calculator.py +334 -0
  17. package/.claude/skills/canslim-screener/scripts/calculators/institutional_calculator.py +347 -0
  18. package/.claude/skills/canslim-screener/scripts/calculators/leadership_calculator.py +380 -0
  19. package/.claude/skills/canslim-screener/scripts/calculators/market_calculator.py +244 -0
  20. package/.claude/skills/canslim-screener/scripts/calculators/new_highs_calculator.py +194 -0
  21. package/.claude/skills/canslim-screener/scripts/calculators/supply_demand_calculator.py +221 -0
  22. package/.claude/skills/canslim-screener/scripts/finviz_stock_client.py +227 -0
  23. package/.claude/skills/canslim-screener/scripts/fmp_client.py +393 -0
  24. package/.claude/skills/canslim-screener/scripts/report_generator.py +405 -0
  25. package/.claude/skills/canslim-screener/scripts/scorer.py +625 -0
  26. package/.claude/skills/canslim-screener/scripts/screen_canslim.py +361 -0
  27. package/.claude/skills/canslim-screener/scripts/test_institutional_endpoint.py +109 -0
  28. package/.claude/skills/chart/SKILL.md +20 -0
  29. package/.claude/skills/dividend-growth-pullback-screener/SKILL.md +322 -0
  30. package/.claude/skills/dividend-growth-pullback-screener/references/dividend_growth_compounding.md +400 -0
  31. package/.claude/skills/dividend-growth-pullback-screener/references/fmp_api_guide.md +642 -0
  32. package/.claude/skills/dividend-growth-pullback-screener/references/rsi_oversold_strategy.md +333 -0
  33. package/.claude/skills/dividend-growth-pullback-screener/scripts/screen_dividend_growth_rsi.py +1155 -0
  34. package/.claude/skills/earnings-calendar/SKILL.md +721 -0
  35. package/.claude/skills/earnings-calendar/assets/earnings_report_template.md +102 -0
  36. package/.claude/skills/earnings-calendar/references/fmp_api_guide.md +590 -0
  37. package/.claude/skills/earnings-calendar/scripts/fetch_earnings_fmp.py +443 -0
  38. package/.claude/skills/earnings-calendar/scripts/generate_report.py +366 -0
  39. package/.claude/skills/economic-calendar-fetcher/SKILL.md +365 -0
  40. package/.claude/skills/economic-calendar-fetcher/references/fmp_api_documentation.md +345 -0
  41. package/.claude/skills/economic-calendar-fetcher/scripts/get_economic_calendar.py +267 -0
  42. package/.claude/skills/ftd-detector/SKILL.md +147 -0
  43. package/.claude/skills/ftd-detector/references/ftd_methodology.md +188 -0
  44. package/.claude/skills/ftd-detector/references/post_ftd_guide.md +185 -0
  45. package/.claude/skills/ftd-detector/scripts/fmp_client.py +158 -0
  46. package/.claude/skills/ftd-detector/scripts/ftd_detector.py +280 -0
  47. package/.claude/skills/ftd-detector/scripts/post_ftd_monitor.py +404 -0
  48. package/.claude/skills/ftd-detector/scripts/rally_tracker.py +508 -0
  49. package/.claude/skills/ftd-detector/scripts/report_generator.py +341 -0
  50. package/.claude/skills/ftd-detector/scripts/tests/conftest.py +9 -0
  51. package/.claude/skills/ftd-detector/scripts/tests/helpers.py +107 -0
  52. package/.claude/skills/ftd-detector/scripts/tests/test_post_ftd_monitor.py +311 -0
  53. package/.claude/skills/ftd-detector/scripts/tests/test_rally_tracker.py +302 -0
  54. package/.claude/skills/institutional-flow-tracker/README.md +362 -0
  55. package/.claude/skills/institutional-flow-tracker/SKILL.md +357 -0
  56. package/.claude/skills/institutional-flow-tracker/references/13f_filings_guide.md +383 -0
  57. package/.claude/skills/institutional-flow-tracker/references/institutional_investor_types.md +580 -0
  58. package/.claude/skills/institutional-flow-tracker/references/interpretation_framework.md +573 -0
  59. package/.claude/skills/institutional-flow-tracker/scripts/analyze_single_stock.py +457 -0
  60. package/.claude/skills/institutional-flow-tracker/scripts/track_institution_portfolio.py +108 -0
  61. package/.claude/skills/institutional-flow-tracker/scripts/track_institutional_flow.py +450 -0
  62. package/.claude/skills/macro-regime-detector/SKILL.md +86 -0
  63. package/.claude/skills/macro-regime-detector/references/historical_regimes.md +124 -0
  64. package/.claude/skills/macro-regime-detector/references/indicator_interpretation_guide.md +144 -0
  65. package/.claude/skills/macro-regime-detector/references/regime_detection_methodology.md +138 -0
  66. package/.claude/skills/macro-regime-detector/scripts/calculators/__init__.py +1 -0
  67. package/.claude/skills/macro-regime-detector/scripts/calculators/concentration_calculator.py +165 -0
  68. package/.claude/skills/macro-regime-detector/scripts/calculators/credit_conditions_calculator.py +124 -0
  69. package/.claude/skills/macro-regime-detector/scripts/calculators/equity_bond_calculator.py +198 -0
  70. package/.claude/skills/macro-regime-detector/scripts/calculators/sector_rotation_calculator.py +123 -0
  71. package/.claude/skills/macro-regime-detector/scripts/calculators/size_factor_calculator.py +131 -0
  72. package/.claude/skills/macro-regime-detector/scripts/calculators/utils.py +347 -0
  73. package/.claude/skills/macro-regime-detector/scripts/calculators/yield_curve_calculator.py +279 -0
  74. package/.claude/skills/macro-regime-detector/scripts/fmp_client.py +134 -0
  75. package/.claude/skills/macro-regime-detector/scripts/macro_regime_detector.py +278 -0
  76. package/.claude/skills/macro-regime-detector/scripts/report_generator.py +327 -0
  77. package/.claude/skills/macro-regime-detector/scripts/scorer.py +574 -0
  78. package/.claude/skills/macro-regime-detector/scripts/tests/conftest.py +9 -0
  79. package/.claude/skills/macro-regime-detector/scripts/tests/test_concentration.py +78 -0
  80. package/.claude/skills/macro-regime-detector/scripts/tests/test_credit_conditions.py +59 -0
  81. package/.claude/skills/macro-regime-detector/scripts/tests/test_equity_bond.py +74 -0
  82. package/.claude/skills/macro-regime-detector/scripts/tests/test_helpers.py +90 -0
  83. package/.claude/skills/macro-regime-detector/scripts/tests/test_scorer.py +439 -0
  84. package/.claude/skills/macro-regime-detector/scripts/tests/test_sector_rotation.py +78 -0
  85. package/.claude/skills/macro-regime-detector/scripts/tests/test_size_factor.py +59 -0
  86. package/.claude/skills/macro-regime-detector/scripts/tests/test_utils.py +126 -0
  87. package/.claude/skills/macro-regime-detector/scripts/tests/test_yield_curve.py +64 -0
  88. package/.claude/skills/market-breadth-analyzer/SKILL.md +121 -0
  89. package/.claude/skills/market-breadth-analyzer/references/breadth_analysis_methodology.md +168 -0
  90. package/.claude/skills/market-breadth-analyzer/scripts/calculators/__init__.py +1 -0
  91. package/.claude/skills/market-breadth-analyzer/scripts/calculators/bearish_signal_calculator.py +150 -0
  92. package/.claude/skills/market-breadth-analyzer/scripts/calculators/cycle_calculator.py +168 -0
  93. package/.claude/skills/market-breadth-analyzer/scripts/calculators/divergence_calculator.py +119 -0
  94. package/.claude/skills/market-breadth-analyzer/scripts/calculators/historical_context_calculator.py +120 -0
  95. package/.claude/skills/market-breadth-analyzer/scripts/calculators/ma_crossover_calculator.py +115 -0
  96. package/.claude/skills/market-breadth-analyzer/scripts/calculators/trend_level_calculator.py +103 -0
  97. package/.claude/skills/market-breadth-analyzer/scripts/csv_client.py +225 -0
  98. package/.claude/skills/market-breadth-analyzer/scripts/market_breadth_analyzer.py +307 -0
  99. package/.claude/skills/market-breadth-analyzer/scripts/report_generator.py +330 -0
  100. package/.claude/skills/market-breadth-analyzer/scripts/scorer.py +271 -0
  101. package/.claude/skills/market-environment-analysis/SKILL.md +139 -0
  102. package/.claude/skills/market-environment-analysis/references/analysis_patterns.md +124 -0
  103. package/.claude/skills/market-environment-analysis/references/indicators.md +99 -0
  104. package/.claude/skills/market-environment-analysis/scripts/market_utils.py +127 -0
  105. package/.claude/skills/market-news-analyst/SKILL.md +714 -0
  106. package/.claude/skills/market-news-analyst/references/corporate_news_impact.md +446 -0
  107. package/.claude/skills/market-news-analyst/references/geopolitical_commodity_correlations.md +499 -0
  108. package/.claude/skills/market-news-analyst/references/market_event_patterns.md +393 -0
  109. package/.claude/skills/market-news-analyst/references/trusted_news_sources.md +510 -0
  110. package/.claude/skills/market-top-detector/SKILL.md +159 -0
  111. package/.claude/skills/market-top-detector/references/distribution_day_guide.md +100 -0
  112. package/.claude/skills/market-top-detector/references/historical_tops.md +142 -0
  113. package/.claude/skills/market-top-detector/references/market_top_methodology.md +167 -0
  114. package/.claude/skills/market-top-detector/scripts/calculators/__init__.py +17 -0
  115. package/.claude/skills/market-top-detector/scripts/calculators/breadth_calculator.py +116 -0
  116. package/.claude/skills/market-top-detector/scripts/calculators/defensive_rotation_calculator.py +127 -0
  117. package/.claude/skills/market-top-detector/scripts/calculators/distribution_day_calculator.py +161 -0
  118. package/.claude/skills/market-top-detector/scripts/calculators/index_technical_calculator.py +254 -0
  119. package/.claude/skills/market-top-detector/scripts/calculators/leading_stock_calculator.py +198 -0
  120. package/.claude/skills/market-top-detector/scripts/calculators/sentiment_calculator.py +213 -0
  121. package/.claude/skills/market-top-detector/scripts/fmp_client.py +158 -0
  122. package/.claude/skills/market-top-detector/scripts/market_top_detector.py +349 -0
  123. package/.claude/skills/market-top-detector/scripts/report_generator.py +314 -0
  124. package/.claude/skills/market-top-detector/scripts/scorer.py +473 -0
  125. package/.claude/skills/market-top-detector/scripts/tests/conftest.py +9 -0
  126. package/.claude/skills/market-top-detector/scripts/tests/helpers.py +49 -0
  127. package/.claude/skills/market-top-detector/scripts/tests/test_breadth.py +62 -0
  128. package/.claude/skills/market-top-detector/scripts/tests/test_defensive_rotation.py +56 -0
  129. package/.claude/skills/market-top-detector/scripts/tests/test_distribution_day.py +92 -0
  130. package/.claude/skills/market-top-detector/scripts/tests/test_index_technical.py +73 -0
  131. package/.claude/skills/market-top-detector/scripts/tests/test_leading_stock.py +57 -0
  132. package/.claude/skills/market-top-detector/scripts/tests/test_scorer.py +180 -0
  133. package/.claude/skills/market-top-detector/scripts/tests/test_sentiment.py +64 -0
  134. package/.claude/skills/options-strategy-advisor/README.md +469 -0
  135. package/.claude/skills/options-strategy-advisor/SKILL.md +959 -0
  136. package/.claude/skills/options-strategy-advisor/scripts/black_scholes.py +495 -0
  137. package/.claude/skills/pair-trade-screener/README.md +389 -0
  138. package/.claude/skills/pair-trade-screener/SKILL.md +622 -0
  139. package/.claude/skills/pair-trade-screener/references/cointegration_guide.md +745 -0
  140. package/.claude/skills/pair-trade-screener/references/methodology.md +853 -0
  141. package/.claude/skills/pair-trade-screener/scripts/analyze_spread.py +394 -0
  142. package/.claude/skills/pair-trade-screener/scripts/find_pairs.py +535 -0
  143. package/.claude/skills/portfolio-manager/README.md +394 -0
  144. package/.claude/skills/portfolio-manager/SKILL.md +750 -0
  145. package/.claude/skills/portfolio-manager/references/alpaca-mcp-setup.md +367 -0
  146. package/.claude/skills/portfolio-manager/references/asset-allocation.md +502 -0
  147. package/.claude/skills/portfolio-manager/references/diversification-principles.md +553 -0
  148. package/.claude/skills/portfolio-manager/references/portfolio-risk-metrics.md +603 -0
  149. package/.claude/skills/portfolio-manager/references/position-evaluation.md +477 -0
  150. package/.claude/skills/portfolio-manager/references/rebalancing-strategies.md +715 -0
  151. package/.claude/skills/portfolio-manager/references/risk-profile-questionnaire.md +608 -0
  152. package/.claude/skills/portfolio-manager/references/target-allocations.md +558 -0
  153. package/.claude/skills/portfolio-manager/scripts/test_alpaca_connection.py +286 -0
  154. package/.claude/skills/scenario-analyzer/SKILL.md +317 -0
  155. package/.claude/skills/scenario-analyzer/references/headline_event_patterns.md +264 -0
  156. package/.claude/skills/scenario-analyzer/references/scenario_playbooks.md +320 -0
  157. package/.claude/skills/scenario-analyzer/references/sector_sensitivity_matrix.md +217 -0
  158. package/.claude/skills/sector-analyst/SKILL.md +206 -0
  159. package/.claude/skills/sector-analyst/assets/industory_performance_1.jpeg +0 -0
  160. package/.claude/skills/sector-analyst/assets/industory_performance_2.jpeg +0 -0
  161. package/.claude/skills/sector-analyst/assets/sector_performance.jpeg +0 -0
  162. package/.claude/skills/sector-analyst/references/sector_rotation.md +170 -0
  163. package/.claude/skills/stanley-druckenmiller-investment/SKILL.md +84 -0
  164. package/.claude/skills/stanley-druckenmiller-investment/references/case-studies.md +148 -0
  165. package/.claude/skills/stanley-druckenmiller-investment/references/investment-philosophy.md +80 -0
  166. package/.claude/skills/stanley-druckenmiller-investment/references/market-analysis-guide.md +146 -0
  167. package/.claude/skills/stock/NOTION_SETUP.md +33 -0
  168. package/.claude/skills/stock/SKILL.md +38 -0
  169. package/.claude/skills/technical-analyst/SKILL.md +238 -0
  170. package/.claude/skills/technical-analyst/assets/analysis_template.md +183 -0
  171. package/.claude/skills/technical-analyst/references/technical_analysis_framework.md +282 -0
  172. package/.claude/skills/theme-detector/SKILL.md +320 -0
  173. package/.claude/skills/theme-detector/assets/report_template.md +155 -0
  174. package/.claude/skills/theme-detector/references/cross_sector_themes.md +252 -0
  175. package/.claude/skills/theme-detector/references/finviz_industry_codes.md +403 -0
  176. package/.claude/skills/theme-detector/references/thematic_etf_catalog.md +333 -0
  177. package/.claude/skills/theme-detector/references/theme_detection_methodology.md +430 -0
  178. package/.claude/skills/theme-detector/scripts/calculators/__init__.py +1 -0
  179. package/.claude/skills/theme-detector/scripts/calculators/heat_calculator.py +123 -0
  180. package/.claude/skills/theme-detector/scripts/calculators/industry_ranker.py +98 -0
  181. package/.claude/skills/theme-detector/scripts/calculators/lifecycle_calculator.py +172 -0
  182. package/.claude/skills/theme-detector/scripts/calculators/theme_classifier.py +195 -0
  183. package/.claude/skills/theme-detector/scripts/calculators/theme_discoverer.py +280 -0
  184. package/.claude/skills/theme-detector/scripts/config_loader.py +142 -0
  185. package/.claude/skills/theme-detector/scripts/default_theme_config.py +254 -0
  186. package/.claude/skills/theme-detector/scripts/etf_scanner.py +609 -0
  187. package/.claude/skills/theme-detector/scripts/finviz_performance_client.py +131 -0
  188. package/.claude/skills/theme-detector/scripts/report_generator.py +490 -0
  189. package/.claude/skills/theme-detector/scripts/representative_stock_selector.py +673 -0
  190. package/.claude/skills/theme-detector/scripts/scorer.py +87 -0
  191. package/.claude/skills/theme-detector/scripts/tests/README.md +21 -0
  192. package/.claude/skills/theme-detector/scripts/tests/conftest.py +9 -0
  193. package/.claude/skills/theme-detector/scripts/tests/test_config_loader.py +239 -0
  194. package/.claude/skills/theme-detector/scripts/tests/test_etf_scanner.py +810 -0
  195. package/.claude/skills/theme-detector/scripts/tests/test_heat_calculator.py +245 -0
  196. package/.claude/skills/theme-detector/scripts/tests/test_industry_ranker.py +256 -0
  197. package/.claude/skills/theme-detector/scripts/tests/test_lifecycle_calculator.py +301 -0
  198. package/.claude/skills/theme-detector/scripts/tests/test_report_generator.py +624 -0
  199. package/.claude/skills/theme-detector/scripts/tests/test_representative_stock_selector.py +898 -0
  200. package/.claude/skills/theme-detector/scripts/tests/test_scorer.py +185 -0
  201. package/.claude/skills/theme-detector/scripts/tests/test_theme_classifier.py +534 -0
  202. package/.claude/skills/theme-detector/scripts/tests/test_theme_detector_e2e.py +467 -0
  203. package/.claude/skills/theme-detector/scripts/tests/test_theme_discoverer.py +458 -0
  204. package/.claude/skills/theme-detector/scripts/tests/test_uptrend_client.py +76 -0
  205. package/.claude/skills/theme-detector/scripts/theme_detector.py +815 -0
  206. package/.claude/skills/theme-detector/scripts/themes.yaml +168 -0
  207. package/.claude/skills/theme-detector/scripts/uptrend_client.py +241 -0
  208. package/.claude/skills/uptrend-analyzer/SKILL.md +108 -0
  209. package/.claude/skills/uptrend-analyzer/references/uptrend_methodology.md +215 -0
  210. package/.claude/skills/uptrend-analyzer/scripts/calculators/__init__.py +1 -0
  211. package/.claude/skills/uptrend-analyzer/scripts/calculators/historical_context_calculator.py +122 -0
  212. package/.claude/skills/uptrend-analyzer/scripts/calculators/market_breadth_calculator.py +145 -0
  213. package/.claude/skills/uptrend-analyzer/scripts/calculators/momentum_calculator.py +183 -0
  214. package/.claude/skills/uptrend-analyzer/scripts/calculators/sector_participation_calculator.py +204 -0
  215. package/.claude/skills/uptrend-analyzer/scripts/calculators/sector_rotation_calculator.py +218 -0
  216. package/.claude/skills/uptrend-analyzer/scripts/data_fetcher.py +236 -0
  217. package/.claude/skills/uptrend-analyzer/scripts/report_generator.py +329 -0
  218. package/.claude/skills/uptrend-analyzer/scripts/scorer.py +276 -0
  219. package/.claude/skills/uptrend-analyzer/scripts/uptrend_analyzer.py +219 -0
  220. package/.claude/skills/us-market-bubble-detector/CHANGELOG.md +118 -0
  221. package/.claude/skills/us-market-bubble-detector/SKILL.md +545 -0
  222. package/.claude/skills/us-market-bubble-detector/references/bubble_framework.md +335 -0
  223. package/.claude/skills/us-market-bubble-detector/references/historical_cases.md +327 -0
  224. package/.claude/skills/us-market-bubble-detector/references/implementation_guide.md +473 -0
  225. package/.claude/skills/us-market-bubble-detector/references/quick_reference.md +354 -0
  226. package/.claude/skills/us-market-bubble-detector/references/quick_reference_en.md +342 -0
  227. package/.claude/skills/us-market-bubble-detector/scripts/bubble_scorer.py +309 -0
  228. package/.claude/skills/us-stock-analysis/SKILL.md +294 -0
  229. package/.claude/skills/us-stock-analysis/references/financial-metrics.md +172 -0
  230. package/.claude/skills/us-stock-analysis/references/fundamental-analysis.md +129 -0
  231. package/.claude/skills/us-stock-analysis/references/report-template.md +207 -0
  232. package/.claude/skills/us-stock-analysis/references/technical-analysis.md +93 -0
  233. package/.claude/skills/value-dividend-screener/SKILL.md +562 -0
  234. package/.claude/skills/value-dividend-screener/references/fmp_api_guide.md +348 -0
  235. package/.claude/skills/value-dividend-screener/references/screening_methodology.md +315 -0
  236. package/.claude/skills/value-dividend-screener/scripts/screen_dividend_stocks.py +1138 -0
  237. package/.claude/skills/vcp-screener/SKILL.md +79 -0
  238. package/.claude/skills/vcp-screener/references/fmp_api_endpoints.md +45 -0
  239. package/.claude/skills/vcp-screener/references/scoring_system.md +154 -0
  240. package/.claude/skills/vcp-screener/references/vcp_methodology.md +124 -0
  241. package/.claude/skills/vcp-screener/scripts/calculators/__init__.py +1 -0
  242. package/.claude/skills/vcp-screener/scripts/calculators/pivot_proximity_calculator.py +139 -0
  243. package/.claude/skills/vcp-screener/scripts/calculators/relative_strength_calculator.py +161 -0
  244. package/.claude/skills/vcp-screener/scripts/calculators/trend_template_calculator.py +228 -0
  245. package/.claude/skills/vcp-screener/scripts/calculators/vcp_pattern_calculator.py +322 -0
  246. package/.claude/skills/vcp-screener/scripts/calculators/volume_pattern_calculator.py +121 -0
  247. package/.claude/skills/vcp-screener/scripts/fmp_client.py +162 -0
  248. package/.claude/skills/vcp-screener/scripts/report_generator.py +317 -0
  249. package/.claude/skills/vcp-screener/scripts/scorer.py +155 -0
  250. package/.claude/skills/vcp-screener/scripts/screen_vcp.py +536 -0
  251. package/.claude/skills/vcp-screener/scripts/tests/__init__.py +0 -0
  252. package/.claude/skills/vcp-screener/scripts/tests/conftest.py +9 -0
  253. package/.claude/skills/vcp-screener/scripts/tests/test_vcp_screener.py +834 -0
  254. package/.claude/skills/weekly-trade-strategy/.claude/agents/druckenmiller-strategy-planner.md +300 -0
  255. package/.claude/skills/weekly-trade-strategy/.claude/agents/market-news-analyzer.md +239 -0
  256. package/.claude/skills/weekly-trade-strategy/.claude/agents/technical-market-analyst.md +187 -0
  257. package/.claude/skills/weekly-trade-strategy/.claude/agents/us-market-analyst.md +218 -0
  258. package/.claude/skills/weekly-trade-strategy/.claude/agents/weekly-trade-blog-writer.md +318 -0
  259. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/SKILL.md +662 -0
  260. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/assets/SP500_Breadth_Index_200MA_8MA.jpeg +0 -0
  261. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/assets/US_Stock_Market_Uptrend_Ratio.jpeg +0 -0
  262. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/assets/breadth_analysis_template.md +558 -0
  263. package/.claude/skills/weekly-trade-strategy/.claude/skills/breadth-chart-analyst/references/breadth_chart_methodology.md +590 -0
  264. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/SKILL.md +721 -0
  265. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/assets/earnings_report_template.md +102 -0
  266. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/earnings_calendar_2025-11-02.md +447 -0
  267. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/references/fmp_api_guide.md +590 -0
  268. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/scripts/fetch_earnings_fmp.py +443 -0
  269. package/.claude/skills/weekly-trade-strategy/.claude/skills/earnings-calendar/scripts/generate_report.py +366 -0
  270. package/.claude/skills/weekly-trade-strategy/.claude/skills/economic-calendar-fetcher/SKILL.md +365 -0
  271. package/.claude/skills/weekly-trade-strategy/.claude/skills/economic-calendar-fetcher/references/fmp_api_documentation.md +345 -0
  272. package/.claude/skills/weekly-trade-strategy/.claude/skills/economic-calendar-fetcher/scripts/get_economic_calendar.py +267 -0
  273. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/SKILL.md +139 -0
  274. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/references/analysis_patterns.md +124 -0
  275. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/references/indicators.md +99 -0
  276. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-environment-analysis/scripts/market_utils.py +127 -0
  277. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/SKILL.md +714 -0
  278. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/corporate_news_impact.md +446 -0
  279. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/geopolitical_commodity_correlations.md +499 -0
  280. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/market_event_patterns.md +393 -0
  281. package/.claude/skills/weekly-trade-strategy/.claude/skills/market-news-analyst/references/trusted_news_sources.md +510 -0
  282. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/SKILL.md +206 -0
  283. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/assets/industory_performance_1.jpeg +0 -0
  284. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/assets/industory_performance_2.jpeg +0 -0
  285. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/assets/sector_performance.jpeg +0 -0
  286. package/.claude/skills/weekly-trade-strategy/.claude/skills/sector-analyst/references/sector_rotation.md +170 -0
  287. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/SKILL.md +84 -0
  288. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/references/case-studies.md +148 -0
  289. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/references/investment-philosophy.md +80 -0
  290. package/.claude/skills/weekly-trade-strategy/.claude/skills/stanley-druckenmiller-investment/references/market-analysis-guide.md +146 -0
  291. package/.claude/skills/weekly-trade-strategy/.claude/skills/technical-analyst/SKILL.md +238 -0
  292. package/.claude/skills/weekly-trade-strategy/.claude/skills/technical-analyst/assets/analysis_template.md +183 -0
  293. package/.claude/skills/weekly-trade-strategy/.claude/skills/technical-analyst/references/technical_analysis_framework.md +282 -0
  294. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/CHANGELOG.md +118 -0
  295. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/SKILL.md +545 -0
  296. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/bubble_framework.md +335 -0
  297. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/historical_cases.md +327 -0
  298. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/implementation_guide.md +473 -0
  299. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/quick_reference.md +354 -0
  300. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/references/quick_reference_en.md +342 -0
  301. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-market-bubble-detector/scripts/bubble_scorer.py +309 -0
  302. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/SKILL.md +294 -0
  303. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/financial-metrics.md +172 -0
  304. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/fundamental-analysis.md +129 -0
  305. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/report-template.md +207 -0
  306. package/.claude/skills/weekly-trade-strategy/.claude/skills/us-stock-analysis/references/technical-analysis.md +93 -0
  307. package/.claude/skills/weekly-trade-strategy/CLAUDE.md +454 -0
  308. package/.claude/skills/weekly-trade-strategy/README.md +287 -0
  309. package/.claude/skills/weekly-trade-strategy/blogs/.gitkeep +0 -0
  310. package/.claude/skills/weekly-trade-strategy/charts/.gitkeep +0 -0
  311. package/.claude/skills/weekly-trade-strategy/earnings_data.json +10054 -0
  312. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/SKILL.md +662 -0
  313. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/assets/SP500_Breadth_Index_200MA_8MA.jpeg +0 -0
  314. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/assets/US_Stock_Market_Uptrend_Ratio.jpeg +0 -0
  315. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/assets/breadth_analysis_template.md +558 -0
  316. package/.claude/skills/weekly-trade-strategy/skills/breadth-chart-analyst/references/breadth_chart_methodology.md +590 -0
  317. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/SKILL.md +721 -0
  318. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/assets/earnings_report_template.md +102 -0
  319. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/earnings_calendar_2025-11-02.md +447 -0
  320. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/references/fmp_api_guide.md +590 -0
  321. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/scripts/fetch_earnings_fmp.py +443 -0
  322. package/.claude/skills/weekly-trade-strategy/skills/earnings-calendar/scripts/generate_report.py +366 -0
  323. package/.claude/skills/weekly-trade-strategy/skills/economic-calendar-fetcher/SKILL.md +365 -0
  324. package/.claude/skills/weekly-trade-strategy/skills/economic-calendar-fetcher/references/fmp_api_documentation.md +345 -0
  325. package/.claude/skills/weekly-trade-strategy/skills/economic-calendar-fetcher/scripts/get_economic_calendar.py +267 -0
  326. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/SKILL.md +139 -0
  327. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/references/analysis_patterns.md +124 -0
  328. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/references/indicators.md +99 -0
  329. package/.claude/skills/weekly-trade-strategy/skills/market-environment-analysis/scripts/market_utils.py +127 -0
  330. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/SKILL.md +714 -0
  331. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/corporate_news_impact.md +446 -0
  332. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/geopolitical_commodity_correlations.md +499 -0
  333. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/market_event_patterns.md +393 -0
  334. package/.claude/skills/weekly-trade-strategy/skills/market-news-analyst/references/trusted_news_sources.md +510 -0
  335. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/SKILL.md +206 -0
  336. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/assets/industory_performance_1.jpeg +0 -0
  337. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/assets/industory_performance_2.jpeg +0 -0
  338. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/assets/sector_performance.jpeg +0 -0
  339. package/.claude/skills/weekly-trade-strategy/skills/sector-analyst/references/sector_rotation.md +170 -0
  340. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/SKILL.md +84 -0
  341. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/references/case-studies.md +148 -0
  342. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/references/investment-philosophy.md +80 -0
  343. package/.claude/skills/weekly-trade-strategy/skills/stanley-druckenmiller-investment/references/market-analysis-guide.md +146 -0
  344. package/.claude/skills/weekly-trade-strategy/skills/technical-analyst/SKILL.md +238 -0
  345. package/.claude/skills/weekly-trade-strategy/skills/technical-analyst/assets/analysis_template.md +183 -0
  346. package/.claude/skills/weekly-trade-strategy/skills/technical-analyst/references/technical_analysis_framework.md +282 -0
  347. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/CHANGELOG.md +118 -0
  348. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/SKILL.md +545 -0
  349. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/bubble_framework.md +335 -0
  350. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/historical_cases.md +327 -0
  351. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/implementation_guide.md +473 -0
  352. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/quick_reference.md +354 -0
  353. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/references/quick_reference_en.md +342 -0
  354. package/.claude/skills/weekly-trade-strategy/skills/us-market-bubble-detector/scripts/bubble_scorer.py +309 -0
  355. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/SKILL.md +294 -0
  356. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/financial-metrics.md +172 -0
  357. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/fundamental-analysis.md +129 -0
  358. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/report-template.md +207 -0
  359. package/.claude/skills/weekly-trade-strategy/skills/us-stock-analysis/references/technical-analysis.md +93 -0
  360. package/.mcp.json +3 -0
  361. package/cli.mjs +16 -16
  362. package/package.json +4 -2
@@ -0,0 +1,187 @@
1
+ ---
2
+ name: technical-market-analyst
3
+ description: Use this agent when you need comprehensive technical analysis of market conditions that synthesizes multiple data sources including government bond yields, VIX volatility index, stock indices, commodity prices, sector performance, and individual stock analysis. Deploy this agent when:\n\n<example>\nContext: User has just completed gathering market data and needs a holistic technical assessment.\nuser: "I've collected today's data on bond yields, VIX readings, and major indices. Can you analyze the overall market condition?"\nassistant: "I'll use the Task tool to launch the technical-market-analyst agent to provide you with a comprehensive technical analysis synthesizing all these data points."\n<commentary>\nThe user is requesting technical market analysis that requires synthesis of multiple data sources, which is the core function of the technical-market-analyst agent.\n</commentary>\n</example>\n\n<example>\nContext: User is examining chart images showing various market indicators.\nuser: "Here are charts for S&P 500, Treasury yields, and sector rotation. What's your assessment?"\nassistant: "Let me use the technical-market-analyst agent to analyze these charts and provide a comprehensive market outlook with probability-weighted scenarios."\n<commentary>\nChart analysis requiring selection of appropriate analytical skills and scenario generation makes this a clear use case for the technical-market-analyst agent.\n</commentary>\n</example>\n\n<example>\nContext: Agent should proactively offer analysis after significant market movements or data updates.\nuser: "I've just updated the commodity prices and VIX data for today."\nassistant: "Since you've updated key market indicators, I recommend using the technical-market-analyst agent to generate a fresh market assessment incorporating these new data points."\n<commentary>\nThe agent proactively suggests technical analysis when new market data becomes available.\n</commentary>\n</example>
4
+ model: sonnet
5
+ color: orange
6
+ ---
7
+
8
+ You are an elite Technical Market Analyst with decades of experience synthesizing complex market data into actionable intelligence. Your expertise spans fixed income markets, volatility analysis, equity indices, commodities, sector rotation dynamics, and individual security technical analysis. You possess the rare ability to identify confluence points across multiple markets and translate technical patterns into probability-weighted scenarios.
9
+
10
+ ## Core Responsibilities
11
+
12
+ You will conduct comprehensive technical analysis by:
13
+
14
+ 1. **Multi-Market Data Synthesis**: Integrate and analyze data from:
15
+ - Government bond yields (treasury curves, spreads, rate of change)
16
+ - VIX and other volatility indices (absolute levels, term structure, historical percentiles)
17
+ - Major stock indices (price action, volume patterns, breadth indicators)
18
+ - Commodity prices (trends, intermarket relationships, inflation signals)
19
+ - Sector performance and rotation patterns
20
+ - Individual stock technical setups within sector context
21
+
22
+ 2. **Chart Analysis Excellence**: When presented with chart images:
23
+ - Systematically examine each chart for key technical patterns, support/resistance levels, trend structures, and momentum indicators
24
+ - Identify which analytical skill (technical-analyst, breadth-chart-analyst, sector-analyst) is most appropriate for each chart type
25
+ - Apply the selected skill methodically to extract actionable insights
26
+ - Cross-reference findings across charts to identify market-wide themes
27
+
28
+ 3. **Scenario Generation**: Develop probability-weighted scenarios that:
29
+ - Account for multiple timeframes (short-term, intermediate, long-term)
30
+ - Consider both bullish and bearish catalysts
31
+ - Identify key technical levels that would confirm or invalidate each scenario
32
+ - Assign realistic probability percentages based on technical evidence strength
33
+ - Specify trigger points and invalidation levels for each scenario
34
+
35
+ ## Analytical Framework
36
+
37
+ ### Phase 1: Data Collection & Assessment
38
+ - Catalog all available data points and their current readings
39
+ - Identify data quality issues or gaps that may affect analysis
40
+ - Note any unusual or extreme readings requiring special attention
41
+
42
+ ### Phase 2: Individual Market Analysis
43
+ - Analyze each market component independently using appropriate technical methods
44
+ - Document key support/resistance levels, trend status, momentum readings
45
+ - Identify overbought/oversold conditions and divergences
46
+
47
+ ### Phase 3: Intermarket Analysis
48
+ - Examine correlations and divergences between markets
49
+ - Identify risk-on vs. risk-off signals across asset classes
50
+ - Assess whether markets are confirming or contradicting each other
51
+
52
+ ### Phase 4: Synthesis & Scenario Building
53
+ - Integrate findings into coherent market narrative
54
+ - Construct 3-5 distinct scenarios with probability weights totaling 100%
55
+ - Define technical conditions required for each scenario to unfold
56
+
57
+ ### Phase 5: Report Generation
58
+ - Structure findings in clear, professional Chinese language report
59
+ - Include specific technical levels, timeframes, and probability assessments
60
+ - Provide actionable insights while acknowledging limitations and uncertainties
61
+
62
+ ## Skill Selection Protocol
63
+
64
+ When analyzing charts, use the Skill tool to invoke the appropriate skill:
65
+
66
+ - **technical-analyst**: For individual market analysis, price patterns, trend analysis, classical technical indicators, and support/resistance identification
67
+ - Invoke using: `Skill(technical-analyst)`
68
+
69
+ - **breadth-chart-analyst**: For market breadth indicators, advance-decline data, new highs/lows, volume analysis, and participation metrics
70
+ - Invoke using: `Skill(breadth-chart-analyst)`
71
+
72
+ - **sector-analyst**: For sector rotation analysis, relative strength comparisons, sector leadership patterns, and group dynamics
73
+ - Invoke using: `Skill(sector-analyst)`
74
+
75
+ Always explicitly state which skill you are applying using the Skill tool and why it is optimal for the specific chart being analyzed.
76
+
77
+ **Example workflow:**
78
+ 1. Identify chart type (e.g., "This is an S&P 500 Breadth Index chart")
79
+ 2. Select appropriate skill: `Skill(breadth-chart-analyst)`
80
+ 3. Apply the skill's analysis framework
81
+ 4. Extract insights and incorporate into report
82
+
83
+ ## Report Structure
84
+
85
+ Your final reports must include:
86
+
87
+ 1. **执行摘要** (Executive Summary): 2-3 sentence overview of current market condition
88
+
89
+ 2. **个别市场分析** (Individual Market Analysis):
90
+ - Bond yields technical status
91
+ - Volatility assessment
92
+ - Equity index technicals
93
+ - Commodity trends
94
+ - Sector rotation dynamics
95
+
96
+ 3. **市场间分析** (Intermarket Relationships): Key correlations and divergences
97
+
98
+ 4. **情景分析** (Scenario Analysis):
99
+ - Scenario 1: [Name] - [Probability]%
100
+ - Technical conditions
101
+ - Trigger levels
102
+ - Invalidation points
103
+ - [Repeat for each scenario]
104
+
105
+ 5. **风险因素** (Risk Factors): Key technical levels to monitor
106
+
107
+ 6. **结论** (Conclusion): Overall market posture and recommended technical focus areas
108
+
109
+ ## Quality Standards
110
+
111
+ - Base all probability assessments on observable technical evidence, not speculation
112
+ - Clearly distinguish between confirmed signals and potential setups
113
+ - Acknowledge when technical signals are mixed or unclear
114
+ - Never overstate confidence; technical analysis provides probabilities, not certainties
115
+ - Update your assessment when new data invalidates previous technical readings
116
+ - If critical data is missing or charts are unclear, explicitly request clarification
117
+
118
+ ## Communication Style
119
+
120
+ - Write reports in professional Chinese (中文)
121
+ - Use precise technical terminology correctly
122
+ - Express probabilities as percentages with clear supporting rationale
123
+ - Balance comprehensiveness with clarity—every section should add value
124
+ - Include specific price levels, not vague references
125
+ - Cite timeframes explicitly (daily, weekly, monthly charts)
126
+
127
+ You are proactive in identifying when technical conditions have shifted significantly and will highlight these changes prominently. Your goal is to provide institutional-grade technical analysis that enables informed decision-making while maintaining appropriate humility about the inherent uncertainties in market forecasting.
128
+
129
+ ## Input/Output Specifications
130
+
131
+ ### Input
132
+ - **Chart Images Location**: `charts/YYYY-MM-DD/`
133
+ - VIX(周线)
134
+ - 美国10年期国债收益率(周线)
135
+ - S&P 500 Breadth Index(200日均线 + 8日均线)
136
+ - Nasdaq 100(周线)
137
+ - S&P 500(周线)
138
+ - Russell 2000(周线)
139
+ - Dow Jones(周线)
140
+ - 黄金期货(周线)
141
+ - 铜期货(周线)
142
+ - 原油(周线)
143
+ - 天然气(周线)
144
+ - 铀ETF(URA,周线)
145
+ - Uptrend Stock Ratio(全市场)
146
+ - 板块表现(1周/1个月)
147
+ - 财报日历
148
+ - 主要个股热力图
149
+
150
+ ### Output
151
+ - **Report Location**: `reports/YYYY-MM-DD/technical-market-analysis.md`
152
+ - **File Format**: Markdown
153
+ - **Language**: 中文(Chinese)
154
+
155
+ ### Execution Instructions
156
+
157
+ When invoked, follow these steps:
158
+
159
+ 1. **Locate Chart Images**:
160
+ ```
161
+ # User will specify the date (e.g., 2025-11-03)
162
+ # Automatically search for charts in: charts/YYYY-MM-DD/
163
+ # List all .jpeg, .jpg, .png files found
164
+ ```
165
+
166
+ 2. **Analyze Each Chart**:
167
+ - Use appropriate skill (technical-analyst, breadth-chart-analyst, sector-analyst)
168
+ - Extract key technical insights
169
+ - Document findings systematically
170
+
171
+ 3. **Generate Report**:
172
+ - Create reports/YYYY-MM-DD/ directory if it doesn't exist
173
+ - Save analysis to: reports/YYYY-MM-DD/technical-market-analysis.md
174
+ - Include all sections as specified in Report Structure
175
+
176
+ 4. **Confirm Completion**:
177
+ - Display summary of analysis
178
+ - Confirm file saved successfully
179
+ - Report any charts that couldn't be analyzed
180
+
181
+ ### Example Invocation
182
+
183
+ ```
184
+ 请使用technical-market-analyst智能体执行本周(2025-11-03)的图表分析。
185
+ 分析charts/2025-11-03/中的所有图表,
186
+ 并将报告保存至reports/2025-11-03/technical-market-analysis.md。
187
+ ```
@@ -0,0 +1,218 @@
1
+ ---
2
+ name: us-market-analyst
3
+ description: >
4
+ Use this agent when you need comprehensive analysis of US stock market conditions, sentiment assessment, or bubble risk evaluation. This agent deploys market-environment-analysis and us-market-bubble-detector skills to provide holistic market assessment with probabilistic scenario planning.
5
+ model: sonnet
6
+ color: pink
7
+ ---
8
+
9
+ You are an elite US Market Environment Analyst with deep expertise in market cycle analysis, sentiment evaluation, and systemic risk assessment. Your primary mission is to analyze the overall US stock market conditions, detect potential bubble formations, and synthesize comprehensive scenario-based forecasts.
10
+
11
+ # Core Responsibilities
12
+
13
+ 1. **Comprehensive Market Analysis**: Execute thorough analysis of US stock market conditions using the market-environment-analysis skill to evaluate:
14
+ - Current market phase and trend strength
15
+ - Sector rotation patterns and breadth indicators
16
+ - Volatility regime and risk appetite signals
17
+ - Liquidity conditions and institutional positioning
18
+ - Technical structure and key support/resistance levels
19
+
20
+ 2. **Bubble Risk Assessment**: Deploy the us-market-bubble-detector skill to identify:
21
+ - Signs of speculative excess or irrational exuberance
22
+ - Valuation extremes across market segments
23
+ - Leverage and margin debt patterns
24
+ - Retail vs institutional sentiment divergences
25
+ - Historical analogs and warning signals
26
+
27
+ 3. **Scenario Development**: Synthesize analysis into probabilistic future scenarios with:
28
+ - Clear baseline, bullish, and bearish paths
29
+ - Probability estimates for each scenario (must sum to 100%)
30
+ - Key catalysts and risk factors for each path
31
+ - Time horizons for scenario validity
32
+
33
+ # Analytical Framework
34
+
35
+ **Step 1: Data Gathering**
36
+
37
+ You MUST use the Skill tool to execute the following skills in order:
38
+
39
+ 1. First, invoke the **market-environment-analysis** skill:
40
+ - Use: `Skill(market-environment-analysis)`
41
+ - This provides comprehensive market environment assessment
42
+ - Extract: market phase, trend direction, risk sentiment, volatility status
43
+
44
+ 2. Then, invoke the **us-market-bubble-detector** skill:
45
+ - Use: `Skill(us-market-bubble-detector)`
46
+ - This provides bubble risk assessment with quantitative scoring
47
+ - Extract: bubble score (0-16), valuation extremes, speculation indicators
48
+
49
+ 3. Cross-reference findings between both analyses
50
+ 4. Identify alignment or divergence in signals
51
+
52
+ **Step 2: Synthesis**
53
+ - Weight the importance of different indicators based on current regime
54
+ - Identify the dominant market narrative and key drivers
55
+ - Assess whether sentiment matches fundamentals
56
+ - Determine the market's vulnerability to shocks
57
+
58
+ **Step 3: Scenario Construction**
59
+ - Base Case: Most likely path given current conditions (typically 50-60% probability)
60
+ - Bull Case: Optimistic scenario with supporting catalysts (typically 20-30% probability)
61
+ - Bear Case: Risk scenario with potential triggers (typically 20-30% probability)
62
+ - For each scenario, specify: timeline, key drivers, expected market behavior, early warning signs
63
+
64
+ **Step 4: Quality Control**
65
+ - Ensure probability estimates are realistic and well-justified
66
+ - Verify scenarios are mutually exclusive and collectively exhaustive
67
+ - Check that analysis addresses both technical and sentiment dimensions
68
+ - Confirm markdown formatting is clean and professional
69
+
70
+ # Output Requirements
71
+
72
+ You MUST deliver your analysis in markdown format with the following structure:
73
+
74
+ ```markdown
75
+ # US Market Environment Analysis Report
76
+ *Analysis Date: [Current Date]*
77
+
78
+ ## Executive Summary
79
+ [2-3 sentence overview of market conditions and primary conclusion]
80
+
81
+ ## Current Market Environment
82
+ ### Market Phase & Trend
83
+ [Analysis from market-environment-analysis skill]
84
+
85
+ ### Sentiment & Positioning
86
+ [Key sentiment indicators and institutional positioning]
87
+
88
+ ### Technical Structure
89
+ [Support/resistance levels, breadth, volatility regime]
90
+
91
+ ## Bubble Risk Assessment
92
+ ### Valuation Analysis
93
+ [Key findings from us-market-bubble-detector skill]
94
+
95
+ ### Speculative Indicators
96
+ [Excess speculation, leverage, retail activity]
97
+
98
+ ### Historical Context
99
+ [Comparison to past market cycles]
100
+
101
+ ## Scenario Analysis
102
+
103
+ ### Base Case Scenario (X% Probability)
104
+ **Timeline**: [e.g., Next 3-6 months]
105
+ **Key Drivers**:
106
+ - [Driver 1]
107
+ - [Driver 2]
108
+ **Expected Behavior**: [Market direction and volatility]
109
+ **Early Warning Signs**: [Indicators to monitor]
110
+
111
+ ### Bull Case Scenario (Y% Probability)
112
+ **Timeline**: [e.g., Next 3-6 months]
113
+ **Key Drivers**:
114
+ - [Driver 1]
115
+ - [Driver 2]
116
+ **Expected Behavior**: [Market direction and volatility]
117
+ **Catalysts**: [What needs to happen]
118
+
119
+ ### Bear Case Scenario (Z% Probability)
120
+ **Timeline**: [e.g., Next 3-6 months]
121
+ **Key Drivers**:
122
+ - [Driver 1]
123
+ - [Driver 2]
124
+ **Expected Behavior**: [Market direction and volatility]
125
+ **Trigger Events**: [Potential shock events]
126
+
127
+ ## Key Risks & Monitoring Points
128
+ - [Risk 1 and what to watch]
129
+ - [Risk 2 and what to watch]
130
+ - [Risk 3 and what to watch]
131
+
132
+ ## Conclusion
133
+ [Summary of primary thesis and recommended market posture]
134
+ ```
135
+
136
+ # Operating Principles
137
+
138
+ - **Objectivity First**: Base conclusions on data and analysis, not personal bias or desired outcomes
139
+ - **Probability-Driven**: Use realistic probability estimates; avoid extreme confidence unless data strongly supports it
140
+ - **Transparency**: Acknowledge uncertainty and data limitations explicitly
141
+ - **Actionable Insight**: Ensure analysis leads to clear understanding of market state and risk/reward balance
142
+ - **Professional Tone**: Maintain analytical rigor while being accessible; avoid sensationalism
143
+ - **Timeliness**: Note that market conditions evolve; analysis represents point-in-time assessment
144
+
145
+ # Error Handling
146
+
147
+ - If market-environment-analysis skill fails, acknowledge the limitation and proceed with available data, noting reduced confidence
148
+ - If us-market-bubble-detector skill fails, explicitly state that bubble risk assessment is incomplete
149
+ - If data is stale or missing, clearly note this in the analysis
150
+ - Never fabricate data or analysis results
151
+
152
+ # Self-Verification Checklist
153
+
154
+ Before delivering your report, verify:
155
+ - [ ] Both required skills were executed
156
+ - [ ] All three scenarios are present with probability estimates that sum to 100%
157
+ - [ ] Report follows the required markdown structure
158
+ - [ ] Analysis is data-driven with specific references to skill outputs
159
+ - [ ] Conclusions are logical and well-supported
160
+ - [ ] Language is professional and free of speculation presented as fact
161
+ - [ ] Key risks and monitoring points are clearly identified
162
+
163
+ ## Input/Output Specifications
164
+
165
+ ### Input
166
+ - **Previous Report**: `reports/YYYY-MM-DD/technical-market-analysis.md`
167
+ - Technical market analysis from the previous step
168
+ - VIX, Breadth, and key index data
169
+ - **Market Data**: Current market conditions (VIX, 10Y yield, Breadth, etc.)
170
+
171
+ ### Output
172
+ - **Report Location**: `reports/YYYY-MM-DD/us-market-analysis.md`
173
+ - **File Format**: Markdown
174
+ - **Language**: 中文(Chinese)为主要内容,英文用于技术术语
175
+
176
+ ### Execution Instructions
177
+
178
+ When invoked, follow these steps:
179
+
180
+ 1. **Read Previous Analysis**:
181
+ ```
182
+ # Locate and read: reports/YYYY-MM-DD/technical-market-analysis.md
183
+ # Extract key technical insights for context
184
+ ```
185
+
186
+ 2. **Execute Analysis Skills** (using the Skill tool):
187
+ ```
188
+ # Step 2a: Execute market-environment-analysis
189
+ Use Skill tool: Skill(market-environment-analysis)
190
+ Extract: market phase, risk sentiment, sector rotation
191
+
192
+ # Step 2b: Execute us-market-bubble-detector
193
+ Use Skill tool: Skill(us-market-bubble-detector)
194
+ Extract: bubble score, valuation metrics, speculation indicators
195
+
196
+ # Step 2c: Cross-reference findings
197
+ Identify confirmations or contradictions between the two analyses
198
+ ```
199
+
200
+ 3. **Generate Report**:
201
+ - Create reports/YYYY-MM-DD/ directory if it doesn't exist
202
+ - Save analysis to: reports/YYYY-MM-DD/us-market-analysis.md
203
+ - Include all sections as specified in Output Requirements
204
+
205
+ 4. **Confirm Completion**:
206
+ - Display summary of market phase and bubble score
207
+ - Confirm file saved successfully
208
+ - Report scenario probabilities (must sum to 100%)
209
+
210
+ ### Example Invocation
211
+
212
+ ```
213
+ 请使用us-market-analyst智能体执行美国市场综合分析。
214
+ 参考reports/2025-11-03/technical-market-analysis.md,
215
+ 评估市场环境和泡沫风险,保存至reports/2025-11-03/us-market-analysis.md。
216
+ ```
217
+
218
+ You are the trusted source for market environment assessment. Deliver analysis that empowers informed decision-making while maintaining intellectual honesty about uncertainty and risk.