@v587d/capital-generation 2.7.0 → 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 (80) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/LICENSE +1 -1
  3. package/README.md +7 -7
  4. package/THIRD_PARTY_NOTICES.md +12 -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 +2 -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 +566 -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
@@ -0,0 +1,645 @@
1
+ ---
2
+ name: stock-eval
3
+ description: Evaluate US stocks with comprehensive fundamental and valuation analysis
4
+ ---
5
+
6
+ # US Stock Evaluation
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
+ Perform comprehensive stock evaluation combining fundamental analysis, valuation modeling, quality scoring, and risk assessment to produce investment-grade conclusions.
42
+
43
+ ## Analysis Components
44
+
45
+ ### 1. Company Overview
46
+
47
+ - Business model and competitive advantages (moat assessment)
48
+ - Market position, addressable market size, and industry trends
49
+ - Revenue mix by segment and geographic exposure
50
+ - Key products, services, and customer concentration
51
+ - Competitive dynamics and threat of disruption
52
+
53
+ ### 2. Financial Health
54
+
55
+ - Revenue and earnings growth trends (3-year and 5-year CAGR)
56
+ - Profit margins: gross margin, operating margin, net margin
57
+ - Margin trends: expanding, stable, or compressing
58
+ - Balance sheet strength: cash, total debt, net debt, book value
59
+ - Liquidity: current ratio, quick ratio, cash conversion cycle
60
+ - Cash flow analysis: operating cash flow, free cash flow, FCF yield
61
+ - Capital expenditure requirements (maintenance vs. growth capex)
62
+ - Working capital management efficiency
63
+
64
+ ### 3. Valuation Metrics
65
+
66
+ | Metric | Current | 1-Year Ago | 5-Year Avg | Sector Avg |
67
+ |-----------------|---------|------------|------------|------------|
68
+ | P/E (TTM) | | | | |
69
+ | P/E (Forward) | | | | |
70
+ | PEG Ratio | | | | |
71
+ | Price/Book | | | | |
72
+ | Price/Sales | | | | |
73
+ | EV/EBITDA | | | | |
74
+ | EV/FCF | | | | |
75
+ | Dividend Yield | | | | |
76
+ | Payout Ratio | | | | |
77
+
78
+ ### 4. Key Ratios
79
+
80
+ | Ratio | Current | Industry Avg | Assessment |
81
+ |------------------------|---------|--------------|------------|
82
+ | Return on Equity (ROE) | | | |
83
+ | Return on Assets (ROA) | | | |
84
+ | Return on Inv. Capital | | | |
85
+ | Gross Margin | | | |
86
+ | Operating Margin | | | |
87
+ | Net Margin | | | |
88
+ | Current Ratio | | | |
89
+ | Quick Ratio | | | |
90
+ | Debt-to-Equity | | | |
91
+ | Interest Coverage | | | |
92
+ | Asset Turnover | | | |
93
+
94
+ ### 5. Peer Comparison
95
+
96
+ - Direct peer comparison within industry on key valuation multiples
97
+ - Historical valuation trends vs. own 5-year history
98
+ - Sector performance context and relative positioning
99
+ - Market share trends vs. competitors
100
+
101
+ ---
102
+
103
+ ## Deep Financial Statement Analysis
104
+
105
+ This section provides line-item rigor absorbed from dedicated fundamental analysis workflows. Use when a deeper statement-level breakdown is required.
106
+
107
+ ### Income Statement Line-Item Framework
108
+
109
+ **Revenue Analysis**
110
+ - Break revenue into organic growth vs. acquisition-driven growth vs. FX tailwind/headwind
111
+ - Identify top revenue segments by size and growth rate; flag any segment growing faster or slower than the consolidated total
112
+ - Assess revenue quality: recurring subscription/contract revenue vs. transactional/one-time revenue
113
+ - Operating leverage test: does revenue growth outpace operating expense growth? Calculate incremental operating margin = ΔOperating Income / ΔRevenue
114
+
115
+ **Cost Structure Decomposition**
116
+ - COGS breakdown: raw materials, labor, overhead — track each as % of revenue over 5 years
117
+ - SG&A as % of revenue: stable or creeping? Rising SG&A without revenue acceleration signals inefficiency
118
+ - R&D intensity: absolute spend and % of revenue — context-dependent (biotech vs. consumer goods)
119
+ - Non-recurring items to strip from normalized earnings: restructuring charges, asset write-downs, gain/loss on asset sales, one-time tax benefits, litigation settlements
120
+
121
+ **Operating Leverage Analysis**
122
+ - Fixed vs. variable cost split (estimate from historical margin behavior at different revenue levels)
123
+ - Degree of Operating Leverage (DOL) = % Change in Operating Income / % Change in Revenue
124
+ - High DOL (>3x) amplifies both upside and downside from revenue swings
125
+
126
+ | Year | Revenue ($M) | Revenue Growth % | EBIT ($M) | EBIT Growth % | DOL |
127
+ |------|-------------|-----------------|-----------|--------------|-----|
128
+ | Y-4 | | | | | |
129
+ | Y-3 | | | | | |
130
+ | Y-2 | | | | | |
131
+ | Y-1 | | | | | |
132
+ | TTM | | | | | |
133
+
134
+ ### Working Capital Cycle Analysis
135
+
136
+ Working capital efficiency directly affects how much cash a business consumes or generates as it grows.
137
+
138
+ **Key Working Capital Metrics**
139
+
140
+ | Metric | Formula | Current | Y-1 | Y-2 | Trend |
141
+ |--------|---------|---------|-----|-----|-------|
142
+ | Days Sales Outstanding (DSO) | Accounts Receivable / (Revenue / 365) | | | | |
143
+ | Days Inventory Outstanding (DIO) | Inventory / (COGS / 365) | | | | |
144
+ | Days Payable Outstanding (DPO) | Accounts Payable / (COGS / 365) | | | | |
145
+ | Cash Conversion Cycle (CCC) | DSO + DIO − DPO | | | | |
146
+ | Net Working Capital ($M) | Current Assets − Current Liabilities | | | | |
147
+ | NWC as % of Revenue | NWC / Revenue | | | | |
148
+
149
+ **Cash Conversion Cycle Interpretation**
150
+ - **CCC declining**: Company is collecting faster, holding less inventory, and/or extending payables — favorable working capital dynamics, cash generation improves as revenue grows
151
+ - **CCC rising**: Working capital is consuming more cash as the business scales — a hidden drag on FCF growth
152
+ - **Negative CCC** (e.g., large retailers, subscription businesses): Customers pay before the company pays suppliers — a structural cash flow advantage
153
+
154
+ **Working Capital as a Growth Funding Check**
155
+ - Incremental NWC per $1 of new revenue = ΔNWC / ΔRevenue
156
+ - If this ratio exceeds ~15%, rapid revenue growth can strain liquidity even in a profitable business
157
+
158
+ ### DuPont Decomposition
159
+
160
+ DuPont analysis decomposes ROE into its constituent drivers to identify whether profitability, efficiency, or leverage is the primary return engine — and whether returns are sustainable.
161
+
162
+ **3-Factor DuPont**
163
+
164
+ ROE = Net Profit Margin × Asset Turnover × Equity Multiplier
165
+
166
+ | Component | Formula | Current | Y-1 | Y-2 |
167
+ |-----------|---------|---------|-----|-----|
168
+ | Net Profit Margin | Net Income / Revenue | | | |
169
+ | Asset Turnover | Revenue / Average Total Assets | | | |
170
+ | Equity Multiplier | Average Total Assets / Average Shareholders' Equity | | | |
171
+ | **ROE** | Margin × Turnover × Multiplier | | | |
172
+
173
+ **5-Factor DuPont (Extended)**
174
+
175
+ ROE = Tax Burden × Interest Burden × EBIT Margin × Asset Turnover × Equity Multiplier
176
+
177
+ | Component | Formula | Current | Y-1 | Y-2 |
178
+ |-----------|---------|---------|-----|-----|
179
+ | Tax Burden | Net Income / Pre-Tax Income | | | |
180
+ | Interest Burden | Pre-Tax Income / EBIT | | | |
181
+ | EBIT Margin | EBIT / Revenue | | | |
182
+ | Asset Turnover | Revenue / Average Total Assets | | | |
183
+ | Equity Multiplier | Average Total Assets / Average Equity | | | |
184
+ | **ROE** | Product of all five | | | |
185
+
186
+ **DuPont Interpretation**
187
+ - ROE driven by high **margin** (e.g., luxury brands, software): High-quality, sustainable — least risky driver
188
+ - ROE driven by high **asset turnover** (e.g., retailers, distributors): Efficient but thin — watch for margin erosion
189
+ - ROE driven by high **leverage** (equity multiplier > 3x): Amplified returns but magnified downside — assess debt sustainability carefully
190
+ - Declining ROE: diagnose which factor is deteriorating before drawing conclusions
191
+
192
+ ### Competitive Analysis — Porter's Five Forces
193
+
194
+ | Force | Intensity (H/M/L) | Key Evidence |
195
+ |-------|------------------|--------------|
196
+ | Threat of New Entrants | | Capital requirements, brand moats, regulatory barriers |
197
+ | Bargaining Power of Suppliers | | Supplier concentration, switching costs, input criticality |
198
+ | Bargaining Power of Buyers | | Customer concentration, price sensitivity, alternatives |
199
+ | Threat of Substitutes | | Technology disruption, cross-industry competition |
200
+ | Competitive Rivalry | | Number of peers, market growth rate, differentiation |
201
+
202
+ **Overall Moat Assessment**: Wide / Narrow / None
203
+ - **Wide moat**: Durable competitive advantage expected to persist 20+ years
204
+ - **Narrow moat**: Competitive advantage present but may erode within 10 years
205
+ - **No moat**: Competing primarily on price or operational efficiency
206
+
207
+ ### Visualization Data Tables
208
+
209
+ When a visual or report output is needed, populate these tables for chart generation (compatible with `/us-stock-analysis:report-generator`):
210
+
211
+ **Revenue & Earnings Growth**
212
+ ```
213
+ Year Revenue ($M) Revenue Growth % Net Income ($M) EPS ($)
214
+ 2020 [value] [%] [value] [value]
215
+ 2021 [value] [%] [value] [value]
216
+ 2022 [value] [%] [value] [value]
217
+ 2023 [value] [%] [value] [value]
218
+ 2024 [value] [%] [value] [value]
219
+ ```
220
+
221
+ **Profit Margin Trends**
222
+ ```
223
+ Year Gross Margin % Operating Margin % Net Margin % Industry Avg %
224
+ 2020 [%] [%] [%] [%]
225
+ 2021 [%] [%] [%] [%]
226
+ 2022 [%] [%] [%] [%]
227
+ 2023 [%] [%] [%] [%]
228
+ 2024 [%] [%] [%] [%]
229
+ ```
230
+
231
+ **Balance Sheet Composition**
232
+ ```
233
+ Year Current Assets ($M) Fixed Assets ($M) Intangibles ($M) Total Assets ($M)
234
+ 2020 [value] [value] [value] [value]
235
+ 2021 [value] [value] [value] [value]
236
+ 2022 [value] [value] [value] [value]
237
+ 2023 [value] [value] [value] [value]
238
+ 2024 [value] [value] [value] [value]
239
+
240
+ Year Current Liab ($M) Long-term Debt ($M) Equity ($M) Total L+E ($M)
241
+ 2020 [value] [value] [value] [value]
242
+ 2021 [value] [value] [value] [value]
243
+ 2022 [value] [value] [value] [value]
244
+ 2023 [value] [value] [value] [value]
245
+ 2024 [value] [value] [value] [value]
246
+ ```
247
+
248
+ **Cash Flow Waterfall**
249
+ ```
250
+ Component Amount ($M) Notes
251
+ Operating Cash Flow [value] Core business generation
252
+ Capital Expenditures [value] Investments in assets
253
+ Free Cash Flow [value] Available for distribution
254
+ Dividends [value] Shareholder distribution
255
+ Share Buybacks [value] Share repurchases
256
+ M&A Activity [value] Acquisitions
257
+ Debt Repayment [value] Debt reduction
258
+ Net Cash Change [value] Bottom line impact
259
+ ```
260
+
261
+ **Valuation Multiples Comparison**
262
+ ```
263
+ Metric Company Industry Avg 5-Year Avg Assessment
264
+ P/E Ratio [value] [value] [value] [Over/Under/Fair]
265
+ P/B Ratio [value] [value] [value] [Over/Under/Fair]
266
+ P/S Ratio [value] [value] [value] [Over/Under/Fair]
267
+ EV/EBITDA [value] [value] [value] [Over/Under/Fair]
268
+ PEG Ratio [value] [value] [value] [Over/Under/Fair]
269
+ ```
270
+
271
+ ---
272
+
273
+ ## Quality Scoring Framework
274
+
275
+ ### Piotroski F-Score (0–9)
276
+
277
+ The Piotroski F-Score measures financial strength and operating improvement across 9 binary criteria. Each criterion scores 1 (pass) or 0 (fail). Score of 8–9 is strong; 0–2 is weak.
278
+
279
+ **Profitability Signals (4 criteria):**
280
+
281
+ | # | Criterion | Formula | Pass Condition | Score |
282
+ |---|-----------|---------|----------------|-------|
283
+ | 1 | ROA > 0 | Net Income / Total Assets | Positive ROA in current year | 0 or 1 |
284
+ | 2 | Operating Cash Flow > 0 | CFO from cash flow statement | Positive CFO | 0 or 1 |
285
+ | 3 | Change in ROA | ROA(t) − ROA(t-1) | ROA improved year-over-year | 0 or 1 |
286
+ | 4 | Accruals (quality) | CFO / Total Assets > ROA | Cash earnings exceed reported earnings | 0 or 1 |
287
+
288
+ **Leverage, Liquidity & Source of Funds (3 criteria):**
289
+
290
+ | # | Criterion | Formula | Pass Condition | Score |
291
+ |---|-----------|---------|----------------|-------|
292
+ | 5 | Change in Leverage | Long-term Debt / Avg Assets | Leverage decreased YoY | 0 or 1 |
293
+ | 6 | Change in Liquidity | Current Ratio(t) vs (t-1) | Current ratio improved YoY | 0 or 1 |
294
+ | 7 | No New Shares Issued | Diluted shares outstanding | No new equity issuance in past year | 0 or 1 |
295
+
296
+ **Operating Efficiency (2 criteria):**
297
+
298
+ | # | Criterion | Formula | Pass Condition | Score |
299
+ |---|-----------|---------|----------------|-------|
300
+ | 8 | Change in Gross Margin | Gross Margin(t) vs (t-1) | Gross margin expanded YoY | 0 or 1 |
301
+ | 9 | Change in Asset Turnover | Revenue / Total Assets | Asset turnover improved YoY | 0 or 1 |
302
+
303
+ **F-Score Interpretation:**
304
+ - **8–9**: Strong financial position — high-quality candidate
305
+ - **5–7**: Average quality — neutral
306
+ - **0–2**: Weak financial position — high risk of deterioration
307
+
308
+ ### Earnings Quality Score
309
+
310
+ - **Accruals Ratio**: (Net Income − CFO) / Average Total Assets. Low or negative accruals indicate high earnings quality (cash-backed profits).
311
+ - **Cash Conversion Rate**: CFO / Net Income. Ratio consistently above 1.0x is positive. Below 0.7x signals potential earnings inflation.
312
+ - **Non-Recurring Items**: Identify and strip out restructuring charges, asset write-downs, gains on asset sales, and one-time tax benefits from normalized earnings.
313
+ - **Revenue Recognition Risk**: Assess channel stuffing, bill-and-hold arrangements, and aggressive deferred revenue recognition.
314
+
315
+ ---
316
+
317
+ ## ROIC / WACC Analysis
318
+
319
+ ### ROIC Calculation
320
+
321
+ **ROIC = NOPAT / Invested Capital**
322
+
323
+ - **NOPAT** (Net Operating Profit After Tax) = EBIT × (1 − effective tax rate)
324
+ - **Invested Capital** = Total Equity + Total Debt − Cash and Cash Equivalents
325
+ - Alternatively: Invested Capital = Net PP&E + Net Working Capital + Goodwill + Other Long-term Operating Assets
326
+
327
+ | Component | Value |
328
+ |--------------------------|-------|
329
+ | EBIT | |
330
+ | Effective Tax Rate | |
331
+ | NOPAT | |
332
+ | Total Equity | |
333
+ | Total Debt | |
334
+ | Less: Cash | |
335
+ | Invested Capital | |
336
+ | **ROIC** | |
337
+
338
+ ### WACC Calculation
339
+
340
+ **WACC = (E/V) × Re + (D/V) × Rd × (1 − T)**
341
+
342
+ - **Cost of Equity (Re)** via CAPM: Re = Rf + β × (Rm − Rf)
343
+ - Rf: Risk-free rate (current 10-year Treasury yield)
344
+ - β: Stock beta (5-year monthly vs. S&P 500)
345
+ - (Rm − Rf): Equity risk premium (historical ~5–6%)
346
+ - **Cost of Debt (Rd)**: Weighted average interest rate on outstanding debt
347
+ - **Capital Structure Weights**: E/V = market cap / (market cap + total debt), D/V = total debt / (market cap + total debt)
348
+ - **Tax Shield**: Multiply Rd by (1 − marginal tax rate) to reflect interest deductibility
349
+
350
+ | Component | Value |
351
+ |------------------------|-------|
352
+ | Risk-Free Rate (Rf) | |
353
+ | Beta (β) | |
354
+ | Equity Risk Premium | |
355
+ | Cost of Equity (Re) | |
356
+ | Pre-Tax Cost of Debt | |
357
+ | Tax Rate | |
358
+ | After-Tax Cost of Debt | |
359
+ | Equity Weight (E/V) | |
360
+ | Debt Weight (D/V) | |
361
+ | **WACC** | |
362
+
363
+ ### Economic Value Added (EVA)
364
+
365
+ **EVA = (ROIC − WACC) × Invested Capital**
366
+
367
+ - **ROIC > WACC**: Company is creating economic value — every dollar invested earns more than its cost. Strong positive signal.
368
+ - **ROIC = WACC**: Company is breaking even economically — no value creation or destruction.
369
+ - **ROIC < WACC**: Company is destroying shareholder value — capital is deployed below its opportunity cost. Significant warning sign.
370
+
371
+ ROIC vs. WACC spread trend (expanding = improving value creation, compressing = deteriorating):
372
+
373
+ | Year | ROIC | WACC | Spread | EVA |
374
+ |---------|------|------|--------|-----|
375
+ | Current | | | | |
376
+ | -1 Year | | | | |
377
+ | -2 Year | | | | |
378
+ | -3 Year | | | | |
379
+
380
+ ---
381
+
382
+ ## DCF Framework
383
+
384
+ ### Step-by-Step DCF Methodology
385
+
386
+ **Step 1 — Project Free Cash Flow (Years 1–10)**
387
+ - Start with current year base FCF = Operating Cash Flow − Maintenance Capex
388
+ - Apply revenue growth rate assumptions (differentiate Phase 1: high growth, Phase 2: fade to stable)
389
+ - Apply operating margin assumptions (expanding/stable/compressing)
390
+ - Deduct taxes and changes in net working capital
391
+ - FCF = NOPAT + D&A − Change in Working Capital − Capex
392
+
393
+ **Step 2 — Terminal Value Calculation**
394
+ - Gordon Growth Model: TV = FCF(Year 10) × (1 + g) / (WACC − g)
395
+ - Exit Multiple Method: TV = EBITDA(Year 10) × Terminal EV/EBITDA multiple
396
+ - Terminal growth rate (g): typically 2–3% (in line with long-run nominal GDP growth)
397
+ - Cross-check both methods for reasonableness
398
+
399
+ **Step 3 — Discount to Present Value**
400
+ - Discount each year's FCF: PV(FCFt) = FCFt / (1 + WACC)^t
401
+ - Discount terminal value: PV(TV) = TV / (1 + WACC)^10
402
+ - Enterprise Value = Sum of all discounted FCFs + PV(Terminal Value)
403
+ - Equity Value = Enterprise Value − Net Debt
404
+ - Intrinsic Value Per Share = Equity Value / Diluted Shares Outstanding
405
+
406
+ ### Key Assumptions
407
+
408
+ | Assumption | Base Case | Bull Case | Bear Case |
409
+ |------------------------|-----------|-----------|-----------|
410
+ | Revenue Growth Yr 1–5 | | | |
411
+ | Revenue Growth Yr 6–10 | | | |
412
+ | Operating Margin | | | |
413
+ | Tax Rate | | | |
414
+ | Capex (% Revenue) | | | |
415
+ | WACC | | | |
416
+ | Terminal Growth Rate | | | |
417
+ | Terminal EV/EBITDA | | | |
418
+
419
+ ### Sensitivity Table
420
+
421
+ Intrinsic value per share at various WACC and terminal growth rate combinations:
422
+
423
+ | WACC \ Terminal Growth | 1.5% | 2.0% | 2.5% | 3.0% | 3.5% |
424
+ |------------------------|-------|-------|-------|-------|-------|
425
+ | 7% | | | | | |
426
+ | 8% | | | | | |
427
+ | 9% | | | | | |
428
+ | 10% | | | | | |
429
+ | 11% | | | | | |
430
+
431
+ ### Margin of Safety Assessment
432
+
433
+ - **Intrinsic Value (Base Case)**:
434
+ - **Current Market Price**:
435
+ - **Premium / (Discount) to Intrinsic Value**:
436
+ - **Margin of Safety**: (Intrinsic Value − Market Price) / Intrinsic Value × 100%
437
+ - > 30% discount: Significant margin of safety — compelling value
438
+ - 10–30% discount: Moderate margin of safety — attractive
439
+ - 0–10% discount: Limited margin of safety — fairly valued
440
+ - Trading at premium: No margin of safety — risk of capital loss if assumptions miss
441
+
442
+ ---
443
+
444
+ ## Management Quality Assessment
445
+
446
+ ### Capital Allocation Track Record
447
+
448
+ - **ROIC Trend**: Is management generating returns above cost of capital consistently? Review 5-year ROIC history.
449
+ - **Acquisition History**: Evaluate past M&A for value creation. Did acquired assets earn above WACC? Were goodwill impairments taken post-acquisition?
450
+ - **Buyback Timing**: Did management repurchase shares below intrinsic value? Assess buyback price vs. subsequent performance.
451
+ - **Dividend Policy**: Sustainable payout ratio? Dividend growth track record. Balance between dividends, buybacks, and reinvestment.
452
+ - **Capex Discipline**: Differentiate growth capex vs. maintenance capex. Asset-light vs. capital-intensive business assessment.
453
+
454
+ ### Guidance Accuracy History (Last 8 Quarters)
455
+
456
+ | Quarter | EPS Guidance | EPS Actual | Beat/Miss | Revenue Guidance | Revenue Actual | Beat/Miss |
457
+ |----------|-------------|------------|-----------|------------------|----------------|-----------|
458
+ | Q1 | | | | | | |
459
+ | Q2 | | | | | | |
460
+ | Q3 | | | | | | |
461
+ | Q4 | | | | | | |
462
+ | Q5 | | | | | | |
463
+ | Q6 | | | | | | |
464
+ | Q7 | | | | | | |
465
+ | Q8 | | | | | | |
466
+ | **Rate** | | | X/8 | | | X/8 |
467
+
468
+ - Beat rate above 75% (6+/8) is strong. Below 50% suggests overpromising or deteriorating visibility.
469
+ - Assess guidance conservatism (sandbagging tendency) vs. optimism bias.
470
+
471
+ ### Insider Ownership Alignment
472
+
473
+ - **CEO ownership** (% of shares outstanding): > 3% meaningful, > 10% highly aligned
474
+ - **Board ownership**: Independent directors with meaningful personal stakes indicate alignment
475
+ - **Recent insider transactions**: Open-market buys are strongly positive; sells can be routine diversification
476
+ - **Insider buy/sell ratio** over past 12 months
477
+ - **10b5-1 plan activity**: Scheduled plan sales are less informative than discretionary transactions
478
+
479
+ ### Compensation Structure
480
+
481
+ - **Pay-for-performance alignment**: Are bonuses and equity vesting tied to ROIC, FCF, and total shareholder return (TSR)?
482
+ - **Long-term equity grants**: Stock option or RSU vesting periods (3+ years preferred)
483
+ - **CEO pay ratio**: Context for compensation relative to company size and peers
484
+ - **Say-on-pay vote**: Shareholder approval percentage in most recent proxy vote
485
+ - **Excessive compensation red flags**: Guaranteed bonuses, repriced options, change-of-control severance packages
486
+
487
+ ---
488
+
489
+ ## Analyst Consensus Tracking
490
+
491
+ ### Current Consensus Summary
492
+
493
+ | Metric | Value |
494
+ |----------------------|-------|
495
+ | Buy Ratings | X (X%) |
496
+ | Hold Ratings | X (X%) |
497
+ | Sell Ratings | X (X%) |
498
+ | Mean Price Target | |
499
+ | High Price Target | |
500
+ | Low Price Target | |
501
+ | Current Price | |
502
+ | Upside to Mean Target| |
503
+ | # of Analysts | |
504
+
505
+ **Consensus interpretation:**
506
+ - >70% Buy with >20% upside to mean target: Strong consensus support
507
+ - Mixed ratings with tight price target range: Consensus uncertainty
508
+ - >30% Sell ratings or mean target below current price: Consensus cautious
509
+
510
+ ### Estimate Revision Trend
511
+
512
+ Track the direction of earnings estimate changes over time:
513
+
514
+ | Period | EPS Estimate (Current FY) | Change vs. 30 Days Ago | Change vs. 90 Days Ago |
515
+ |--------------|--------------------------|------------------------|------------------------|
516
+ | Current FY | | | |
517
+ | Next FY | | | |
518
+ | Revenue (FY) | | | |
519
+
520
+ - **Estimates rising**: Positive revision momentum — analysts upgrading expectations
521
+ - **Estimates falling**: Negative revision momentum — earnings risk, watch for guidance cuts
522
+ - **Stable estimates**: Predictable business with low estimate volatility
523
+
524
+ ### Earnings Estimate Revision Momentum (ERM Signal)
525
+
526
+ - ERM = (Number of upward revisions − Number of downward revisions) / Total revisions over 30 days
527
+ - **ERM > +0.3**: Strong positive momentum — bullish signal
528
+ - **ERM −0.3 to +0.3**: Neutral
529
+ - **ERM < −0.3**: Negative momentum — bearish signal
530
+ - Most reliable when combined with price momentum confirmation
531
+
532
+ ---
533
+
534
+ ## Risk Assessment Matrix
535
+
536
+ ### Business Risk
537
+
538
+ | Risk Factor | Level (L/M/H) | Notes |
539
+ |--------------------|---------------|-------|
540
+ | Industry cyclicality | | |
541
+ | Competitive intensity | | |
542
+ | Disruption threat | | |
543
+ | Customer concentration | | |
544
+ | Supplier concentration | | |
545
+ | Regulatory exposure | | |
546
+ | ESG / litigation | | |
547
+
548
+ ### Financial Risk
549
+
550
+ | Risk Factor | Level (L/M/H) | Notes |
551
+ |--------------------|---------------|-------|
552
+ | Leverage (Net Debt/EBITDA) | | |
553
+ | Liquidity (Current Ratio) | | |
554
+ | Refinancing risk (near-term maturities) | | |
555
+ | Covenant compliance | | |
556
+ | Pension obligations | | |
557
+ | Off-balance-sheet items | | |
558
+
559
+ **Leverage thresholds (Net Debt/EBITDA):**
560
+ - < 1.0x: Conservative, strong balance sheet
561
+ - 1.0–2.5x: Moderate, manageable
562
+ - 2.5–4.0x: Elevated, monitor closely
563
+ - > 4.0x: High financial risk, limited flexibility
564
+
565
+ ### Valuation Risk
566
+
567
+ | Scenario | Implied Multiple | Notes |
568
+ |---------------------------|-----------------|-------|
569
+ | Bull case intrinsic value | | |
570
+ | Base case intrinsic value | | |
571
+ | Bear case intrinsic value | | |
572
+ | Current market price | | |
573
+ | Premium to bear case | | |
574
+
575
+ - **Multiple compression scenario**: If sector re-rates to lower multiples (e.g., in rising rate environment), what is the downside?
576
+ - **Earnings miss scenario**: What happens to price if EPS misses by 10%? By 20%?
577
+ - **Sentiment shift risk**: High-multiple, high-expectation stocks carry disproportionate downside on minor guidance cuts.
578
+
579
+ ### Macro Risk
580
+
581
+ | Factor | Impact Level | Current Exposure |
582
+ |---------------------|-------------|-----------------|
583
+ | Interest rate sensitivity | | |
584
+ | USD/FX exposure | | |
585
+ | Commodity cost exposure | | |
586
+ | Tariff / trade risk | | |
587
+ | Geopolitical exposure | | |
588
+ | Regulatory / antitrust | | |
589
+
590
+ ---
591
+
592
+ ## Output Format
593
+
594
+ Provide clear, actionable insights structured as follows:
595
+
596
+ 1. **Investment Thesis Summary** (2–3 sentences capturing the core bull or bear case)
597
+ 2. **Valuation Assessment**: Undervalued / Fairly Valued / Overvalued, with DCF and multiple-based support
598
+ 3. **Quality Score**: Piotroski F-Score, Earnings Quality, ROIC vs. WACC verdict
599
+ 4. **Management Assessment**: Capital allocator quality, guidance credibility, ownership alignment
600
+ 5. **Analyst Consensus**: Current ratings, price target vs. market, estimate revision direction
601
+ 6. **Key Risks**: Top 3 risks that could invalidate the thesis
602
+ 7. **Price Targets**: Bull / Base / Bear case with probability weighting
603
+ 8. **Recommended Entry Zone**: Based on margin of safety and technical support levels
604
+
605
+ ## Standard Signal Output
606
+
607
+ All analysis concludes with this standardized block:
608
+
609
+ ```
610
+ ## Thesis Invalidation
611
+
612
+ After delivering the analysis signal, specify what would reverse it:
613
+
614
+ **If signal is BULLISH — thesis breaks if:**
615
+ - Piotroski F-Score drops below 3 OR ROIC falls below WACC for 2 quarters
616
+ - [One or two more triggers drawn from this analysis's own drivers, each with a threshold]
617
+
618
+ **If signal is BEARISH — thesis breaks if:**
619
+ - F-Score improves to 7+ AND ROIC/WACC spread widens >300bps
620
+ - [One or two more triggers drawn from this analysis's own drivers, each with a threshold]
621
+
622
+ **Re-run this analysis when:**
623
+ - [ ] Next earnings release
624
+ - [ ] Price moves ±15% from current level
625
+ - [ ] 60 days have elapsed
626
+ - [ ] Material news event (acquisition, leadership change, regulatory decision)
627
+
628
+ ╔══════════════════════════════════════════════╗
629
+ ║ INVESTMENT SIGNAL ║
630
+ ╠══════════════════════════════════════════════╣
631
+ ║ Signal: BULLISH / NEUTRAL / BEARISH ║
632
+ ║ Confidence: HIGH / MEDIUM / LOW ║
633
+ ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
634
+ ║ Score: X.X / 10 ║
635
+ ╠══════════════════════════════════════════════╣
636
+ ║ Action: BUY / HOLD / SELL ║
637
+ ║ Conviction: STRONG / MODERATE / WEAK ║
638
+ ╚══════════════════════════════════════════════╝
639
+ ```
640
+
641
+ 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
642
+ Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals)
643
+ Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)
644
+
645
+ **Disclaimer:** Educational analysis only. Not financial advice.