@v587d/capital-generation 2.7.0 → 2.7.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 (92) hide show
  1. package/CHANGELOG.md +77 -1
  2. package/LICENSE +1 -1
  3. package/README.md +10 -9
  4. package/THIRD_PARTY_NOTICES.md +14 -4
  5. package/capital-config/client.js +50 -10
  6. package/capital-config/client.src.cjs +376 -62
  7. package/capital-config/index.js +168 -5
  8. package/capital-config/package.json +1 -1
  9. package/capital-watchlist/package.json +1 -1
  10. package/chart-ui/package.json +1 -1
  11. package/lib/agents/selected-skills-provider.js +5 -5
  12. package/lib/index.d.ts +4 -28
  13. package/lib/index.js +8 -18
  14. package/lib/web-retriever/local-fetch.d.ts +1 -1
  15. package/lib/web-retriever/local-fetch.js +1 -1
  16. package/lib/web-retriever/wind-client.d.ts +1 -1
  17. package/lib/web-retriever/wind-client.js +1 -1
  18. package/package.json +3 -1
  19. package/selected-skills/InvestSkill/ADDING-NEW-SKILLS.md +546 -0
  20. package/selected-skills/InvestSkill/CHANGELOG.md +373 -0
  21. package/selected-skills/InvestSkill/CI-CD-GUIDE.md +432 -0
  22. package/selected-skills/InvestSkill/CLAUDE.md +148 -0
  23. package/selected-skills/InvestSkill/CONTRIBUTING.md +291 -0
  24. package/selected-skills/InvestSkill/DEPLOYMENTS.md +321 -0
  25. package/selected-skills/InvestSkill/FAQ.md +509 -0
  26. package/selected-skills/InvestSkill/GEMINI.md +419 -0
  27. package/selected-skills/InvestSkill/LICENSE +21 -0
  28. package/selected-skills/InvestSkill/PLATFORM-COMPATIBILITY.md +529 -0
  29. package/selected-skills/InvestSkill/README-claude-code.md +435 -0
  30. package/selected-skills/InvestSkill/README-cursor.md +475 -0
  31. package/selected-skills/InvestSkill/README-gemini.md +532 -0
  32. package/selected-skills/InvestSkill/README-ollama.md +106 -0
  33. package/selected-skills/InvestSkill/README-zh-TW.md +461 -0
  34. package/selected-skills/InvestSkill/README.md +311 -0
  35. package/selected-skills/InvestSkill/RELEASE-QUICK-REFERENCE.md +230 -0
  36. package/selected-skills/InvestSkill/RELEASE_NOTES.md +121 -0
  37. package/selected-skills/InvestSkill/SECURITY.md +232 -0
  38. package/selected-skills/InvestSkill/TODO.md +28 -0
  39. package/selected-skills/InvestSkill/UPSTREAM.md +62 -0
  40. package/selected-skills/InvestSkill/install.sh +212 -0
  41. package/selected-skills/InvestSkill/package.json +64 -0
  42. package/selected-skills/InvestSkill/plugins/us-stock-analysis/README.md +119 -0
  43. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +338 -0
  44. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +233 -0
  45. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +327 -0
  46. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/chart-master/SKILL.md +648 -0
  47. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +478 -0
  48. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dcf-valuation/SKILL.md +109 -0
  49. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +684 -0
  50. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +456 -0
  51. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +277 -0
  52. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +349 -0
  53. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +279 -0
  54. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +288 -0
  55. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +544 -0
  56. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/full-report/SKILL.md +301 -0
  57. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fundamental-analysis/SKILL.md +67 -0
  58. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +336 -0
  59. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +502 -0
  60. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +548 -0
  61. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +311 -0
  62. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +495 -0
  63. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +465 -0
  64. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +429 -0
  65. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/report-generator/SKILL.md +857 -0
  66. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/research-bundle/SKILL.md +94 -0
  67. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/result-validator/SKILL.md +174 -0
  68. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +293 -0
  69. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +426 -0
  70. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +397 -0
  71. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +645 -0
  72. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +244 -0
  73. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +640 -0
  74. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +351 -0
  75. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +654 -0
  76. package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +317 -0
  77. package/selected-skills/README.md +15 -5
  78. package/selected-skills/catalog.js +589 -14
  79. package/selected-skills/investment-skills/UPSTREAM.md +1 -1
  80. package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +1 -1
  81. package/selected-skills/peter-lynch-skill/LICENSE +21 -0
  82. package/selected-skills/peter-lynch-skill/README.md +305 -0
  83. package/selected-skills/peter-lynch-skill/UPSTREAM.md +71 -0
  84. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/SKILL.md +142 -0
  85. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/methodology.md +587 -0
  86. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/system-prompt.md +102 -0
  87. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/deep/web-research.md +471 -0
  88. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/disclaimer.md +2 -0
  89. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/filing-rules.md +64 -0
  90. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/methodology.md +195 -0
  91. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/system-prompt.md +72 -0
  92. package/selected-skills/peter-lynch-skill/skills/peter-lynch-skill/references/quick/web-research.md +379 -0
