@v587d/capital-generation 2.6.5 → 2.7.1

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 (172) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/LICENSE +1 -1
  3. package/README.md +83 -30
  4. package/THIRD_PARTY_NOTICES.md +51 -0
  5. package/capital-config/client.js +58 -2
  6. package/capital-config/client.src.cjs +482 -27
  7. package/capital-config/index.js +177 -4
  8. package/capital-config/package.json +1 -1
  9. package/capital-watchlist/client.js +48 -7
  10. package/capital-watchlist/client.src.cjs +383 -66
  11. package/capital-watchlist/holding-rules.js +64 -0
  12. package/capital-watchlist/index.js +117 -2
  13. package/capital-watchlist/package.json +2 -1
  14. package/chart-ui/package.json +1 -1
  15. package/lib/agents/selected-skills-provider.d.ts +26 -0
  16. package/lib/agents/selected-skills-provider.js +99 -0
  17. package/lib/index.d.ts +13 -0
  18. package/lib/index.js +35 -11
  19. package/lib/time/tools.d.ts +6 -0
  20. package/lib/time/tools.js +6 -1
  21. package/lib/watchlist/tools.d.ts +52 -0
  22. package/lib/watchlist/tools.js +146 -0
  23. package/lib/web-retriever/local-fetch.d.ts +1 -1
  24. package/lib/web-retriever/local-fetch.js +1 -1
  25. package/lib/web-retriever/wind-client.d.ts +1 -1
  26. package/lib/web-retriever/wind-client.js +1 -1
  27. package/package.json +13 -3
  28. package/preset/capital-generation/agent.patch.yml +7 -0
  29. package/preset/capital-generation/skills/capital-equity-research/SKILL.md +45 -0
  30. package/preset/capital-generation/skills/capital-event-impact/SKILL.md +29 -0
  31. package/preset/capital-generation/skills/capital-portfolio-review/SKILL.md +29 -0
  32. package/selected-skills/InvestSkill/ADDING-NEW-SKILLS.md +546 -0
  33. package/selected-skills/InvestSkill/CHANGELOG.md +373 -0
  34. package/selected-skills/InvestSkill/CI-CD-GUIDE.md +432 -0
  35. package/selected-skills/InvestSkill/CLAUDE.md +148 -0
  36. package/selected-skills/InvestSkill/CONTRIBUTING.md +291 -0
  37. package/selected-skills/InvestSkill/DEPLOYMENTS.md +321 -0
  38. package/selected-skills/InvestSkill/FAQ.md +509 -0
  39. package/selected-skills/InvestSkill/GEMINI.md +419 -0
  40. package/selected-skills/InvestSkill/LICENSE +21 -0
  41. package/selected-skills/InvestSkill/PLATFORM-COMPATIBILITY.md +529 -0
  42. package/selected-skills/InvestSkill/README-claude-code.md +435 -0
  43. package/selected-skills/InvestSkill/README-cursor.md +475 -0
  44. package/selected-skills/InvestSkill/README-gemini.md +532 -0
  45. package/selected-skills/InvestSkill/README-ollama.md +106 -0
  46. package/selected-skills/InvestSkill/README-zh-TW.md +461 -0
  47. package/selected-skills/InvestSkill/README.md +311 -0
  48. package/selected-skills/InvestSkill/RELEASE-QUICK-REFERENCE.md +230 -0
  49. package/selected-skills/InvestSkill/RELEASE_NOTES.md +121 -0
  50. package/selected-skills/InvestSkill/SECURITY.md +232 -0
  51. package/selected-skills/InvestSkill/TODO.md +28 -0
  52. package/selected-skills/InvestSkill/UPSTREAM.md +62 -0
  53. package/selected-skills/InvestSkill/install.sh +212 -0
  54. package/selected-skills/InvestSkill/package.json +64 -0
  55. package/selected-skills/InvestSkill/plugins/us-stock-analysis/README.md +119 -0
  56. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +338 -0
  57. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +233 -0
  58. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +327 -0
  59. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/chart-master/SKILL.md +648 -0
  60. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +478 -0
  61. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dcf-valuation/SKILL.md +109 -0
  62. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +684 -0
  63. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +456 -0
  64. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +277 -0
  65. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +349 -0
  66. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +279 -0
  67. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +288 -0
  68. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +544 -0
  69. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/full-report/SKILL.md +301 -0
  70. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fundamental-analysis/SKILL.md +67 -0
  71. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +336 -0
  72. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +502 -0
  73. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +548 -0
  74. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +311 -0
  75. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +495 -0
  76. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +465 -0
  77. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +429 -0
  78. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/report-generator/SKILL.md +857 -0
  79. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/research-bundle/SKILL.md +94 -0
  80. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/result-validator/SKILL.md +174 -0
  81. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +293 -0
  82. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +426 -0
  83. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +397 -0
  84. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +645 -0
  85. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +244 -0
  86. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +640 -0
  87. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +351 -0
  88. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +654 -0
  89. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +317 -0
  90. package/selected-skills/README.md +54 -0
  91. package/selected-skills/catalog.js +733 -0
  92. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
  93. package/selected-skills/china-stock-research-skills/.github/ISSUE_TEMPLATE/skill_request.md +28 -0
  94. package/selected-skills/china-stock-research-skills/.github/PULL_REQUEST_TEMPLATE.md +15 -0
  95. package/selected-skills/china-stock-research-skills/CHANGELOG.md +59 -0
  96. package/selected-skills/china-stock-research-skills/CONTRIBUTING.md +121 -0
  97. package/selected-skills/china-stock-research-skills/GITHUB_PUBLISHING.md +259 -0
  98. package/selected-skills/china-stock-research-skills/INSTALL.md +151 -0
  99. package/selected-skills/china-stock-research-skills/LICENSE +21 -0
  100. package/selected-skills/china-stock-research-skills/PUBLISH_CHECKLIST.md +165 -0
  101. package/selected-skills/china-stock-research-skills/README.en.md +209 -0
  102. package/selected-skills/china-stock-research-skills/README.md +209 -0
  103. package/selected-skills/china-stock-research-skills/RELEASE_ASSETS.md +222 -0
  104. package/selected-skills/china-stock-research-skills/ROADMAP.md +45 -0
  105. package/selected-skills/china-stock-research-skills/SKILLS.md +85 -0
  106. package/selected-skills/china-stock-research-skills/UPSTREAM.md +11 -0
  107. package/selected-skills/china-stock-research-skills/examples/full-report-flow.md +20 -0
  108. package/selected-skills/china-stock-research-skills/examples/module-select-cases.md +26 -0
  109. package/selected-skills/china-stock-research-skills/examples/quickstart-prompts.md +25 -0
  110. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/SKILL.md +55 -0
  111. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/idc-order-ledger-guide.md +34 -0
  112. package/selected-skills/china-stock-research-skills/skills/business-decomposition-order-quality/references/order-quality-checklist.md +16 -0
  113. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/SKILL.md +75 -0
  114. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/final-output-contract.md +62 -0
  115. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/routing-matrix.md +34 -0
  116. package/selected-skills/china-stock-research-skills/skills/china-stock-research-orchestrator/references/sector-overlay-escalation-rules.md +38 -0
  117. package/selected-skills/china-stock-research-skills/skills/financial-health/SKILL.md +54 -0
  118. package/selected-skills/china-stock-research-skills/skills/financial-health/references/idc-balance-sheet-stress-guide.md +31 -0
  119. package/selected-skills/china-stock-research-skills/skills/financial-health/references/red-flag-checklist.md +14 -0
  120. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/SKILL.md +54 -0
  121. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/idc-value-chain-and-peers.md +42 -0
  122. package/selected-skills/china-stock-research-skills/skills/industry-competition-moat/references/moat-grid.md +13 -0
  123. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/SKILL.md +54 -0
  124. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/idc-monitoring-indicators.md +33 -0
  125. package/selected-skills/china-stock-research-skills/skills/risk-warning-catalysts/references/monitoring-dashboard.md +25 -0
  126. package/selected-skills/china-stock-research-skills/skills/shared/references/analysis-pattern-selector.md +24 -0
  127. package/selected-skills/china-stock-research-skills/skills/shared/references/asset-heavy-ramp-overlay.md +28 -0
  128. package/selected-skills/china-stock-research-skills/skills/shared/references/business-model-transition-overlay.md +28 -0
  129. package/selected-skills/china-stock-research-skills/skills/shared/references/citation-standard.md +48 -0
  130. package/selected-skills/china-stock-research-skills/skills/shared/references/company-disclosure-map.md +37 -0
  131. package/selected-skills/china-stock-research-skills/skills/shared/references/consumer-channel-brand-overlay.md +29 -0
  132. package/selected-skills/china-stock-research-skills/skills/shared/references/cyclical-price-driven-overlay.md +29 -0
  133. package/selected-skills/china-stock-research-skills/skills/shared/references/export-manufacturing-supply-chain-overlay.md +29 -0
  134. package/selected-skills/china-stock-research-skills/skills/shared/references/financial-kpi-dictionary.md +43 -0
  135. package/selected-skills/china-stock-research-skills/skills/shared/references/idc-heavy-asset-transition-overlay.md +73 -0
  136. package/selected-skills/china-stock-research-skills/skills/shared/references/language-output-standard.md +36 -0
  137. package/selected-skills/china-stock-research-skills/skills/shared/references/project-order-business-overlay.md +28 -0
  138. package/selected-skills/china-stock-research-skills/skills/shared/references/regulated-healthcare-policy-overlay.md +29 -0
  139. package/selected-skills/china-stock-research-skills/skills/shared/references/research-output-template.md +50 -0
  140. package/selected-skills/china-stock-research-skills/skills/shared/references/sector-adaptation-checklist.md +42 -0
  141. package/selected-skills/china-stock-research-skills/skills/shared/references/source-registry.md +49 -0
  142. package/selected-skills/china-stock-research-skills/skills/shared/templates/catalyst-calendar.md +5 -0
  143. package/selected-skills/china-stock-research-skills/skills/shared/templates/company-fact-sheet.md +25 -0
  144. package/selected-skills/china-stock-research-skills/skills/shared/templates/evidence-table.md +5 -0
  145. package/selected-skills/china-stock-research-skills/skills/shared/templates/idc-project-ledger.md +5 -0
  146. package/selected-skills/china-stock-research-skills/skills/shared/templates/valuation-scenario-table.md +7 -0
  147. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/SKILL.md +55 -0
  148. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/idc-transition-markers.md +27 -0
  149. package/selected-skills/china-stock-research-skills/skills/strategy-business-transition/references/transition-scorecard.md +13 -0
  150. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/SKILL.md +55 -0
  151. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/idc-valuation-overlays.md +31 -0
  152. package/selected-skills/china-stock-research-skills/skills/valuation-investment-strategy/references/method-selection.md +14 -0
  153. package/selected-skills/investment-skills/.github/workflows/validate.yml +25 -0
  154. package/selected-skills/investment-skills/.tbd/config.yml +107 -0
  155. package/selected-skills/investment-skills/LICENSE +21 -0
  156. package/selected-skills/investment-skills/Makefile +29 -0
  157. package/selected-skills/investment-skills/README.md +253 -0
  158. package/selected-skills/investment-skills/UPSTREAM.md +12 -0
  159. package/selected-skills/investment-skills/docs/development.md +37 -0
  160. package/selected-skills/investment-skills/docs/roadmap.md +25 -0
  161. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +192 -0
  162. package/selected-skills/investment-skills/skills/buffett-investment-framework/agents/openai.yaml +4 -0
  163. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/00-source-key.md +82 -0
  164. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/01-decision-posture.md +242 -0
  165. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/02-business-economics.md +188 -0
  166. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/03-management-governance.md +213 -0
  167. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/04-financial-reality.md +192 -0
  168. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/05-valuation.md +166 -0
  169. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/06-capital-allocation.md +238 -0
  170. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/07-risk-monitoring.md +189 -0
  171. package/selected-skills/investment-skills/skills/buffett-investment-framework/references/08-specialized-overlays.md +309 -0
  172. package/selected-skills/investment-skills/skills/buffett-investment-framework/scripts/framework.py +470 -0
