@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.
- package/CHANGELOG.md +44 -1
- package/LICENSE +1 -1
- package/README.md +7 -7
- package/THIRD_PARTY_NOTICES.md +12 -4
- package/capital-config/client.js +50 -10
- package/capital-config/client.src.cjs +376 -62
- package/capital-config/index.js +168 -5
- package/capital-config/package.json +1 -1
- package/capital-watchlist/package.json +1 -1
- package/chart-ui/package.json +1 -1
- package/lib/agents/selected-skills-provider.js +5 -5
- package/lib/index.d.ts +4 -28
- package/lib/index.js +8 -18
- package/lib/web-retriever/local-fetch.d.ts +1 -1
- package/lib/web-retriever/local-fetch.js +1 -1
- package/lib/web-retriever/wind-client.d.ts +1 -1
- package/lib/web-retriever/wind-client.js +1 -1
- package/package.json +2 -1
- package/selected-skills/InvestSkill/ADDING-NEW-SKILLS.md +546 -0
- package/selected-skills/InvestSkill/CHANGELOG.md +373 -0
- package/selected-skills/InvestSkill/CI-CD-GUIDE.md +432 -0
- package/selected-skills/InvestSkill/CLAUDE.md +148 -0
- package/selected-skills/InvestSkill/CONTRIBUTING.md +291 -0
- package/selected-skills/InvestSkill/DEPLOYMENTS.md +321 -0
- package/selected-skills/InvestSkill/FAQ.md +509 -0
- package/selected-skills/InvestSkill/GEMINI.md +419 -0
- package/selected-skills/InvestSkill/LICENSE +21 -0
- package/selected-skills/InvestSkill/PLATFORM-COMPATIBILITY.md +529 -0
- package/selected-skills/InvestSkill/README-claude-code.md +435 -0
- package/selected-skills/InvestSkill/README-cursor.md +475 -0
- package/selected-skills/InvestSkill/README-gemini.md +532 -0
- package/selected-skills/InvestSkill/README-ollama.md +106 -0
- package/selected-skills/InvestSkill/README-zh-TW.md +461 -0
- package/selected-skills/InvestSkill/README.md +311 -0
- package/selected-skills/InvestSkill/RELEASE-QUICK-REFERENCE.md +230 -0
- package/selected-skills/InvestSkill/RELEASE_NOTES.md +121 -0
- package/selected-skills/InvestSkill/SECURITY.md +232 -0
- package/selected-skills/InvestSkill/TODO.md +28 -0
- package/selected-skills/InvestSkill/UPSTREAM.md +62 -0
- package/selected-skills/InvestSkill/install.sh +212 -0
- package/selected-skills/InvestSkill/package.json +64 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/README.md +119 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/10k-digest/SKILL.md +338 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/bear-case/SKILL.md +233 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/catalyst-calendar/SKILL.md +327 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/chart-master/SKILL.md +648 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/competitor-analysis/SKILL.md +478 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dcf-valuation/SKILL.md +109 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/dividend-analysis/SKILL.md +684 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-call-analysis/SKILL.md +456 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/earnings-preview/SKILL.md +277 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/economics-analysis/SKILL.md +349 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/etf-analysis/SKILL.md +279 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fact-check/SKILL.md +288 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/financial-report-analyst/SKILL.md +544 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/full-report/SKILL.md +301 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/fundamental-analysis/SKILL.md +67 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/industry-map/SKILL.md +336 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/insider-trading/SKILL.md +502 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/institutional-ownership/SKILL.md +548 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/learning-coach/SKILL.md +311 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/options-analysis/SKILL.md +495 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/portfolio-review/SKILL.md +465 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/position-ladder/SKILL.md +429 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/report-generator/SKILL.md +857 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/research-bundle/SKILL.md +94 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/result-validator/SKILL.md +174 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/risk-stress-test/SKILL.md +293 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/sector-analysis/SKILL.md +426 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/short-interest/SKILL.md +397 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-eval/SKILL.md +645 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-screener/SKILL.md +244 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/stock-valuation/SKILL.md +640 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/tax-lens/SKILL.md +351 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/technical-analysis/SKILL.md +654 -0
- package/selected-skills/InvestSkill/plugins/us-stock-analysis/skills/thesis-tracker/SKILL.md +317 -0
- package/selected-skills/README.md +15 -5
- package/selected-skills/catalog.js +566 -14
- package/selected-skills/investment-skills/UPSTREAM.md +1 -1
- package/selected-skills/investment-skills/skills/buffett-investment-framework/SKILL.md +1 -1
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
# InvestSkill — Gemini CLI Setup & Usage Guide
|
|
2
|
+
|
|
3
|
+
This project contains professional investment analysis prompt frameworks for US stock markets. When you run Gemini CLI in this directory, all 30 analysis frameworks are automatically available.
|
|
4
|
+
|
|
5
|
+
## Installation & Setup
|
|
6
|
+
|
|
7
|
+
### Quick Start
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# Navigate to the InvestSkill directory
|
|
11
|
+
cd /path/to/InvestSkill
|
|
12
|
+
|
|
13
|
+
# Start Gemini CLI (loads GEMINI.md automatically)
|
|
14
|
+
gemini
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**That's it!** Gemini CLI automatically loads `GEMINI.md` and gives you access to all 30 analysis frameworks in the `prompts/` directory.
|
|
18
|
+
|
|
19
|
+
### Verify Setup
|
|
20
|
+
|
|
21
|
+
When you first run `gemini`, you should see context about InvestSkill loaded. Then in the chat:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
> @prompts/stock-valuation.md AAPL
|
|
25
|
+
|
|
26
|
+
# This should invoke the stock valuation framework
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Available Analysis Prompts (30 frameworks + 3 aliases + 1 output tool)
|
|
32
|
+
|
|
33
|
+
### Core Stock Analysis (4 skills)
|
|
34
|
+
|
|
35
|
+
| Analysis Type | Prompt File | Usage Example |
|
|
36
|
+
|-----------------------------|----------------------------------------|--------------------------------------------|
|
|
37
|
+
| Stock Evaluation | `@prompts/stock-eval.md` | `Evaluate AAPL using this framework` |
|
|
38
|
+
| Stock Valuation (DCF+) | `@prompts/stock-valuation.md` | `Analyze MSFT using all valuation methods` |
|
|
39
|
+
| Technical Analysis | `@prompts/technical-analysis.md` | `Analyze TSLA chart patterns` |
|
|
40
|
+
| Economics Analysis | `@prompts/economics-analysis.md` | `What's the current economic outlook?` |
|
|
41
|
+
|
|
42
|
+
### Financial Report Analysis (3 skills)
|
|
43
|
+
|
|
44
|
+
| Analysis Type | Prompt File | Usage Example |
|
|
45
|
+
|-----------------------------|----------------------------------------|--------------------------------------------|
|
|
46
|
+
| Financial Report Analyst | `@prompts/financial-report-analyst.md` | `[paste 10-K] Analyze this filing` |
|
|
47
|
+
| 10-K Report Digest | `@prompts/10k-digest.md` | `NVDA FY2024 --lang zh-TW` (EN or 繁中) |
|
|
48
|
+
| Earnings Call Analysis | `@prompts/earnings-call-analysis.md` | `[paste transcript] Analyze sentiment` |
|
|
49
|
+
|
|
50
|
+
### Market Monitoring (4 skills)
|
|
51
|
+
|
|
52
|
+
| Analysis Type | Prompt File | Usage Example |
|
|
53
|
+
|-----------------------------|----------------------------------------|--------------------------------------------|
|
|
54
|
+
| Insider Trading | `@prompts/insider-trading.md` | `Track insider activity in TSLA` |
|
|
55
|
+
| Institutional Ownership | `@prompts/institutional-ownership.md` | `Monitor smart money in META` |
|
|
56
|
+
| Dividend Analysis | `@prompts/dividend-analysis.md` | `Is JNJ dividend safe?` |
|
|
57
|
+
| Short Interest | `@prompts/short-interest.md` | `What's the squeeze potential in GME?` |
|
|
58
|
+
|
|
59
|
+
### Advanced Analysis (14 skills)
|
|
60
|
+
|
|
61
|
+
| Analysis Type | Prompt File | Usage Example |
|
|
62
|
+
|-----------------------------|----------------------------------------|--------------------------------------------|
|
|
63
|
+
| Competitor Analysis | `@prompts/competitor-analysis.md` | `Analyze AAPL's competitive moat` |
|
|
64
|
+
| Industry Map | `@prompts/industry-map.md` | `Map the AI compute supply chain` |
|
|
65
|
+
| Options Analysis | `@prompts/options-analysis.md` | `Find earnings play setups in NVDA` |
|
|
66
|
+
| Portfolio Review | `@prompts/portfolio-review.md` | `[paste holdings] Review my allocation` |
|
|
67
|
+
| Sector Analysis | `@prompts/sector-analysis.md` | `What sectors should rotate into?` |
|
|
68
|
+
| Stock Screener | `@prompts/stock-screener.md` | `Rank NVDA, AMD, AVGO across all factors` |
|
|
69
|
+
| Catalyst Calendar | `@prompts/catalyst-calendar.md` | `What catalysts are coming for TSLA?` |
|
|
70
|
+
| Bear Case | `@prompts/bear-case.md` | `Build the bear case against TSLA` |
|
|
71
|
+
| Position Ladder | `@prompts/position-ladder.md` | `I hold 20 AVGO at $128, now $122 — plan` |
|
|
72
|
+
| Thesis Tracker | `@prompts/thesis-tracker.md` | `Open a thesis file for NVDA` |
|
|
73
|
+
| ETF Analysis | `@prompts/etf-analysis.md` | `Is VOO or SPYM the better core holding?` |
|
|
74
|
+
| Earnings Preview | `@prompts/earnings-preview.md` | `NVDA reports on Aug 27 — what is priced in?` |
|
|
75
|
+
| Tax Lens | `@prompts/tax-lens.md` | `I sold AVGO at a loss and want to rebuy — wash sale?` |
|
|
76
|
+
| Risk Stress Test | `@prompts/risk-stress-test.md` | `Stress-test this portfolio against 2008 and 2022` |
|
|
77
|
+
|
|
78
|
+
### Full Report (1 skills)
|
|
79
|
+
|
|
80
|
+
| Analysis Type | Prompt File | Usage Example |
|
|
81
|
+
|-----------------------------|----------------------------------------|--------------------------------------------|
|
|
82
|
+
| Full Report (HTML) | `@prompts/full-report.md` | `Generate full interactive report for NVDA`|
|
|
83
|
+
|
|
84
|
+
### Meta-Analysis & Visualization (5 skills)
|
|
85
|
+
|
|
86
|
+
| Analysis Type | Prompt File | Usage Example |
|
|
87
|
+
|-----------------------------|----------------------------------------|--------------------------------------------|
|
|
88
|
+
| Result Validator | `@prompts/result-validator.md` | `[paste analysis] Score confidence` |
|
|
89
|
+
| Chart Master | `@prompts/chart-master.md` | `[paste data] Generate revenue chart` |
|
|
90
|
+
| Report Generator | `@prompts/report-generator.md` | `[paste analysis] Export as HTML report` |
|
|
91
|
+
| Learning Coach | `@prompts/learning-coach.md` | `[paste a stock-eval output] Explain this to me` |
|
|
92
|
+
| Fact Check | `@prompts/fact-check.md` | `[paste a report] Verify every number and add sources` |
|
|
93
|
+
|
|
94
|
+
### Aliases (3 redirects — installed, not counted as frameworks)
|
|
95
|
+
|
|
96
|
+
These stubs remain so old references keep working; each points at the framework that absorbed it.
|
|
97
|
+
|
|
98
|
+
| Analysis Type | Prompt File | Redirects to |
|
|
99
|
+
|-----------------------------|----------------------------------------|--------------------------------------------|
|
|
100
|
+
| Fundamental Analysis | `@prompts/fundamental-analysis.md` | `@prompts/stock-eval.md` |
|
|
101
|
+
| DCF Valuation | `@prompts/dcf-valuation.md` | `@prompts/stock-valuation.md` |
|
|
102
|
+
| Research Bundle | `@prompts/research-bundle.md` | `@prompts/full-report.md` |
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Usage Examples
|
|
108
|
+
|
|
109
|
+
### Verify a Report Before You Trust It
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
# Claim-level fact-check with citations — paste the report and its sources
|
|
113
|
+
> @prompts/fact-check.md [paste the report + the 10-K excerpt / IR release] Verify every number and add sources
|
|
114
|
+
|
|
115
|
+
# Then score the reasoning
|
|
116
|
+
> @prompts/result-validator.md [paste the corrected report and the fact-check ledger] Score confidence
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Basic Single Analysis
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
# Stock evaluation
|
|
123
|
+
> @prompts/stock-eval.md Evaluate Apple with Piotroski scoring
|
|
124
|
+
|
|
125
|
+
# Fundamental analysis
|
|
126
|
+
> @prompts/stock-eval.md Deep analysis of Microsoft's financials
|
|
127
|
+
|
|
128
|
+
# Technical analysis
|
|
129
|
+
> @prompts/technical-analysis.md What are the key chart levels for Tesla?
|
|
130
|
+
|
|
131
|
+
# Economics
|
|
132
|
+
> @prompts/economics-analysis.md Is a recession likely in the next 12 months?
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Financial Data & Filings
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
# Paste and analyze a 10-K for investment signals
|
|
139
|
+
> @prompts/financial-report-analyst.md
|
|
140
|
+
[paste 10-K text here]
|
|
141
|
+
Extract key accounting red flags and management quality indicators
|
|
142
|
+
|
|
143
|
+
# Generate a structured 10-K digest document (English or Traditional Chinese)
|
|
144
|
+
> @prompts/10k-digest.md
|
|
145
|
+
AAPL FY2024 --lang zh-TW --output aapl-10k-digest.md
|
|
146
|
+
|
|
147
|
+
# Analyze earnings call transcript
|
|
148
|
+
> @prompts/earnings-call-analysis.md
|
|
149
|
+
[paste earnings call transcript]
|
|
150
|
+
What's the management tone and guidance outlook?
|
|
151
|
+
|
|
152
|
+
# Upload or paste financial statements
|
|
153
|
+
> @prompts/stock-eval.md
|
|
154
|
+
[paste balance sheet and income statement]
|
|
155
|
+
Analyze debt levels and cash flow quality
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Stock Comparison & Multiple Analyses
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
# Compare two stocks
|
|
162
|
+
> @prompts/stock-valuation.md Compare AAPL vs MSFT valuations
|
|
163
|
+
|
|
164
|
+
# Multiple frameworks on one stock
|
|
165
|
+
> I need:
|
|
166
|
+
> 1. @prompts/stock-eval.md for NVDA
|
|
167
|
+
> 2. @prompts/technical-analysis.md for NVDA
|
|
168
|
+
> 3. @prompts/institutional-ownership.md for NVDA
|
|
169
|
+
|
|
170
|
+
# Portfolio review
|
|
171
|
+
> @prompts/portfolio-review.md Here's my holdings:
|
|
172
|
+
AAPL: 30%
|
|
173
|
+
MSFT: 25%
|
|
174
|
+
NVDA: 20%
|
|
175
|
+
JNJ: 15%
|
|
176
|
+
TSLA: 10%
|
|
177
|
+
> Is my allocation optimal?
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Specialized Analysis
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
# Is this dividend safe?
|
|
184
|
+
> @prompts/dividend-analysis.md JNJ dividend analysis
|
|
185
|
+
|
|
186
|
+
# Short squeeze potential
|
|
187
|
+
> @prompts/short-interest.md Is GME a short squeeze candidate?
|
|
188
|
+
|
|
189
|
+
# Bear case / counterevidence
|
|
190
|
+
> @prompts/bear-case.md Argue why TSLA is a bad hold and give a downside target
|
|
191
|
+
|
|
192
|
+
# Position plan for an existing holding
|
|
193
|
+
> @prompts/position-ladder.md I hold 20 AVGO at $128, now $122 — build a 60–100 share ladder plan
|
|
194
|
+
|
|
195
|
+
# Options strategy selection
|
|
196
|
+
> @prompts/options-analysis.md Find bullish option setups for AAPL earnings
|
|
197
|
+
|
|
198
|
+
# Competitive advantage
|
|
199
|
+
> @prompts/competitor-analysis.md Does Microsoft have a defensible moat in cloud?
|
|
200
|
+
|
|
201
|
+
# Insider trading signals
|
|
202
|
+
> @prompts/insider-trading.md What are insiders buying at TSLA?
|
|
203
|
+
|
|
204
|
+
# Smart money tracking
|
|
205
|
+
> @prompts/institutional-ownership.md Which institutional investors are buying tech stocks?
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Export as Professional HTML Report
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
# After any analysis, export to a styled HTML/PDF report
|
|
212
|
+
> @prompts/report-generator.md
|
|
213
|
+
[paste analysis output]
|
|
214
|
+
Generate an HTML report for AAPL
|
|
215
|
+
|
|
216
|
+
# Specify report type
|
|
217
|
+
> @prompts/report-generator.md
|
|
218
|
+
[paste fundamental-analysis output]
|
|
219
|
+
Executive summary report, HTML format
|
|
220
|
+
|
|
221
|
+
# Full report → HTML report
|
|
222
|
+
> @prompts/full-report.md Complete analysis on NVDA
|
|
223
|
+
> @prompts/report-generator.md Convert the above into a professional HTML report
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Full Report (Most Complete)
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
# Single command for comprehensive analysis
|
|
230
|
+
> @prompts/full-report.md Provide complete analysis on Apple (AAPL)
|
|
231
|
+
|
|
232
|
+
# Quick version (key metrics only)
|
|
233
|
+
> @prompts/full-report.md Quick analysis of Microsoft
|
|
234
|
+
|
|
235
|
+
# Comparison mode (multiple stocks)
|
|
236
|
+
> @prompts/full-report.md Compare AAPL, MSFT, and GOOGL
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Output Format & Standards
|
|
242
|
+
|
|
243
|
+
Every analysis follows this output structure:
|
|
244
|
+
|
|
245
|
+
### 1. Executive Summary
|
|
246
|
+
- Key findings and investment thesis
|
|
247
|
+
- Primary bullish or bearish drivers
|
|
248
|
+
|
|
249
|
+
### 2. Quantitative Analysis
|
|
250
|
+
- Specific numbers and metrics
|
|
251
|
+
- Year-over-year or period comparisons
|
|
252
|
+
- Industry/peer benchmarking
|
|
253
|
+
|
|
254
|
+
### 3. Qualitative Assessment
|
|
255
|
+
- Management quality
|
|
256
|
+
- Competitive position
|
|
257
|
+
- Market opportunity
|
|
258
|
+
|
|
259
|
+
### 4. Standardized Signal Block
|
|
260
|
+
|
|
261
|
+
All analyses end with this format:
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
╔══════════════════════════════════════════════╗
|
|
265
|
+
║ INVESTMENT SIGNAL ║
|
|
266
|
+
╠══════════════════════════════════════════════╣
|
|
267
|
+
║ Signal: BULLISH / NEUTRAL / BEARISH ║
|
|
268
|
+
║ Confidence: HIGH / MEDIUM / LOW ║
|
|
269
|
+
║ Horizon: SHORT / MEDIUM / LONG-TERM ║
|
|
270
|
+
║ Score: X.X / 10 ║
|
|
271
|
+
╠══════════════════════════════════════════════╣
|
|
272
|
+
║ Action: BUY / HOLD / SELL ║
|
|
273
|
+
║ Conviction: STRONG / MODERATE / WEAK ║
|
|
274
|
+
╚══════════════════════════════════════════════╝
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## Tips for Best Results
|
|
280
|
+
|
|
281
|
+
### 1. Use File References
|
|
282
|
+
```
|
|
283
|
+
# Good: explicit file reference
|
|
284
|
+
> @prompts/stock-valuation.md Analyze AAPL
|
|
285
|
+
|
|
286
|
+
# Also works: natural language (Gemini understands the context)
|
|
287
|
+
> What's a good valuation for Apple?
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### 2. Paste Financial Data Directly
|
|
291
|
+
```
|
|
292
|
+
# Paste balance sheet, income statement, or SEC filings
|
|
293
|
+
> @prompts/stock-eval.md
|
|
294
|
+
[paste your financial statements]
|
|
295
|
+
|
|
296
|
+
# Gemini will extract and analyze the data
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### 3. Combine Multiple Analyses
|
|
300
|
+
```
|
|
301
|
+
# Run multiple frameworks on the same stock
|
|
302
|
+
> First: @prompts/stock-eval.md for NVDA
|
|
303
|
+
> Then: @prompts/technical-analysis.md for NVDA
|
|
304
|
+
> Finally: @prompts/institutional-ownership.md for NVDA
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
### 4. Provide Context
|
|
308
|
+
```
|
|
309
|
+
# More specific = better results
|
|
310
|
+
> @prompts/stock-valuation.md
|
|
311
|
+
> Stock: MSFT
|
|
312
|
+
> Time horizon: 5 years
|
|
313
|
+
> Target market growth: 15% CAGR
|
|
314
|
+
> Assume WACC of 8.5%
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### 5. Ask Follow-Up Questions
|
|
318
|
+
```
|
|
319
|
+
# Gemini remembers the conversation context
|
|
320
|
+
> @prompts/stock-valuation.md Value AAPL
|
|
321
|
+
|
|
322
|
+
# Then follow up:
|
|
323
|
+
> What if iPhone sales growth slows to 5%?
|
|
324
|
+
> How sensitive is the valuation to margin assumptions?
|
|
325
|
+
> What's the downside scenario?
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
## Project Structure
|
|
331
|
+
|
|
332
|
+
```
|
|
333
|
+
InvestSkill/
|
|
334
|
+
├── prompts/ # 30 analysis frameworks (+ 3 aliases, 1 output tool)
|
|
335
|
+
│ ├── stock-eval.md
|
|
336
|
+
│ ├── stock-valuation.md
|
|
337
|
+
│ ├── fundamental-analysis.md
|
|
338
|
+
│ ├── technical-analysis.md
|
|
339
|
+
│ ├── dcf-valuation.md
|
|
340
|
+
│ ├── economics-analysis.md
|
|
341
|
+
│ ├── financial-report-analyst.md
|
|
342
|
+
│ ├── 10k-digest.md
|
|
343
|
+
│ ├── earnings-call-analysis.md
|
|
344
|
+
│ ├── insider-trading.md
|
|
345
|
+
│ ├── institutional-ownership.md
|
|
346
|
+
│ ├── competitor-analysis.md
|
|
347
|
+
│ ├── dividend-analysis.md
|
|
348
|
+
│ ├── short-interest.md
|
|
349
|
+
│ ├── options-analysis.md
|
|
350
|
+
│ ├── portfolio-review.md
|
|
351
|
+
│ ├── sector-analysis.md
|
|
352
|
+
│ ├── bear-case.md
|
|
353
|
+
│ ├── position-ladder.md
|
|
354
|
+
│ ├── research-bundle.md
|
|
355
|
+
│ ├── result-validator.md
|
|
356
|
+
│ ├── chart-master.md
|
|
357
|
+
│ ├── thesis-tracker.md
|
|
358
|
+
│ ├── etf-analysis.md
|
|
359
|
+
│ ├── earnings-preview.md
|
|
360
|
+
│ ├── tax-lens.md
|
|
361
|
+
│ ├── risk-stress-test.md
|
|
362
|
+
│ ├── learning-coach.md
|
|
363
|
+
│ ├── fact-check.md
|
|
364
|
+
│ └── report-generator.md # HTML/PDF report design system
|
|
365
|
+
├── plugins/ # Claude Code plugin (optional)
|
|
366
|
+
│ └── us-stock-analysis/
|
|
367
|
+
├── GEMINI.md # This file
|
|
368
|
+
├── README.md
|
|
369
|
+
└── CHANGELOG.md
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
## Troubleshooting
|
|
375
|
+
|
|
376
|
+
### Issue: Prompts not loading
|
|
377
|
+
```
|
|
378
|
+
# Make sure you're in the correct directory
|
|
379
|
+
pwd # should be /path/to/InvestSkill
|
|
380
|
+
|
|
381
|
+
# Try starting Gemini again
|
|
382
|
+
gemini
|
|
383
|
+
|
|
384
|
+
# Reference the file with full path
|
|
385
|
+
@prompts/stock-valuation.md
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
### Issue: Need more detail
|
|
389
|
+
```
|
|
390
|
+
# Be specific with your request
|
|
391
|
+
@prompts/stock-valuation.md Analyze AAPL with:
|
|
392
|
+
- 3-year DCF projection
|
|
393
|
+
- Comparable company multiples
|
|
394
|
+
- Sensitivity analysis
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
### Issue: Want different output format
|
|
398
|
+
```
|
|
399
|
+
# Ask Gemini to reformat
|
|
400
|
+
@prompts/stock-valuation.md Analyze AAPL, then format as:
|
|
401
|
+
1. Executive summary (1 paragraph)
|
|
402
|
+
2. Key metrics (table)
|
|
403
|
+
3. Investment signal
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
---
|
|
407
|
+
|
|
408
|
+
## Additional Resources
|
|
409
|
+
|
|
410
|
+
- **README.md** — Complete project overview and all platforms
|
|
411
|
+
- **prompts/** directory — All 30 analysis frameworks
|
|
412
|
+
- **plugins/** — Claude Code plugin configuration (if using Claude Code)
|
|
413
|
+
- **GitHub Issues** — Report bugs or suggest improvements
|
|
414
|
+
|
|
415
|
+
---
|
|
416
|
+
|
|
417
|
+
## Disclaimer
|
|
418
|
+
|
|
419
|
+
All analyses are for educational purposes only and do **not** constitute financial advice. Always consult a qualified financial advisor before making investment decisions. Past performance does not guarantee future results.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 yennanliu
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|