@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,435 @@
1
+ # InvestSkill for Claude Code
2
+
3
+ Professional investment analysis plugin for Claude Code. 18 analysis frameworks for comprehensive stock market evaluation.
4
+
5
+ **For multi-platform setup**, see [README.md](README.md)
6
+
7
+ ---
8
+
9
+ ## Quick Start
10
+
11
+ ### Installation — one command
12
+
13
+ ```bash
14
+ curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a claude
15
+ ```
16
+
17
+ Installs every skill into `.claude/skills/` (add `-g` for `~/.claude/skills/`), so slash commands work immediately.
18
+
19
+ ### Installation — plugin marketplace
20
+
21
+ ```bash
22
+ # Open Claude Code
23
+ claude
24
+
25
+ # Add marketplace
26
+ /plugin marketplace add yennanliu/InvestSkill
27
+
28
+ # Install plugin
29
+ /plugin install us-stock-analysis
30
+
31
+ # Verify installation
32
+ /plugin list
33
+ ```
34
+
35
+ ### First Analysis
36
+
37
+ ```bash
38
+ # Evaluate a stock
39
+ /us-stock-analysis:stock-eval AAPL
40
+
41
+ # Get valuation
42
+ /us-stock-analysis:stock-valuation MSFT
43
+
44
+ # Full analysis
45
+ /us-stock-analysis:research-bundle GOOGL
46
+ ```
47
+
48
+ ---
49
+
50
+ ## All 18 Skills
51
+
52
+ ### Core Analysis (6)
53
+ ```bash
54
+ /us-stock-analysis:stock-eval AAPL # Piotroski F-Score, quality metrics
55
+ /us-stock-analysis:fundamental-analysis MSFT # Financial statement analysis
56
+ /us-stock-analysis:technical-analysis TSLA # Chart patterns, indicators
57
+ /us-stock-analysis:economics-analysis # Macro indicators
58
+ /us-stock-analysis:dcf-valuation GOOGL # Intrinsic value model
59
+ /us-stock-analysis:stock-valuation NVDA # DCF + comps + EV multiples
60
+ ```
61
+
62
+ ### Financial Reports (3)
63
+ ```bash
64
+ /us-stock-analysis:financial-report-analyst AAPL 10-K # 10-K/10-Q analysis
65
+ /us-stock-analysis:10k-digest NVDA FY2024 --lang zh-TW # Structured digest doc (EN or 繁中)
66
+ /us-stock-analysis:earnings-call-analysis AAPL # Earnings transcript analysis
67
+ ```
68
+
69
+ ### Market Monitoring (4)
70
+ ```bash
71
+ /us-stock-analysis:insider-trading TSLA # Form 4 insider activity
72
+ /us-stock-analysis:institutional-ownership META # 13F institutional tracking
73
+ /us-stock-analysis:dividend-analysis JNJ # Dividend safety
74
+ /us-stock-analysis:short-interest GME # Short squeeze potential
75
+ ```
76
+
77
+ ### Advanced Analysis (4)
78
+ ```bash
79
+ /us-stock-analysis:competitor-analysis AAPL # Economic moat analysis
80
+ /us-stock-analysis:options-analysis AAPL # Options strategy selection
81
+ /us-stock-analysis:portfolio-review # Portfolio optimization
82
+ /us-stock-analysis:sector-analysis # Sector rotation
83
+ ```
84
+
85
+ ### Comprehensive Research (2)
86
+ ```bash
87
+ /us-stock-analysis:research-bundle AAPL # All frameworks combined
88
+ /us-stock-analysis:report-generator # HTML/PDF reports
89
+ ```
90
+
91
+ ---
92
+
93
+ ## Usage Examples
94
+
95
+ ### Basic Stock Analysis
96
+ ```bash
97
+ # Quick evaluation
98
+ /us-stock-analysis:stock-eval AAPL
99
+
100
+ # Detailed fundamentals
101
+ /us-stock-analysis:fundamental-analysis MSFT --visual
102
+
103
+ # Technical chart analysis
104
+ /us-stock-analysis:technical-analysis TSLA --chart
105
+
106
+ # Valuation analysis
107
+ /us-stock-analysis:stock-valuation NVDA
108
+ ```
109
+
110
+ ### Financial Data Analysis
111
+ ```bash
112
+ # Analyze 10-K filing for investment signals
113
+ /us-stock-analysis:financial-report-analyst AAPL 10-K
114
+
115
+ # Generate structured 10-K digest document (EN or Traditional Chinese)
116
+ /us-stock-analysis:10k-digest AAPL FY2024 --lang zh-TW
117
+
118
+ # Analyze earnings call transcript
119
+ /us-stock-analysis:earnings-call-analysis AAPL
120
+ # [paste transcript text]
121
+
122
+ # Review portfolio
123
+ /us-stock-analysis:portfolio-review
124
+ # [paste your holdings]
125
+ ```
126
+
127
+ ### Advanced Analysis
128
+ ```bash
129
+ # DCF valuation with scenarios
130
+ /us-stock-analysis:dcf-valuation MSFT --scenarios
131
+
132
+ # Insider trading analysis
133
+ /us-stock-analysis:insider-trading TSLA
134
+
135
+ # Dividend safety
136
+ /us-stock-analysis:dividend-analysis JNJ
137
+
138
+ # Short squeeze potential
139
+ /us-stock-analysis:short-interest GME
140
+
141
+ # Competitive moat
142
+ /us-stock-analysis:competitor-analysis AAPL
143
+ ```
144
+
145
+ ### Comprehensive Research
146
+ ```bash
147
+ # Full multi-framework analysis
148
+ /us-stock-analysis:research-bundle AAPL
149
+
150
+ # Quick version
151
+ /us-stock-analysis:research-bundle MSFT --quick
152
+
153
+ # Compare multiple stocks
154
+ /us-stock-analysis:research-bundle AAPL,MSFT,GOOGL --compare
155
+ ```
156
+
157
+ ### Report Generation
158
+ ```bash
159
+ # Step 1: Generate analysis with visualization
160
+ /us-stock-analysis:fundamental-analysis AAPL --visual
161
+
162
+ # Step 2: Generate HTML report
163
+ /us-stock-analysis:report-generator
164
+
165
+ # Step 3: Export to PDF
166
+ # Open generated HTML → Print → Save as PDF
167
+ ```
168
+
169
+ ---
170
+
171
+ ## Features
172
+
173
+ ✅ **18 Professional Analysis Frameworks**
174
+ - Comprehensive stock evaluation
175
+ - Multi-method valuation (DCF, comparable companies, EV multiples)
176
+ - Deep fundamental analysis
177
+ - Technical chart pattern recognition
178
+ - Economic context analysis
179
+ - Portfolio optimization
180
+
181
+ ✅ **Financial Data Processing**
182
+ - 10-K/10-Q analysis
183
+ - Earnings call sentiment analysis
184
+ - Insider trading tracking
185
+ - Institutional ownership monitoring
186
+
187
+ ✅ **Advanced Analysis**
188
+ - Dividend safety scoring
189
+ - Short squeeze potential
190
+ - Options strategy selection
191
+ - Competitive moat analysis
192
+ - Sector rotation analysis
193
+
194
+ ✅ **Report Generation**
195
+ - HTML reports with charts
196
+ - PDF export (via browser print)
197
+ - Professional formatting
198
+ - Interactive visualizations
199
+
200
+ ✅ **Standardized Output**
201
+ - All analyses include INVESTMENT SIGNAL block
202
+ - Confidence levels (HIGH/MEDIUM/LOW)
203
+ - Time horizon (SHORT/MEDIUM/LONG-TERM)
204
+ - Actionable recommendations (BUY/HOLD/SELL)
205
+
206
+ ---
207
+
208
+ ## Installation & Troubleshooting
209
+
210
+ ### Installation Issues
211
+
212
+ **Plugin not appearing?**
213
+ ```bash
214
+ # Refresh plugin list
215
+ /plugin list
216
+
217
+ # Try re-adding marketplace
218
+ /plugin marketplace remove yennanliu/InvestSkill
219
+ /plugin marketplace add yennanliu/InvestSkill
220
+ ```
221
+
222
+ **Can't run skills?**
223
+ ```bash
224
+ # Verify installation
225
+ /plugin list
226
+
227
+ # Should show: us-stock-analysis v1.4.0 (or latest)
228
+ ```
229
+
230
+ ### Data Requirements
231
+
232
+ Skills work best with:
233
+ - ✅ Stock ticker symbols (AAPL, MSFT, etc.)
234
+ - ✅ Current market data (fetched automatically)
235
+ - ✅ SEC filing data (10-K, 10-Q text)
236
+ - ✅ Earnings call transcripts
237
+ - ✅ Your portfolio holdings
238
+
239
+ ### Output Quality
240
+
241
+ **For best results:**
242
+ 1. Use valid stock tickers (check if publicly traded)
243
+ 2. Provide recent financial data when pasting
244
+ 3. Include full context for specialized analyses
245
+ 4. Ask follow-up questions for deeper dives
246
+
247
+ ---
248
+
249
+ ## Advanced Usage
250
+
251
+ ### Custom Parameters
252
+
253
+ Some skills support parameters:
254
+
255
+ ```bash
256
+ # Fundamental analysis with visualization
257
+ /us-stock-analysis:fundamental-analysis AAPL --visual
258
+
259
+ # Technical analysis with chart generation
260
+ /us-stock-analysis:technical-analysis TSLA --chart
261
+
262
+ # DCF with scenario analysis
263
+ /us-stock-analysis:dcf-valuation MSFT --scenarios
264
+
265
+ # Research bundle quick version
266
+ /us-stock-analysis:research-bundle AAPL --quick
267
+ ```
268
+
269
+ ### Multi-Skill Workflows
270
+
271
+ **Complete due diligence:**
272
+ ```bash
273
+ # 1. Stock quality evaluation
274
+ /us-stock-analysis:stock-eval AAPL
275
+
276
+ # 2. Fundamental analysis
277
+ /us-stock-analysis:fundamental-analysis AAPL --visual
278
+
279
+ # 3. Technical analysis
280
+ /us-stock-analysis:technical-analysis AAPL --chart
281
+
282
+ # 4. Valuation
283
+ /us-stock-analysis:stock-valuation AAPL
284
+
285
+ # 5. Competitive position
286
+ /us-stock-analysis:competitor-analysis AAPL
287
+
288
+ # 6. Generate report
289
+ /us-stock-analysis:report-generator
290
+ ```
291
+
292
+ **Quick analysis:**
293
+ ```bash
294
+ # Single command comprehensive analysis
295
+ /us-stock-analysis:research-bundle AAPL
296
+ ```
297
+
298
+ ### Batch Analysis
299
+
300
+ **Compare multiple stocks:**
301
+ ```bash
302
+ # Research multiple stocks
303
+ /us-stock-analysis:research-bundle AAPL,MSFT,GOOGL --compare
304
+ ```
305
+
306
+ **Portfolio analysis:**
307
+ ```bash
308
+ # Review entire portfolio
309
+ /us-stock-analysis:portfolio-review
310
+ # AAPL: 30%
311
+ # MSFT: 25%
312
+ # NVDA: 20%
313
+ # JNJ: 15%
314
+ # TSLA: 10%
315
+ ```
316
+
317
+ ---
318
+
319
+ ## Output Format
320
+
321
+ All analyses include:
322
+
323
+ ### 1. Executive Summary
324
+ - Key findings
325
+ - Investment thesis
326
+ - Primary drivers (bullish/bearish)
327
+
328
+ ### 2. Quantitative Analysis
329
+ - Specific metrics and numbers
330
+ - Year-over-year comparisons
331
+ - Industry benchmarking
332
+ - Valuation multiples
333
+
334
+ ### 3. Qualitative Assessment
335
+ - Management quality
336
+ - Competitive positioning
337
+ - Market opportunity
338
+ - Risk factors
339
+
340
+ ### 4. Investment Signal Block
341
+ ```
342
+ ╔══════════════════════════════════════════════╗
343
+ ║ INVESTMENT SIGNAL ║
344
+ ╠══════════════════════════════════════════════╣
345
+ ║ Signal: BULLISH / NEUTRAL / BEARISH ║
346
+ ║ Confidence: HIGH / MEDIUM / LOW ║
347
+ ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
348
+ ║ Score: X.X / 10 ║
349
+ ╠══════════════════════════════════════════════╣
350
+ ║ Action: BUY / HOLD / SELL ║
351
+ ║ Conviction: STRONG / MODERATE / WEAK ║
352
+ ╚══════════════════════════════════════════════╝
353
+ ```
354
+
355
+ ---
356
+
357
+ ## Model Support
358
+
359
+ Works with whichever model your Claude Code session runs (`/model` shows and switches it). Multi-module runs such as `full-report --depth comprehensive` benefit most from the most capable model available to you.
360
+
361
+ ---
362
+
363
+ ## Updates & Versions
364
+
365
+ **Current Version**: v1.4.0
366
+
367
+ Latest features:
368
+ - ✅ 18 professional analysis skills
369
+ - ✅ Multi-platform support
370
+ - ✅ Report generation
371
+ - ✅ Cross-AI compatibility
372
+
373
+ **Check for updates:**
374
+ ```bash
375
+ /plugin marketplace view yennanliu/InvestSkill
376
+ ```
377
+
378
+ ---
379
+
380
+ ## Documentation
381
+
382
+ ### Claude Code Specific
383
+ - This file (README-claude-code.md)
384
+
385
+ ### All Platforms
386
+ - [README.md](README.md) — Complete setup for all 5 platforms
387
+ - [PLATFORM-COMPATIBILITY.md](PLATFORM-COMPATIBILITY.md) — Feature matrix
388
+ - [CI-CD-GUIDE.md](CI-CD-GUIDE.md) — Release automation
389
+
390
+ ### Other Resources
391
+ - [COOKBOOK.md](site/content/COOKBOOK.md) — Examples and walkthroughs
392
+ - [CHANGELOG.md](CHANGELOG.md) — What's new in each version
393
+ - [LICENSE](LICENSE) — MIT License
394
+
395
+ ---
396
+
397
+ ## Support & Feedback
398
+
399
+ ### Report Issues
400
+ - GitHub Issues: https://github.com/yennanliu/InvestSkill/issues
401
+ - GitHub Discussions: https://github.com/yennanliu/InvestSkill/discussions
402
+
403
+ ### Suggestions
404
+ We welcome feature requests! Open an issue with:
405
+ - What analysis would be helpful
406
+ - Why you need it
407
+ - Example use case
408
+
409
+ ### Known Limitations
410
+ - Requires internet connection for market data
411
+ - Stock prices reflect last available market data
412
+ - Not real-time (use financial websites for live data)
413
+ - Educational analysis only (not financial advice)
414
+
415
+ ---
416
+
417
+ ## Legal Disclaimer
418
+
419
+ This plugin provides **educational analysis only** and does **NOT constitute financial advice**.
420
+
421
+ Always:
422
+ - ✅ Consult qualified financial advisors
423
+ - ✅ Do your own research (DYOR)
424
+ - ✅ Verify analysis independently
425
+ - ✅ Consider your risk tolerance
426
+
427
+ Past performance does not guarantee future results.
428
+
429
+ ---
430
+
431
+ ## More Information
432
+
433
+ For complete documentation covering all platforms (Cursor, Gemini, Copilot, Universal), see:
434
+
435
+ 📖 **[README.md](README.md)**