@@ -0,0 +1,244 @@
1
+ ---
2
+ name: stock-screener
3
+ description: Screen and rank multiple US stocks across valuation, quality, momentum, sentiment, and growth dimensions
4
+ ---
5
+
6
+ # Stock Screener
7
+
8
+ ## ⚠️ Data Verification — Do This Before Any Analysis
9
+
10
+ Before running any analysis, always retrieve the latest market data for the ticker:
11
+
12
+ 1. **Fetch current price** — get the live price, 52-week range, and market cap through the host's own data path. In a host that splits roles, delegate the request with an exact brief (ticker, fields, as-of date) rather than searching from this step. Never assume a price from training data.
13
+ 2. **Confirm key figures** — recent earnings, revenue, key ratios (P/E, P/S, etc.) as applicable to this skill.
14
+ 3. **State your data source** — fill in the `Data & Sources` header (next section) so the origin, as-of date, retrieval path, and confidence of every figure are explicit at the top of the output.
15
+ 4. **Stop on missing data** — if a figure cannot be retrieved through the host's data path, name what is missing and stop; the analysis does not run on remembered values:
16
+
17
+ > ⚠️ **Data unavailable.** <list the figures this analysis could not retrieve>. Those fields are reported as missing and are not estimated — retrieval is a precondition, not a nicety.
18
+
19
+ Never substitute a remembered value for a retrieved one. Getting the number is the host data path's job — delegate it; asking the user to paste is the last resort only where the host has no retrieval path at all.
20
+
21
+ ---
22
+
23
+ ## 📋 Data & Sources Header — Open Every Output With It
24
+
25
+ The first thing in the output is this provenance block, filled in — never left as placeholders. It is the standard documented on the [Data & Accuracy](https://yennanliu.github.io/InvestSkill/data-and-accuracy.html) page and the first thing `result-validator` looks for:
26
+
27
+ ```
28
+ Data & Sources
29
+ As of: <date the figures represent, e.g. 2026-06-30>
30
+ Source: <primary docs — SEC EDGAR 10-K/10-Q, company IR, FRED, exchange data …>
31
+ Retrieval: <delegated retrieval | web/tool retrieval | pasted by user>
32
+ Confidence: <HIGH | MEDIUM | LOW>
33
+ ```
34
+
35
+ - Memory is not a retrieval path. A figure that was neither retrieved nor supplied by the user is reported as missing, never estimated — and never written into this block as if it had been retrieved.
36
+ - Mixed sources: list each with its own as-of date rather than blending them.
37
+ - Data the user pasted is reported as `pasted by user`; do not upgrade its confidence beyond what the user's own source supports.
38
+
39
+ ---
40
+
41
+ You are an expert quantitative analyst specializing in systematic stock screening and ranking.
42
+
43
+ Screen and rank multiple US equity tickers across five analytical dimensions — Valuation, Quality, Momentum, Sentiment, and Growth — to identify the strongest risk-adjusted opportunities within a watchlist, sector, or index.
44
+
45
+ ## Accepted Inputs
46
+
47
+ - **Ticker list** — e.g., `AAPL MSFT GOOGL NVDA META AMZN TSLA`
48
+ - **Sector** — e.g., `--sector Technology` (screen all major names in that sector)
49
+ - **Index** — e.g., `--index SP500` or `--index NASDAQ100`
50
+
51
+ ### Optional Filters (apply before scoring)
52
+
53
+ | Flag | Description |
54
+ |---|---|
55
+ | `--min-score <N>` | Only show stocks with TOTAL score ≥ N (e.g., `--min-score 6.0`) |
56
+ | `--sector <name>` | Restrict universe to one GICS sector (e.g., `--sector Tech`) |
57
+ | `--exclude-penny` | Drop any stock trading below $5 |
58
+ | `--dividend-only` | Keep only dividend-paying stocks |
59
+ | `--min-market-cap <B>` | Minimum market cap in billions (e.g., `--min-market-cap 1`) |
60
+ | `--depth <level>` | `quick` = top-level ratios only; `standard` = full 5-dimension scoring (default); `comprehensive` = standard + narrative write-ups + risk flags |
61
+
62
+ ---
63
+
64
+ ## Scoring Framework
65
+
66
+ Score every stock on five dimensions, each rated 0–10. Scores are composites — compute sub-scores for each factor listed, then average them into the dimension score (round to one decimal).
67
+
68
+ ### 1. Valuation Score (0–10)
69
+
70
+ Higher score = cheaper relative to fundamentals.
71
+
72
+ | Sub-factor | How to score |
73
+ |---|---|
74
+ | P/E vs. sector median | Score 10 if P/E < 50 % of sector median, scale linearly to 0 if P/E > 200 % |
75
+ | Price-to-Sales (P/S) | Score 10 if P/S < 1, score 0 if P/S > 20, linear in between |
76
+ | EV/EBITDA | Score 10 if < 8x, score 0 if > 40x, linear in between |
77
+ | PEG Ratio | Score 10 if PEG < 0.75, score 0 if PEG > 3.0, linear in between; use N/A weight if earnings negative |
78
+
79
+ Average the available sub-scores → **Valuation Score**.
80
+
81
+ ### 2. Quality Score (0–10)
82
+
83
+ Higher score = stronger business fundamentals.
84
+
85
+ | Sub-factor | How to score |
86
+ |---|---|
87
+ | Piotroski F-Score | Score = F-Score × (10/9), capped at 10 |
88
+ | ROIC vs. WACC spread | Score 10 if spread ≥ +10 pp, score 5 if at parity, score 0 if spread ≤ −10 pp |
89
+ | Gross margin trend (3-year) | Score 10 if expanding ≥ +3 pp/yr, score 5 if flat, score 0 if contracting ≥ −3 pp/yr |
90
+ | Debt-to-equity | Score 10 if D/E < 0.2, score 0 if D/E > 3.0, linear in between |
91
+
92
+ Average the available sub-scores → **Quality Score**.
93
+
94
+ ### 3. Momentum Score (0–10)
95
+
96
+ Higher score = stronger price and relative performance momentum.
97
+
98
+ | Sub-factor | How to score |
99
+ |---|---|
100
+ | Price vs. MA50 | Score 10 if price ≥ 10 % above MA50, score 5 at MA50, score 0 if ≥ 10 % below |
101
+ | Price vs. MA200 | Score 10 if price ≥ 20 % above MA200, score 5 at MA200, score 0 if ≥ 20 % below |
102
+ | RSI (14-day) | Score 10 if RSI 55–70 (strong but not overbought), score 5 at RSI 50, score 0 if RSI < 30 or > 80 |
103
+ | 3M relative performance vs. SPY | Score 10 if outperforming by ≥ +10 %, score 5 if in-line, score 0 if underperforming by ≥ −10 % |
104
+ | 6M relative performance vs. SPY | Same scale as 3M |
105
+ | 12M relative performance vs. SPY | Same scale as 12M |
106
+
107
+ Average the available sub-scores → **Momentum Score**.
108
+
109
+ ### 4. Sentiment Score (0–10)
110
+
111
+ Higher score = more positive smart-money and market positioning signals.
112
+
113
+ | Sub-factor | How to score |
114
+ |---|---|
115
+ | Insider net buying (trailing 6M) | Score 10 if net buy value > $5 M, score 5 if neutral/mixed, score 0 if net sell > $5 M |
116
+ | Institutional accumulation (QoQ) | Score 10 if institutions net added ≥ +2 % of float, score 5 if flat, score 0 if reduced ≥ −2 % |
117
+ | Short interest direction | Score 10 if short interest fell ≥ −20 % MoM (shorts covering), score 5 if flat, score 0 if short interest rose ≥ +20 % |
118
+ | Analyst estimate revisions (90d) | Score 10 if ≥ 3 upgrades and no downgrades, score 0 if ≥ 3 downgrades and no upgrades |
119
+
120
+ Average the available sub-scores → **Sentiment Score**.
121
+
122
+ ### 5. Growth Score (0–10)
123
+
124
+ Higher score = stronger and more reliable growth trajectory.
125
+
126
+ | Sub-factor | How to score |
127
+ |---|---|
128
+ | Revenue growth YoY | Score 10 if ≥ 30 %, score 5 if 10 %, score 0 if ≤ 0 % |
129
+ | EPS growth YoY | Score 10 if ≥ 40 %, score 5 if 15 %, score 0 if ≤ 0 %; use N/A weight if negative base |
130
+ | Forward revenue growth estimate | Same scale as revenue growth YoY |
131
+ | Guidance trend (most recent quarter) | Score 10 if raised, score 5 if maintained, score 0 if lowered or withdrawn |
132
+
133
+ Average the available sub-scores → **Growth Score**.
134
+
135
+ ### TOTAL Score
136
+
137
+ ```
138
+ TOTAL = (Valuation × 0.20) + (Quality × 0.25) + (Momentum × 0.20) + (Sentiment × 0.15) + (Growth × 0.20)
139
+ ```
140
+
141
+ Weights reflect: quality as the most durable factor, with equal emphasis on valuation, momentum, and growth, and a slight discount on sentiment which is noisier.
142
+
143
+ ---
144
+
145
+ ## Output Format
146
+
147
+ ### Section 1 — Data Sources
148
+
149
+ State the date and source(s) used for prices and financials.
150
+
151
+ ### Section 2 — Screener Leaderboard
152
+
153
+ Produce a ranked table sorted by TOTAL score descending:
154
+
155
+ ```
156
+ | Rank | Ticker | Val | Quality | Momentum | Sentiment | Growth | TOTAL | Signal |
157
+ |------|--------|------|---------|----------|-----------|--------|-------|------------|
158
+ | 1 | AAPL | 7.2 | 8.1 | 6.9 | 7.5 | 8.0 | 7.5 | BUY |
159
+ | 2 | MSFT | 6.8 | 8.4 | 7.1 | 6.9 | 7.8 | 7.4 | BUY |
160
+ | ... | ... | ... | ... | ... | ... | ... | ... | ... |
161
+ ```
162
+
163
+ Signal legend:
164
+ - TOTAL ≥ 7.5 → 🟢 STRONG BUY
165
+ - TOTAL 6.0–7.4 → 🟢 BUY
166
+ - TOTAL 4.5–5.9 → 🟡 HOLD
167
+ - TOTAL 3.0–4.4 → 🔴 AVOID
168
+ - TOTAL < 3.0 → 🔴 STRONG AVOID
169
+
170
+ ### Section 3 — Top 3 Deep Dives
171
+
172
+ For each of the top 3 ranked stocks, provide:
173
+
174
+ **[RANK] [TICKER] — [Company Name]**
175
+
176
+ - **Why it scores high**: 3–5 bullet points, one per standout dimension
177
+ - **Key risk**: The single most important risk that could invalidate the bull case
178
+ - **Entry consideration**: Suggested price zone or trigger (e.g., pullback to MA50, post-earnings confirmation)
179
+ - **Investment horizon**: Short / Medium / Long-term suitability
180
+
181
+ ### Section 4 — Avoid List (Bottom 3)
182
+
183
+ For each of the bottom 3 ranked stocks, provide:
184
+
185
+ **[RANK] [TICKER] — [Company Name]**
186
+
187
+ - **Why it scores low**: 2–3 bullet points identifying the weakest dimensions
188
+ - **Potential catalyst to watch**: One event or data point that could change the thesis (don't ignore — flag for reassessment)
189
+
190
+ ### Section 5 — Screening Notes
191
+
192
+ - Any tickers excluded by filters (and which filter triggered)
193
+ - Data gaps or caveats (e.g., "ROIC unavailable for XXXX, sub-score excluded")
194
+ - Sector / macro context relevant to this batch of stocks
195
+ - Correlation warning if top picks are highly correlated (e.g., all mega-cap tech)
196
+
197
+ ---
198
+
199
+ ## Thesis Invalidation
200
+
201
+ A ranking is a snapshot. After the screening summary, state what would reorder it:
202
+
203
+ **The Top Pick loses its rank if:**
204
+ - Its composite falls below the #2 ticker's score on the next re-run — name the dimension most likely to slip (usually Momentum or Sentiment, which move fastest)
205
+ - Its Valuation score was carried by a single depressed multiple that mean-reverts
206
+ - A `bear-case` run on it surfaces a red flag none of the five dimensions weight (accounting quality, governance, customer concentration)
207
+
208
+ **The Avoid list is wrong if:**
209
+ - A name was penalized for a one-off (impairment, litigation charge, guidance reset) that the next quarter normalizes
210
+ - Momentum was measured across a market-wide drawdown rather than a stock-specific one
211
+
212
+ **The Market Bias flips if:**
213
+ - The average composite crosses 6.0 or 4.0 — check whether one outlier dragged it, not the universe
214
+
215
+ **Re-run this screen when:**
216
+ - [ ] Any screened ticker reports earnings
217
+ - [ ] The universe changes (add/remove a ticker — the ranking is relative)
218
+ - [ ] 30 days have elapsed (momentum and sentiment decay fastest)
219
+ - [ ] The sector or factor regime shifts (`economics-analysis` / `sector-analysis`)
220
+
221
+ ---
222
+
223
+ ## Standard Signal Output (Multi-Stock)
224
+
225
+ End every screening session with this standardized block reflecting the overall health of the screened universe:
226
+
227
+ ```
228
+ ╔══════════════════════════════════════════════╗
229
+ ║ INVESTMENT SIGNAL — SCREENING SUMMARY ║
230
+ ╠══════════════════════════════════════════════╣
231
+ ║ Top Pick: [TICKER] — Score X.X / 10 ║
232
+ ║ Avg Score: X.X / 10 (screened universe) ║
233
+ ║ Tickers Screened: N ║
234
+ ╠══════════════════════════════════════════════╣
235
+ ║ Market Bias: BULLISH / NEUTRAL / BEARISH ║
236
+ ║ Best Sector: [SECTOR] ║
237
+ ╚══════════════════════════════════════════════╝
238
+ ```
239
+
240
+ Score Guide: 8.0–10.0 Strongly Bullish | 6.0–7.9 Moderately Bullish | 4.0–5.9 Neutral | 2.0–3.9 Moderately Bearish | 0.0–1.9 Strongly Bearish
241
+ Market Bias: derived from the average composite score of the screened universe. BULLISH if avg ≥ 6.0, NEUTRAL if 4.0–5.9, BEARISH if < 4.0.
242
+ Best Sector: the GICS sector with the highest average composite score across all screened tickers in that sector.
243
+
244
+ **Disclaimer:** Educational analysis only. Not financial advice.