@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,532 @@
1
+ # InvestSkill for Gemini CLI
2
+
3
+ Professional investment analysis prompts for Gemini CLI. 21 universal 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 gemini
15
+ ```
16
+
17
+ Appends an InvestSkill block to `GEMINI.md` (your existing content is kept) and installs the frameworks into `.investskill/prompts/`.
18
+
19
+ ### Installation — clone the repo
20
+
21
+ Gemini CLI automatically loads `GEMINI.md` when you run it in the project directory.
22
+
23
+ ```bash
24
+ # Navigate to InvestSkill
25
+ cd /path/to/InvestSkill
26
+
27
+ # Start Gemini CLI
28
+ gemini
29
+
30
+ # GEMINI.md auto-loaded!
31
+ ```
32
+
33
+ ### First Analysis
34
+
35
+ In Gemini CLI:
36
+
37
+ ```
38
+ > @prompts/stock-eval.md Evaluate Apple (AAPL)
39
+ ```
40
+
41
+ Or reference directly:
42
+
43
+ ```
44
+ > @prompts/stock-valuation.md What's a fair valuation for Microsoft?
45
+ ```
46
+
47
+ ---
48
+
49
+ ## All 21 Frameworks
50
+
51
+ ### Core Analysis (6)
52
+ ```
53
+ @prompts/stock-eval.md # Stock evaluation with quality scoring
54
+ @prompts/stock-valuation.md # Multi-method valuation (DCF + comps + EV)
55
+ @prompts/fundamental-analysis.md # Financial statement analysis
56
+ @prompts/technical-analysis.md # Chart patterns and indicators
57
+ @prompts/dcf-valuation.md # DCF intrinsic value model
58
+ @prompts/economics-analysis.md # Macro indicators and recession risk
59
+ ```
60
+
61
+ ### Financial Reports (3)
62
+ ```
63
+ @prompts/financial-report-analyst.md # 10-K, 10-Q, annual report analysis
64
+ @prompts/10k-digest.md # Structured digest doc (EN or 繁體中文)
65
+ @prompts/earnings-call-analysis.md # Earnings call sentiment and themes
66
+ ```
67
+
68
+ ### Market Monitoring (4)
69
+ ```
70
+ @prompts/insider-trading.md # SEC Form 4 insider activity
71
+ @prompts/institutional-ownership.md # 13F institutional holdings tracking
72
+ @prompts/dividend-analysis.md # Dividend safety and yield analysis
73
+ @prompts/short-interest.md # Short squeeze potential
74
+ ```
75
+
76
+ ### Advanced Analysis (4)
77
+ ```
78
+ @prompts/competitor-analysis.md # Economic moat and Porter's Five Forces
79
+ @prompts/options-analysis.md # Options strategy selection
80
+ @prompts/portfolio-review.md # Portfolio allocation and optimization
81
+ @prompts/sector-analysis.md # Sector rotation opportunities
82
+ ```
83
+
84
+ ### Comprehensive Research (3)
85
+ ```
86
+ @prompts/research-bundle.md # All frameworks combined
87
+ @prompts/full-report.md # Interactive HTML report generation
88
+ ```
89
+
90
+ ### Meta-Analysis (3)
91
+ ```
92
+ @prompts/result-validator.md # Analysis confidence scoring
93
+ @prompts/chart-master.md # Data visualization
94
+ @prompts/report-generator.md # HTML/PDF report export
95
+ ```
96
+
97
+ ---
98
+
99
+ ## Usage Examples
100
+
101
+ ### Basic Stock Analysis
102
+
103
+ ```
104
+ # Stock evaluation
105
+ > @prompts/stock-eval.md Evaluate Apple (AAPL) using Piotroski F-Score
106
+
107
+ # Valuation analysis
108
+ > @prompts/stock-valuation.md What's a fair valuation for Microsoft?
109
+
110
+ # Fundamental deep dive
111
+ > @prompts/fundamental-analysis.md Deep analysis of NVIDIA's financials
112
+
113
+ # Technical setup
114
+ > @prompts/technical-analysis.md What are Tesla's key technical levels?
115
+
116
+ # Economic context
117
+ > @prompts/economics-analysis.md Is a recession likely in the next 12 months?
118
+ ```
119
+
120
+ ### Financial Data Analysis
121
+
122
+ **Analyze 10-K filing:**
123
+ ```
124
+ > @prompts/financial-report-analyst.md
125
+ [paste 10-K text here]
126
+
127
+ Extract key accounting red flags and management quality indicators
128
+ ```
129
+
130
+ **Analyze earnings transcript:**
131
+ ```
132
+ > @prompts/earnings-call-analysis.md
133
+ [paste earnings call transcript]
134
+
135
+ What's the management tone and guidance outlook?
136
+ ```
137
+
138
+ **Review portfolio:**
139
+ ```
140
+ > @prompts/portfolio-review.md
141
+ AAPL: 30%
142
+ MSFT: 25%
143
+ NVDA: 20%
144
+ JNJ: 15%
145
+ TSLA: 10%
146
+
147
+ Is my allocation optimal?
148
+ ```
149
+
150
+ ### Stock Comparison
151
+
152
+ ```
153
+ # Compare valuations
154
+ > @prompts/stock-valuation.md Compare AAPL vs MSFT valuations
155
+
156
+ # Compare fundamentals
157
+ > @prompts/fundamental-analysis.md Compare AAPL and MSFT balance sheets
158
+
159
+ # Multi-stock research
160
+ > @prompts/research-bundle.md Provide comprehensive analysis and comparison:
161
+ - AAPL
162
+ - MSFT
163
+ - GOOGL
164
+ ```
165
+
166
+ ### Specialized Analysis
167
+
168
+ ```
169
+ # Dividend safety
170
+ > @prompts/dividend-analysis.md Is the JNJ dividend safe?
171
+
172
+ # Short squeeze
173
+ > @prompts/short-interest.md What's the short squeeze potential in GME?
174
+
175
+ # Options strategy
176
+ > @prompts/options-analysis.md Find bullish option strategies for AAPL earnings
177
+
178
+ # Competitive moat
179
+ > @prompts/competitor-analysis.md Does Apple have a defensible moat?
180
+
181
+ # Insider activity
182
+ > @prompts/insider-trading.md What are insiders buying at Tesla?
183
+
184
+ # Smart money tracking
185
+ > @prompts/institutional-ownership.md Which institutions are rotating into tech?
186
+
187
+ # Sector opportunities
188
+ > @prompts/sector-analysis.md Which sectors should I rotate into?
189
+ ```
190
+
191
+ ### Full Research Bundle
192
+
193
+ ```
194
+ # Complete analysis (all frameworks)
195
+ > @prompts/research-bundle.md Provide complete analysis on Apple (AAPL)
196
+
197
+ # Quick version
198
+ > @prompts/research-bundle.md Quick analysis of Microsoft (MSFT)
199
+
200
+ # Multi-stock comparison
201
+ > @prompts/research-bundle.md Compare AAPL, MSFT, and GOOGL comprehensively
202
+ ```
203
+
204
+ ---
205
+
206
+ ## Features
207
+
208
+ ✅ **18 Professional Analysis Frameworks**
209
+ - Universal prompts (AI-agnostic)
210
+ - No Gemini-specific syntax needed
211
+ - Works with any AI model via Gemini CLI
212
+
213
+ ✅ **File Reference Support**
214
+ - Use `@prompts/<name>.md` syntax
215
+ - Auto-loads from project directory
216
+ - Supports all 18 analysis types
217
+
218
+ ✅ **Financial Data Integration**
219
+ - Paste SEC filings (10-K, 10-Q)
220
+ - Paste earnings transcripts
221
+ - Paste financial statements
222
+ - Reference documents inline
223
+
224
+ ✅ **Session Memory**
225
+ - Gemini CLI remembers conversation context
226
+ - Ask follow-up questions naturally
227
+ - Multi-turn analysis chains
228
+
229
+ ✅ **Model Agnostic**
230
+ - Works with all Gemini models
231
+ - Works with any Claude model
232
+ - Works with any AI accessible via Gemini CLI
233
+
234
+ ---
235
+
236
+ ## Installation & Troubleshooting
237
+
238
+ ### Verify Installation
239
+
240
+ Check Gemini CLI is installed:
241
+ ```bash
242
+ gemini --version
243
+ ```
244
+
245
+ Check InvestSkill is accessible:
246
+ ```bash
247
+ ls GEMINI.md # Should exist
248
+ ls prompts/ # Should have 18 files
249
+ ```
250
+
251
+ ### Common Issues
252
+
253
+ **Prompts not found:**
254
+ ```bash
255
+ # Make sure you're in InvestSkill directory
256
+ pwd # Should end with InvestSkill
257
+
258
+ # Verify prompts/ directory
259
+ ls prompts/ | wc -l # Should show 17 (report-generator excluded)
260
+
261
+ # Start fresh
262
+ gemini
263
+ ```
264
+
265
+ **@prompts/ references not working:**
266
+ ```bash
267
+ # Verify file path
268
+ ls prompts/stock-valuation.md # Should exist
269
+
270
+ # Check GEMINI.md exists
271
+ ls GEMINI.md
272
+
273
+ # Restart Gemini
274
+ gemini
275
+ ```
276
+
277
+ **Gemini CLI not installed:**
278
+ ```bash
279
+ # Install via npm
280
+ npm install -g @google/gemini-cli
281
+
282
+ # Or check official docs
283
+ # https://gemini.ai
284
+ ```
285
+
286
+ ---
287
+
288
+ ## Advanced Usage
289
+
290
+ ### Multi-Framework Analysis
291
+
292
+ Run multiple analyses in sequence:
293
+
294
+ ```
295
+ > @prompts/stock-eval.md for NVDA
296
+
297
+ > @prompts/technical-analysis.md for NVDA
298
+
299
+ > @prompts/institutional-ownership.md for NVDA
300
+
301
+ Synthesize findings into consolidated investment view
302
+ ```
303
+
304
+ ### Scenario Analysis
305
+
306
+ Ask follow-up questions within conversation:
307
+
308
+ ```
309
+ > @prompts/dcf-valuation.md Build a DCF model for Microsoft
310
+
311
+ Follow-up questions (in same session):
312
+ > What if revenue growth slows to 8%?
313
+ > How sensitive is valuation to WACC?
314
+ > What's the downside case?
315
+ > What's the bull/bear range?
316
+ ```
317
+
318
+ ### Custom Analysis Chains
319
+
320
+ Build complete due diligence workflow:
321
+
322
+ ```
323
+ > @prompts/stock-eval.md Quality evaluation for AAPL
324
+
325
+ > @prompts/fundamental-analysis.md Financial analysis for AAPL
326
+
327
+ > @prompts/technical-analysis.md Technical setup for AAPL
328
+
329
+ > @prompts/stock-valuation.md Valuation for AAPL
330
+
331
+ > @prompts/competitor-analysis.md Competitive moat for AAPL
332
+
333
+ Provide integrated investment thesis
334
+ ```
335
+
336
+ ### Batch Analysis
337
+
338
+ Analyze multiple companies:
339
+
340
+ ```
341
+ > @prompts/research-bundle.md Analyze and compare:
342
+ AAPL
343
+ MSFT
344
+ GOOGL
345
+ NVDA
346
+
347
+ Focus on valuation and competitive positioning
348
+ ```
349
+
350
+ ---
351
+
352
+ ## Output Format
353
+
354
+ All analyses include:
355
+
356
+ ### 1. Executive Summary
357
+ - Key findings and thesis
358
+ - Primary drivers (bullish/bearish)
359
+ - Time horizon
360
+
361
+ ### 2. Quantitative Analysis
362
+ - Specific metrics and numbers
363
+ - Year-over-year comparisons
364
+ - Industry benchmarking
365
+ - Valuation multiples
366
+
367
+ ### 3. Qualitative Assessment
368
+ - Management quality
369
+ - Competitive positioning
370
+ - Market opportunity
371
+ - Risk factors
372
+
373
+ ### 4. Investment Signal Block
374
+ ```
375
+ ╔══════════════════════════════════════════════╗
376
+ ║ INVESTMENT SIGNAL ║
377
+ ╠══════════════════════════════════════════════╣
378
+ ║ Signal: BULLISH / NEUTRAL / BEARISH ║
379
+ ║ Confidence: HIGH / MEDIUM / LOW ║
380
+ ║ Horizon: SHORT / MEDIUM / LONG-TERM ║
381
+ ║ Score: X.X / 10 ║
382
+ ╠══════════════════════════════════════════════╣
383
+ ║ Action: BUY / HOLD / SELL ║
384
+ ║ Conviction: STRONG / MODERATE / WEAK ║
385
+ ╚══════════════════════════════════════════════╝
386
+ ```
387
+
388
+ ---
389
+
390
+ ## Tips & Best Practices
391
+
392
+ ### 1. Use File References
393
+ ```
394
+ # Most reliable
395
+ > @prompts/stock-valuation.md Analyze AAPL
396
+
397
+ # Also works (natural language)
398
+ > What's the valuation for Apple?
399
+ ```
400
+
401
+ ### 2. Provide Context Data
402
+ ```
403
+ > @prompts/dcf-valuation.md
404
+ Analyze MSFT assuming:
405
+ - Revenue growth: 10% CAGR
406
+ - WACC: 8.5%
407
+ - Terminal growth: 2.5%
408
+ - Current price: $450/share
409
+ ```
410
+
411
+ ### 3. Paste Financial Data
412
+ ```
413
+ > @prompts/fundamental-analysis.md
414
+ [paste balance sheet and income statement]
415
+
416
+ Analyze financial quality and trends
417
+ ```
418
+
419
+ ### 4. Chain Multiple Analyses
420
+ ```
421
+ # Start first analysis
422
+ > @prompts/stock-eval.md Evaluate NVDA quality
423
+
424
+ # Add follow-up
425
+ > Then @prompts/technical-analysis.md for NVDA chart patterns
426
+
427
+ # Add more
428
+ > Also @prompts/institutional-ownership.md for smart money positioning
429
+ ```
430
+
431
+ ### 5. Ask Follow-Up Questions
432
+ Gemini CLI remembers conversation context:
433
+
434
+ ```
435
+ > @prompts/stock-valuation.md Value Microsoft
436
+
437
+ > What if cloud revenue growth slows?
438
+ > How sensitive is valuation to margin assumptions?
439
+ > What's the downside scenario?
440
+ ```
441
+
442
+ ---
443
+
444
+ ## CLI Tips
445
+
446
+ ### Navigation
447
+ ```bash
448
+ # See available prompts
449
+ ls prompts/
450
+
451
+ # View a specific prompt
452
+ cat prompts/stock-valuation.md
453
+
454
+ # Check line count
455
+ wc -l prompts/*.md
456
+ ```
457
+
458
+ ### Piping to Other Tools
459
+ ```bash
460
+ # Save analysis to file
461
+ # In Gemini: > @prompts/stock-eval.md AAPL
462
+ # Then: copy output to file.txt
463
+
464
+ # Search output
465
+ # grep "BULLISH" output.txt
466
+ ```
467
+
468
+ ---
469
+
470
+ ## Documentation
471
+
472
+ ### Gemini Specific
473
+ - This file (README-gemini.md)
474
+ - [GEMINI.md](GEMINI.md) — Project instructions
475
+
476
+ ### All Platforms
477
+ - [README.md](README.md) — Complete setup for all 5 platforms
478
+ - [PLATFORM-COMPATIBILITY.md](PLATFORM-COMPATIBILITY.md) — Feature comparison
479
+ - [CI-CD-GUIDE.md](CI-CD-GUIDE.md) — Release automation
480
+
481
+ ### Examples & Learning
482
+ - [COOKBOOK.md](site/content/COOKBOOK.md) — Walkthroughs and examples
483
+ - [CHANGELOG.md](CHANGELOG.md) — Feature updates
484
+ - `prompts/` — Individual framework files
485
+
486
+ ---
487
+
488
+ ## Support & Feedback
489
+
490
+ ### Report Issues
491
+ - GitHub Issues: https://github.com/yennanliu/InvestSkill/issues
492
+ - GitHub Discussions: https://github.com/yennanliu/InvestSkill/discussions
493
+
494
+ ### Feature Requests
495
+ Open an issue with:
496
+ - What analysis would help
497
+ - Your use case
498
+ - Example scenario
499
+
500
+ ### Troubleshooting
501
+
502
+ **Gemini not responding:**
503
+ - Check internet connection
504
+ - Verify Gemini CLI is running
505
+ - Try simpler prompt first
506
+
507
+ **Prompts too long:**
508
+ - Use specific sections
509
+ - Break into multiple queries
510
+ - Check token limits
511
+
512
+ ---
513
+
514
+ ## Legal Disclaimer
515
+
516
+ This toolkit provides **educational analysis only** and does **NOT constitute financial advice**.
517
+
518
+ Always:
519
+ - ✅ Consult qualified financial advisors
520
+ - ✅ Do your own research (DYOR)
521
+ - ✅ Verify analysis independently
522
+ - ✅ Consider your risk tolerance
523
+
524
+ Past performance does not guarantee future results.
525
+
526
+ ---
527
+
528
+ ## More Information
529
+
530
+ For complete documentation covering all platforms (Claude Code, Cursor, Copilot, Universal), see:
531
+
532
+ 📖 **[README.md](README.md)**
@@ -0,0 +1,106 @@
1
+ # InvestSkill for Ollama
2
+
3
+ Run all 25 InvestSkill frameworks on **local open-source models** (Qwen, Llama, DeepSeek, Mistral…) via [Ollama](https://ollama.com) — no API key, no per-token cost, and your data stays on your machine.
4
+
5
+ **For multi-platform setup**, see [README.md](README.md).
6
+
7
+ ---
8
+
9
+ ## How it works
10
+
11
+ InvestSkill has no runtime — every framework is a plain-markdown prompt in [`prompts/`](prompts/). "Using it with Ollama" just means feeding one of those prompts to a local model. There is one thing to get right:
12
+
13
+ > ⚠️ **The frameworks need live market data** (current price, filings, earnings). A model in `ollama run` has **no internet** — it only sees what you give it. So pick a path:
14
+
15
+ | Path | Live data | Best for |
16
+ |------|:---------:|----------|
17
+ | **A — Plain `ollama run`** — paste the framework, then paste the data yourself | Manual | Quick, fully private, zero setup |
18
+ | **B — Tool-capable client** pointed at Ollama's OpenAI-compatible endpoint (Open WebUI, Continue.dev, Cline…) with a web-search tool enabled | Automatic | Full experience, closest to Claude Code / Gemini |
19
+
20
+ The framework files are identical either way — only how the model gets its data differs.
21
+
22
+ ---
23
+
24
+ ## Quick start
25
+
26
+ ### 1. Install Ollama and pull a model
27
+
28
+ ```bash
29
+ # https://ollama.com/download
30
+ ollama pull qwen2.5:32b # recommended floor for reliable formatting + tool use
31
+ ```
32
+
33
+ ### 2. Get the frameworks
34
+
35
+ ```bash
36
+ curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a any
37
+ ```
38
+
39
+ Drops all frameworks into `.investskill/prompts/` — no config file touched, nothing else installed. (Cloning the repo works just as well.)
40
+
41
+ ### Path A — paste (simplest)
42
+
43
+ ```bash
44
+ ollama run qwen2.5:32b
45
+ ```
46
+
47
+ Paste a framework, then the data it asks for:
48
+
49
+ ```
50
+ >>> [paste the contents of prompts/stock-eval.md]
51
+
52
+ Evaluate Apple (AAPL). Live data (source: Google Finance, 2026-07-18):
53
+ - Price: $XXX P/E: XX Revenue: $XXB [paste the figures the framework requests]
54
+ ```
55
+
56
+ **Reusable shortcut** — bake a framework into a named model with a Modelfile:
57
+
58
+ ```
59
+ # Modelfile
60
+ FROM qwen2.5:32b
61
+ SYSTEM """
62
+ <paste the full contents of prompts/stock-eval.md here>
63
+ """
64
+ ```
65
+
66
+ ```bash
67
+ ollama create invest-eval -f Modelfile
68
+ ollama run invest-eval "Evaluate AAPL. Data below: ..."
69
+ ```
70
+
71
+ ### Path B — automatic data (tool-capable client)
72
+
73
+ Point any tool-capable client at Ollama's OpenAI-compatible endpoint (`http://localhost:11434/v1`), enable its web-search/fetch tool, and load a `prompts/*.md` file as the system prompt. The model then fetches prices and filings itself — matching the Claude Code / Gemini experience. Common clients: **Open WebUI** (built-in web search), **Continue.dev**, **Cline**.
74
+
75
+ ---
76
+
77
+ ## Recommended models
78
+
79
+ | Model | Notes |
80
+ |-------|-------|
81
+ | `qwen2.5:32b` · `llama3.1:70b` · `deepseek-r1:32b` | Reliable tables + Signal Block, dependable tool calls — **recommended** |
82
+ | `qwen2.5:14b` | Usable; occasional format drift |
83
+ | any `*:7b` / `*:8b` | Runs, but expect broken tables, skipped data fetches, and hallucinated numbers — not advised for real analysis |
84
+
85
+ Bigger is better here: the frameworks are long (500–4,200 words) and demand disciplined, structured output.
86
+
87
+ ---
88
+
89
+ ## Honest limitations
90
+
91
+ - **Output quality tracks model size.** Small local models drop the box-drawing Signal Block, mangle tables, and — worst — invent prices instead of fetching or asking. Prefer ≥ 32B.
92
+ - **No auto-load config.** Unlike Gemini (`GEMINI.md`) or Cursor (`.cursor/rules/`), Ollama has no project config — you load frameworks manually (paste, Modelfile, or client system prompt).
93
+ - **Data access is your setup's job, not Ollama's** — see Path A vs B above.
94
+ - **Always verify the numbers.** The frameworks say never trust training-data prices; on a local model, enforce that yourself.
95
+
96
+ ---
97
+
98
+ ## Documentation
99
+
100
+ - [README.md](README.md) — all platforms
101
+ - [PLATFORM-COMPATIBILITY.md](PLATFORM-COMPATIBILITY.md) — feature comparison
102
+ - [`prompts/`](prompts/) — the 30 framework files (+ 3 aliases, 1 output tool)
103
+
104
+ ---
105
+
106
+ *Educational analysis only — not financial advice. Verify independently and consult a qualified advisor.*