@@ -0,0 +1,301 @@
1
+ ---
2
+ name: full-report
3
+ description: Run InvestSkill analysis modules on a stock at configurable depth and compile a professional HTML report saved to the output/ directory
4
+ ---
5
+
6
+ # Full Report — Comprehensive Stock Analysis Orchestrator
7
+
8
+ Orchestrate InvestSkill analysis modules on one ticker at your chosen depth, synthesize findings into a unified investment thesis with composite scoring, and produce a standalone professional HTML report with interactive Chart.js visualizations.
9
+
10
+ ## Depth Flags
11
+
12
+ Select how many modules to run with `--depth`:
13
+
14
+ | Flag | Modules | Best For |
15
+ |------|---------|----------|
16
+ | `--depth quick` | 5 core modules | Rapid screen, time-constrained due diligence |
17
+ | `--depth standard` | 10 modules | Balanced research before initiating a position |
18
+ | `--depth comprehensive` | All 15 modules | Full pre-commitment due diligence (default) |
19
+
20
+ ---
21
+
22
+ ## Module Sets by Depth
23
+
24
+ ### Quick (5 modules)
25
+
26
+ | # | Module | Focus |
27
+ |---|--------|-------|
28
+ | 1 | `stock-eval` | Company overview, competitive position, relative valuation |
29
+ | 2 | `technical-analysis` | MA, RSI, MACD, volume, support/resistance |
30
+ | 3 | `stock-valuation` | DCF intrinsic value (bear/base/bull), P/E, EV/EBITDA, peer multiples |
31
+ | 4 | `insider-trading` | SEC Form 4 patterns, net insider sentiment |
32
+ | 5 | `earnings-call-analysis` | Management tone, guidance quality, key themes |
33
+
34
+ ### Standard (10 modules — Quick + 5 more)
35
+
36
+ | # | Module | Focus |
37
+ |---|--------|-------|
38
+ | 6 | `institutional-ownership` | 13F holdings, smart money flows |
39
+ | 7 | `competitor-analysis` | Moat, market share, Porter's Five Forces |
40
+ | 8 | `sector-analysis` | Sector rotation, relative strength |
41
+ | 9 | `options-analysis` | IV, Put/Call ratio, max pain, strategies |
42
+ | 10 | `short-interest` | Short ratio, squeeze risk, days-to-cover |
43
+
44
+ ### Comprehensive (15 modules — Standard + 5 more)
45
+
46
+ | # | Module | Focus |
47
+ |---|--------|-------|
48
+ | 11 | `bear-case` | Short-seller red-team, Thesis-Killers, downside target |
49
+ | 12 | `catalyst-calendar` | Dated events in the next 90 days and their expected impact |
50
+ | 13 | `economics-analysis` | Macro environment, rate sensitivity |
51
+ | 14 | `financial-report-analyst` | 10-K/10-Q deep dive, risk factors |
52
+ | 15 | `dividend-analysis` | Yield, payout ratio, sustainability |
53
+
54
+ ---
55
+
56
+ ## Research Process (5 Phases)
57
+
58
+ Modules are grouped into phases regardless of depth. Earlier phases inform later-phase assumptions.
59
+
60
+ ### Phase 1 — Business & Competitive Foundation
61
+
62
+ Establish qualitative and quantitative foundation before attempting valuation.
63
+
64
+ - **stock-eval** — Company overview, competitive position, relative valuation vs. peers
65
+ - **competitor-analysis** *(standard+)* — Moat depth, Porter's Five Forces, pricing power
66
+
67
+ Output: **Business Quality Score (0–10)**
68
+ Score reflects durability of competitive advantages, financial health, and consistency of returns.
69
+
70
+ ### Phase 2 — Valuation
71
+
72
+ Determine intrinsic and relative worth of the business.
73
+
74
+ - **stock-valuation** — DCF intrinsic value with Bull/Base/Bear scenarios, plus P/E, EV/EBITDA, P/S, P/FCF peer multiples
75
+
76
+ Output: **Valuation Score (0–10)** — 10 = deep discount to intrinsic value; 5 = fair value; 0 = extreme overvaluation.
77
+
78
+ ### Phase 3 — Market Signals
79
+
80
+ Understand what sophisticated market participants are signaling.
81
+
82
+ - **insider-trading** — SEC Form 4 patterns, net insider sentiment
83
+ - **institutional-ownership** *(standard+)* — Smart money 13F changes, concentration
84
+ - **earnings-call-analysis** — Management tone, guidance quality, forward signals
85
+
86
+ Output: **Market Signal Score (0–10)** — High = insider buying + institutional accumulation + positive management tone.
87
+
88
+ ### Phase 4 — Technical Timing
89
+
90
+ Identify current technical setup to optimize entry timing.
91
+
92
+ - **technical-analysis** — Trend structure, support/resistance, volume, momentum
93
+ - **sector-analysis** *(standard+)* — Sector rotation, relative strength vs. benchmark
94
+
95
+ Output: **Technical Setup Score (0–10)** — Strong (8–10), Moderate (4–7), Weak (0–3).
96
+
97
+ ### Phase 5 — Risk Assessment
98
+
99
+ Quantify downside risks and positioning pressure.
100
+
101
+ - **short-interest** *(standard+)* — Short positioning, days-to-cover, squeeze risk
102
+ - **options-analysis** *(standard+)* — Implied volatility, put/call ratios, options flow
103
+ - **economics-analysis** *(comprehensive)* — Macro environment, rate sensitivity
104
+ - **financial-report-analyst** *(comprehensive)* — 10-K/10-Q risk factors
105
+ - **bear-case** *(comprehensive)* — Short-seller red-team: Thesis-Killers and a downside target. Its downside target sets the Bear scenario in the Valuation Summary and Exit Strategy, its Thesis-Killers become the Bear Case section of the thesis narrative, and the Thesis Invalidation checks whether they are refuted
106
+ - **catalyst-calendar** *(comprehensive)* — Dated events in the next 90 days and their expected price impact. High-impact binary events lower the Risk Profile score, and the dated events populate "next catalyst dates" in the Monitoring Plan
107
+
108
+ Output: **Risk Profile Score (0–10)** — Inverse of risk: Low risk = high score (8–10), High risk = low score (0–3).
109
+
110
+ ---
111
+
112
+ ## Composite Scoring Framework
113
+
114
+ ```
115
+ Full Report Score = Weighted Composite
116
+
117
+ Component Weight Sub-Score (0-10)
118
+ ─────────────────────────────────────────────────────
119
+ Business Quality 25% [Phase 1 modules]
120
+ Valuation 25% [Phase 2 modules]
121
+ Market Signals 20% [Phase 3 modules]
122
+ Technical Setup 15% [Phase 4 modules]
123
+ Risk Profile 15% [Phase 5 modules]
124
+ ─────────────────────────────────────────────────────
125
+ COMPOSITE SCORE 100% X.X / 10
126
+
127
+ Composite Interpretation:
128
+ 8.0–10.0 → Strong Buy (all signals aligned)
129
+ 6.5–7.9 → Buy (most signals positive)
130
+ 5.0–6.4 → Hold/Watch (mixed signals)
131
+ 3.5–4.9 → Underweight (mostly negative signals)
132
+ 0.0–3.4 → Sell/Avoid (strong negative signals)
133
+ ```
134
+
135
+ Sub-score derivation:
136
+ - Business Quality: average of moat score (competitor-analysis) + financial strength (stock-eval)
137
+ - Valuation: 10 = deep discount to intrinsic value; 5 = at fair value; 0 = extreme overvaluation
138
+ - Market Signals: weighted average of insider, institutional, and earnings call scores
139
+ - Technical Setup: Strong=8–10, Moderate=4–7, Weak=0–3
140
+ - Risk Profile: inverse of risk — Low risk = 8–10, High risk = 0–3; at comprehensive depth this includes the `bear-case` downside severity and the `catalyst-calendar` event risk
141
+
142
+ When running quick or standard depth, scores for missing modules default to neutral (5.0) and are flagged as "not assessed" in the scorecard.
143
+
144
+ ---
145
+
146
+ ## Conflict Resolution
147
+
148
+ When signals conflict across modules, apply these rules:
149
+
150
+ - **Fundamental overrides technical**: Business quality and intrinsic value take precedence over short-term price action.
151
+ - **Consensus overrides outlier**: When 4 of 5 phases agree on direction, document the outlier but do not let it dominate the composite score.
152
+ - **Document all conflicts explicitly**: Never suppress conflicting signals. Present the full bull and bear case and explain how the weighting resolves the conflict.
153
+ - **Flag unresolvable conflicts**: When signals are deeply contradictory (e.g., strong fundamentals + extreme overvaluation + heavy insider selling), flag as "Conflicted — Monitor Only" until resolution.
154
+
155
+ ---
156
+
157
+ ## Investment Thesis Narrative
158
+
159
+ Every full-report output must include a narrative investment thesis structured as:
160
+
161
+ 1. **Investment Thesis** (2–3 paragraphs): What does the company do, why is it a compelling or poor investment now, and what is the key insight driving the thesis?
162
+ 2. **Bull Case** (3–5 quantifiable reasons with supporting evidence from phase outputs)
163
+ 3. **Bear Case** (3–5 specific risks with probability assessment and potential intrinsic value impact)
164
+ 4. **Composite Score Card** (visual table with all component scores, weighted scores, and interpretation)
165
+ 5. **Valuation Summary** (intrinsic value per share, current price, margin of safety, upside/downside % per scenario)
166
+ 6. **Entry Strategy** (technical setup description, ideal entry range, position sizing: Aggressive 5–7% / Moderate 2–4% / Starter 1–2%)
167
+ 7. **Exit Strategy** (base/bull/bear price targets, stop-loss level, time horizon)
168
+ 8. **Monitoring Plan** (key metrics to track quarterly, thesis-changing events, early warning signals, next catalyst dates)
169
+
170
+ ---
171
+
172
+ ## HTML Report Structure
173
+
174
+ The output file is a standalone HTML document (no external dependencies except CDN Chart.js):
175
+
176
+ - **Cover page** — ticker, price, date, depth flag used, overall composite score, recommendation
177
+ - **Sidebar TOC** — sticky navigation linking to each section
178
+ - **Analysis sections** — one per executed module plus final synthesis
179
+ - **Interactive charts** — MA overlay, RSI, MACD, volume, composite score radar, phase score bar
180
+ - **Composite Score Card** — weighted multi-factor scorecard with color coding
181
+ - **Signal block** — standardized investment signal at report end
182
+
183
+ ### Design Principles
184
+
185
+ - Clean, minimal design — white background, navy accents, Inter/system font
186
+ - Data-dense tables with clear visual hierarchy
187
+ - Color coding: green = bullish, amber = neutral, red = bearish
188
+ - Print-friendly (no fixed sidebars when printing)
189
+ - Self-contained: one `.html` file, no local assets
190
+
191
+ ---
192
+
193
+ ## Usage
194
+
195
+ ```
196
+ /full-report AAPL
197
+ /full-report NVDA --depth quick
198
+ /full-report MSFT --depth standard
199
+ /full-report TSLA --depth comprehensive --lang zh-TW
200
+ /full-report AMZN --output ~/Desktop/
201
+ ```
202
+
203
+ **Arguments:**
204
+ - `<TICKER>` — required, any US-listed stock
205
+ - `--depth` — `quick` | `standard` | `comprehensive` (default: `comprehensive`)
206
+ - `--lang` — output language, default `en`, supports `zh-TW`, `zh-CN`, `ja`
207
+ - `--output` — custom save path, default `output/`
208
+
209
+ ---
210
+
211
+ ## Output File Naming
212
+
213
+ ```
214
+ output/<TICKER>_report_<YYYY-MM-DD>.html
215
+ ```
216
+
217
+ Example: `output/AAPL_report_2025-06-19.html`
218
+
219
+ ---
220
+
221
+ ## Workflow
222
+
223
+ 1. Parse `--depth` flag and determine which modules to run
224
+ 2. Gather all available data for `<TICKER>` (financials, price, filings, macro)
225
+ 3. Execute modules in phase order; each phase's output informs the next
226
+ 4. Compute composite weighted score (0–10) using framework above
227
+ 5. Build investment thesis narrative with bull/bear case
228
+ 6. Render complete HTML with all sections, charts, and scorecard
229
+ 7. Write file to output path and confirm location
230
+
231
+ ---
232
+
233
+ ## Data Verification
234
+
235
+ **Open the report with a `Data & Sources` header** (see [Data & Accuracy](https://yennanliu.github.io/InvestSkill/data-and-accuracy.html)) so provenance is explicit:
236
+
237
+ ```
238
+ Data & Sources
239
+ As of: <date the figures represent>
240
+ Source: <primary docs — SEC EDGAR 10-K/10-Q, company IR, FRED, …>
241
+ Retrieval: <pasted by user | web/tool retrieval | model memory>
242
+ Confidence: <HIGH | MEDIUM | LOW>
243
+ ```
244
+
245
+ Before rendering the final report, verify:
246
+ - The `Data & Sources` header is present and the Retrieval/Confidence are honest (flag "model memory" as LOW)
247
+ - All executed modules returned scores (not blank)
248
+ - Scores are within 0–10 range
249
+ - Weighted composite arithmetic is correct (weights sum to 100%)
250
+ - Missing modules for quick/standard depth are flagged as "not assessed"
251
+ - No data older than 90 days used without explicit warning
252
+
253
+ **Then run `fact-check` on the composite** (every figure the modules produced, verified against the filing and market data, with citations), **and hand `result-validator` two separate things**: the *corrected composite* as the analysis to validate (so its "Original Score" is the investment score, not the Verification Score), and the fact-check *ledger and Verification Score* as evidence for its Data Quality dimension. Include both scores in the report footer, labelled — a composite thesis should never ship without this verification-and-validation pass.
254
+
255
+ ---
256
+
257
+ ## Thesis Invalidation
258
+
259
+ The composite thesis is only as good as its weakest well-weighted module. After the final synthesis, state what would reverse the composite call:
260
+
261
+ **If the composite is BULLISH — thesis breaks if:**
262
+ - Any module weighted ≥ 15% flips from BULLISH to BEARISH at the next re-run (name the module and the metric that would flip it)
263
+ - The `bear-case` module's Thesis-Killers are *not* refuted — a bull composite that cannot answer its own red-team is not bullish, it is unexamined
264
+ - Price rises far enough that the valuation modules' fair-value range is exceeded while the fundamental modules are unchanged (multiple expansion doing all the work)
265
+
266
+ **If the composite is BEARISH — thesis breaks if:**
267
+ - The specific deterioration that drove the low-scoring modules reverses (margins re-expand, guidance is raised, insider selling stops)
268
+ - Valuation falls below the bear-case downside target with fundamentals stable (the bad news is priced)
269
+ - Two or more independent modules (e.g. `insider-trading` + `institutional-ownership`) turn positive together
270
+
271
+ **Re-run this report when:**
272
+ - [ ] Next earnings release (every module's inputs change)
273
+ - [ ] Price moves ±15% from the level in the `Data & Sources` header
274
+ - [ ] Any single module's signal flips
275
+ - [ ] 90 days have elapsed
276
+
277
+ ---
278
+
279
+ ## Output Format
280
+
281
+ End with the standard signal block after the final synthesis section:
282
+
283
+ ```
284
+ ╔══════════════════════════════════════════════╗
285
+ ║ INVESTMENT SIGNAL ║
286
+ ╠══════════════════════════════════════════════╣
287
+ ║ Signal: BULLISH / NEUTRAL / BEARISH ║
288
+ ║ Confidence: HIGH / MEDIUM / LOW ║
289
+ ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
290
+ ║ Score: X.X / 10 ║
291
+ ╠══════════════════════════════════════════════╣
292
+ ║ Action: BUY / HOLD / SELL ║
293
+ ║ Conviction: STRONG / MODERATE / WEAK ║
294
+ ╚══════════════════════════════════════════════╝
295
+ ```
296
+
297
+ 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
298
+ Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals)
299
+ Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)
300
+
301
+ **Disclaimer:** Educational analysis only. Not financial advice.
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: fundamental-analysis
3
+ description: Deep fundamental analysis of US stocks using financial statements
4
+ ---
5
+
6
+ # Fundamental Analysis
7
+
8
+ > **This skill has been merged into `stock-eval`.** Use `/us-stock-analysis:stock-eval` for comprehensive fundamental + quality + valuation analysis.
9
+
10
+ ## Quick Reference — Key Ratios
11
+
12
+ | Ratio | Formula | What It Measures |
13
+ |-------|---------|-----------------|
14
+ | **P/E** (Price-to-Earnings) | Market Price / EPS | How much investors pay per dollar of earnings; compare to peers and history |
15
+ | **P/B** (Price-to-Book) | Market Price / Book Value per Share | Premium over net asset value; useful for financials and asset-heavy businesses |
16
+ | **P/S** (Price-to-Sales) | Market Cap / Revenue | Valuation relative to revenue; useful when earnings are negative or depressed |
17
+ | **EV/EBITDA** | Enterprise Value / EBITDA | Capital-structure-neutral earnings multiple; standard M&A and cross-sector benchmark |
18
+ | **ROE** (Return on Equity) | Net Income / Shareholders' Equity | Profitability relative to equity book value; decompose with DuPont for quality assessment |
19
+ | **ROIC** (Return on Invested Capital) | NOPAT / Invested Capital | True economic return on all capital deployed; compare to WACC to assess value creation |
20
+ | **Current Ratio** | Current Assets / Current Liabilities | Short-term liquidity; >1.5x generally healthy; <1.0x signals potential liquidity stress |
21
+ | **D/E** (Debt-to-Equity) | Total Debt / Shareholders' Equity | Financial leverage; higher ratio = more risk but also more return amplification |
22
+
23
+ For the full analysis framework — income statement line-item breakdown, working capital cycle, DuPont decomposition, cash conversion cycle, Porter's Five Forces, Piotroski F-Score, DCF, ROIC/WACC, and risk matrix — use `/us-stock-analysis:stock-eval`.
24
+
25
+ ---
26
+
27
+ ## Standard Signal Output
28
+
29
+ All analysis concludes with this standardized block:
30
+
31
+ ```
32
+ ## Thesis Invalidation
33
+
34
+ After delivering the analysis signal, specify what would reverse it:
35
+
36
+ **If signal is BULLISH — thesis breaks if:**
37
+ - revenue growth decelerates below 5% for 2 consecutive quarters AND gross margin contracts >200bps
38
+ - [One or two more triggers drawn from this analysis's own drivers, each with a threshold]
39
+
40
+ **If signal is BEARISH — thesis breaks if:**
41
+ - revenue reaccelerates >15% AND margin expansion resumes
42
+ - [One or two more triggers drawn from this analysis's own drivers, each with a threshold]
43
+
44
+ **Re-run this analysis when:**
45
+ - [ ] Next earnings release
46
+ - [ ] Price moves ±15% from current level
47
+ - [ ] 60 days have elapsed
48
+ - [ ] Material news event (acquisition, leadership change, regulatory decision)
49
+
50
+ ╔══════════════════════════════════════════════╗
51
+ ║ INVESTMENT SIGNAL ║
52
+ ╠══════════════════════════════════════════════╣
53
+ ║ Signal: BULLISH / NEUTRAL / BEARISH ║
54
+ ║ Confidence: HIGH / MEDIUM / LOW ║
55
+ ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
56
+ ║ Score: X.X / 10 ║
57
+ ╠══════════════════════════════════════════════╣
58
+ ║ Action: BUY / HOLD / SELL ║
59
+ ║ Conviction: STRONG / MODERATE / WEAK ║
60
+ ╚══════════════════════════════════════════════╝
61
+ ```
62
+
63
+ 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
64
+ Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals)
65
+ Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)
66
+
67
+ **Disclaimer:** Educational analysis only. Not financial advice.