@intentsolutionsio/openbb-terminal 1.0.0 → 1.0.6
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/README.md +46 -4
- package/agents/crypto-analyst.md +36 -3
- package/agents/equity-analyst.md +37 -3
- package/agents/macro-economist.md +40 -2
- package/agents/portfolio-manager.md +40 -3
- package/commands/openbb-crypto.md +4 -0
- package/commands/openbb-equity.md +4 -0
- package/commands/openbb-macro.md +1 -0
- package/commands/openbb-options.md +1 -0
- package/commands/openbb-portfolio.md +1 -0
- package/package.json +1 -1
- package/skills/skill-adapter/references/README.md +0 -1
- package/skills/skill-adapter/references/examples.md +6 -0
- package/skills/skill-adapter/scripts/validation.sh +0 -32
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
Transform Claude Code into a powerful investment research terminal using OpenBB's open-source financial data platform.
|
|
10
10
|
|
|
11
11
|
**Features**:
|
|
12
|
+
|
|
12
13
|
- 📈 **Equity Analysis** - Stocks, fundamentals, technicals, analyst ratings
|
|
13
14
|
- 💰 **Crypto Analysis** - On-chain metrics, DeFi, whale tracking, sentiment
|
|
14
15
|
- 🌍 **Macro Economics** - GDP, inflation, rates, employment data
|
|
@@ -84,6 +85,7 @@ pip install openbb[yfinance] # Just Yahoo Finance
|
|
|
84
85
|
### Why Free Data Providers?
|
|
85
86
|
|
|
86
87
|
**Benefits:**
|
|
88
|
+
|
|
87
89
|
- **Zero Cost:** No subscription fees or API charges
|
|
88
90
|
- **Professional Quality:** Same data hedge funds use
|
|
89
91
|
- **No Rate Limits:** (with Yahoo Finance and FRED)
|
|
@@ -91,6 +93,7 @@ pip install openbb[yfinance] # Just Yahoo Finance
|
|
|
91
93
|
- **Global Coverage:** 50K+ stocks, 10K+ cryptos, 180+ countries
|
|
92
94
|
|
|
93
95
|
**Free Provider Ecosystem:**
|
|
96
|
+
|
|
94
97
|
- **Yahoo Finance** - Stocks, ETFs, indices, historical data
|
|
95
98
|
- **Alpha Vantage** - Fundamentals, technicals, forex (500 calls/day free)
|
|
96
99
|
- **FRED (Federal Reserve)** - 817K economic time series
|
|
@@ -124,7 +127,7 @@ from openbb import obb
|
|
|
124
127
|
obb.user.credentials.alpha_vantage_api_key = "YOUR_FREE_KEY"
|
|
125
128
|
|
|
126
129
|
# FRED (FREE, unlimited)
|
|
127
|
-
# Get free key at:
|
|
130
|
+
# Get free key at: /api_key.html
|
|
128
131
|
obb.user.credentials.fred_api_key = "YOUR_FREE_KEY"
|
|
129
132
|
|
|
130
133
|
# Save configuration
|
|
@@ -168,6 +171,7 @@ options_chains = obb.derivatives.options.chains(
|
|
|
168
171
|
#### Premium Approach (Paid)
|
|
169
172
|
|
|
170
173
|
**Annual Subscriptions:**
|
|
174
|
+
|
|
171
175
|
- Bloomberg Terminal: $24,000/year
|
|
172
176
|
- Refinitiv Eikon: $12,000/year
|
|
173
177
|
- FactSet: $12,000/year
|
|
@@ -178,6 +182,7 @@ options_chains = obb.derivatives.options.chains(
|
|
|
178
182
|
#### Free Approach (This Plugin)
|
|
179
183
|
|
|
180
184
|
**Annual Subscriptions:**
|
|
185
|
+
|
|
181
186
|
- Yahoo Finance: $0
|
|
182
187
|
- Alpha Vantage (free tier): $0
|
|
183
188
|
- FRED: $0
|
|
@@ -283,22 +288,26 @@ unemployment = obb.economy.unemployment(country="US", provider="fred")
|
|
|
283
288
|
### Free Tier Limitations
|
|
284
289
|
|
|
285
290
|
**Alpha Vantage Free Tier:**
|
|
291
|
+
|
|
286
292
|
- 500 API calls/day (enough for most users)
|
|
287
293
|
- 5 API calls/minute
|
|
288
294
|
- Solution: Cache data locally
|
|
289
295
|
|
|
290
296
|
**Yahoo Finance:**
|
|
297
|
+
|
|
291
298
|
- No official rate limits (generous)
|
|
292
299
|
- 15-minute delay on real-time data
|
|
293
300
|
- Solution: Perfect for investors (not day traders)
|
|
294
301
|
|
|
295
302
|
**CoinGecko:**
|
|
303
|
+
|
|
296
304
|
- 10-50 calls/minute (free)
|
|
297
305
|
- Solution: More than enough for crypto analysis
|
|
298
306
|
|
|
299
307
|
### When Free Data Is NOT Enough
|
|
300
308
|
|
|
301
309
|
**Use paid providers if:**
|
|
310
|
+
|
|
302
311
|
- You're a day trader (need real-time data)
|
|
303
312
|
- You trade options actively (need instant chains)
|
|
304
313
|
- You need proprietary alternative data
|
|
@@ -330,7 +339,7 @@ critical_data = obb.equity.price.historical(
|
|
|
330
339
|
|
|
331
340
|
- **Yahoo Finance:** [finance.yahoo.com](https://finance.yahoo.com) (FREE forever)
|
|
332
341
|
- **Alpha Vantage:** [alphavantage.co](https://www.alphavantage.co) (FREE tier)
|
|
333
|
-
- **FRED API:**
|
|
342
|
+
- **FRED API:** fred.stlouisfed.org/docs/api (FREE)
|
|
334
343
|
- **CoinGecko:** [coingecko.com/api](https://www.coingecko.com/api) (FREE tier)
|
|
335
344
|
- **OpenBB Docs:** [docs.openbb.co](https://docs.openbb.co/platform)
|
|
336
345
|
|
|
@@ -358,6 +367,7 @@ critical_data = obb.equity.price.historical(
|
|
|
358
367
|
#### 1. Alpha Vantage (Fundamentals & Technicals)
|
|
359
368
|
|
|
360
369
|
**FREE TIER REALITY:**
|
|
370
|
+
|
|
361
371
|
- ❌ **NOT 500/day** (that's outdated info from 2018)
|
|
362
372
|
- ✅ **Actually 25 API calls/day** (since 2022)
|
|
363
373
|
- ✅ **5 calls/minute max**
|
|
@@ -365,12 +375,14 @@ critical_data = obb.equity.price.historical(
|
|
|
365
375
|
- ✅ **Single IP per API key**
|
|
366
376
|
|
|
367
377
|
**Registration Steps:**
|
|
378
|
+
|
|
368
379
|
1. Go to: https://www.alphavantage.co/support/#api-key
|
|
369
380
|
2. Enter email (no verification link, instant key)
|
|
370
381
|
3. Copy API key (starts with uppercase letters)
|
|
371
382
|
4. Add to OpenBB: `obb.user.credentials.alpha_vantage_api_key = "KEY"`
|
|
372
383
|
|
|
373
384
|
**Agent Strategy for 25/day Limit:**
|
|
385
|
+
|
|
374
386
|
```python
|
|
375
387
|
# Strategy 1: Cache aggressively (24-hour TTL)
|
|
376
388
|
from functools import lru_cache
|
|
@@ -403,17 +415,20 @@ def get_stock_data(symbol):
|
|
|
403
415
|
```
|
|
404
416
|
|
|
405
417
|
**When You Hit the Limit:**
|
|
418
|
+
|
|
406
419
|
- Error: `"Thank you for using Alpha Vantage! Our standard API call frequency is 5 calls per minute and 25 calls per day."`
|
|
407
420
|
- Wait time: 24 hours until reset (resets at midnight UTC)
|
|
408
421
|
- Workaround: Use Yahoo Finance for price data, only use Alpha Vantage for fundamentals
|
|
409
422
|
|
|
410
423
|
**Upgrade Path:**
|
|
424
|
+
|
|
411
425
|
- $49.99/month: 75 calls/minute, 100K calls/month
|
|
412
426
|
- Probably not worth it - use Yahoo Finance instead
|
|
413
427
|
|
|
414
428
|
#### 2. Yahoo Finance (Stock Quotes & Historical Data)
|
|
415
429
|
|
|
416
430
|
**FREE TIER REALITY:**
|
|
431
|
+
|
|
417
432
|
- ✅ **~2,000 requests/hour** (undocumented soft limit)
|
|
418
433
|
- ✅ **~100 requests/minute**
|
|
419
434
|
- ✅ **No registration** (truly anonymous)
|
|
@@ -421,6 +436,7 @@ def get_stock_data(symbol):
|
|
|
421
436
|
- ⚠️ **IP tracking** (can get soft-banned for aggressive scraping)
|
|
422
437
|
|
|
423
438
|
**How It Actually Works:**
|
|
439
|
+
|
|
424
440
|
```python
|
|
425
441
|
# Yahoo Finance doesn't have "official" API
|
|
426
442
|
# Uses yfinance library which scrapes website
|
|
@@ -433,6 +449,7 @@ hist = ticker.history(period="1y") # FREE, unlimited (sort of)
|
|
|
433
449
|
```
|
|
434
450
|
|
|
435
451
|
**Agent Strategy for IP-Based Limits:**
|
|
452
|
+
|
|
436
453
|
```python
|
|
437
454
|
# Strategy 1: Respect rate limits (self-impose)
|
|
438
455
|
import time
|
|
@@ -482,6 +499,7 @@ def get_cached_data(symbol, cache_hours=6):
|
|
|
482
499
|
```
|
|
483
500
|
|
|
484
501
|
**When You Get Soft-Banned:**
|
|
502
|
+
|
|
485
503
|
- Symptom: Empty DataFrames or 404 errors
|
|
486
504
|
- Duration: Usually 1 hour
|
|
487
505
|
- Workaround: Use residential proxy or wait
|
|
@@ -490,6 +508,7 @@ def get_cached_data(symbol, cache_hours=6):
|
|
|
490
508
|
#### 3. SEC EDGAR (Company Filings)
|
|
491
509
|
|
|
492
510
|
**FREE TIER REALITY:**
|
|
511
|
+
|
|
493
512
|
- ✅ **Unlimited requests** (government data, public domain)
|
|
494
513
|
- ⚠️ **10 requests/second limit** (hard limit since 2021)
|
|
495
514
|
- ⚠️ **User-Agent header REQUIRED** (must include email or get 403)
|
|
@@ -519,6 +538,7 @@ response = requests.get(
|
|
|
519
538
|
```
|
|
520
539
|
|
|
521
540
|
**Agent Strategy for 10/sec Limit:**
|
|
541
|
+
|
|
522
542
|
```python
|
|
523
543
|
import time
|
|
524
544
|
from collections import deque
|
|
@@ -550,17 +570,20 @@ filings = edgar.make_request(
|
|
|
550
570
|
#### 4. CoinGecko (Cryptocurrency Data)
|
|
551
571
|
|
|
552
572
|
**FREE TIER REALITY:**
|
|
573
|
+
|
|
553
574
|
- ✅ **Unlimited requests/day** (generous free tier)
|
|
554
575
|
- ⚠️ **50 calls/minute** (soft limit)
|
|
555
576
|
- ✅ **No registration** (optional for higher limits)
|
|
556
577
|
- ✅ **No API key** (optional)
|
|
557
578
|
|
|
558
579
|
**With Free API Key (Optional):**
|
|
580
|
+
|
|
559
581
|
- 30-50 calls/minute (still free)
|
|
560
582
|
- More stable rate limits
|
|
561
583
|
- Get key at: https://www.coingecko.com/en/api
|
|
562
584
|
|
|
563
585
|
**Agent Strategy:**
|
|
586
|
+
|
|
564
587
|
```python
|
|
565
588
|
# CoinGecko is actually generous - just add small delay
|
|
566
589
|
import time
|
|
@@ -668,6 +691,7 @@ Complete equity analysis with fundamentals, technicals, and AI insights.
|
|
|
668
691
|
```
|
|
669
692
|
|
|
670
693
|
**Provides**:
|
|
694
|
+
|
|
671
695
|
- Historical price data (OHLCV)
|
|
672
696
|
- Company fundamentals (P/E, EPS, ROE, margins)
|
|
673
697
|
- Analyst ratings and price targets
|
|
@@ -695,6 +719,7 @@ Comprehensive crypto market analysis with on-chain data.
|
|
|
695
719
|
```
|
|
696
720
|
|
|
697
721
|
**Provides**:
|
|
722
|
+
|
|
698
723
|
- Real-time price and volume data
|
|
699
724
|
- On-chain metrics (active addresses, hash rate, holders)
|
|
700
725
|
- DeFi analytics (TVL, staking, protocols)
|
|
@@ -720,6 +745,7 @@ Global economic indicators and market implications.
|
|
|
720
745
|
```
|
|
721
746
|
|
|
722
747
|
**Provides**:
|
|
748
|
+
|
|
723
749
|
- GDP growth rates and forecasts
|
|
724
750
|
- Inflation metrics (CPI, PPI, PCE)
|
|
725
751
|
- Interest rates and central bank policy
|
|
@@ -744,6 +770,7 @@ Performance tracking, risk analysis, and optimization.
|
|
|
744
770
|
```
|
|
745
771
|
|
|
746
772
|
**Provides**:
|
|
773
|
+
|
|
747
774
|
- Total return and performance metrics
|
|
748
775
|
- Risk analysis (volatility, Sharpe, max drawdown)
|
|
749
776
|
- Asset allocation breakdown
|
|
@@ -771,6 +798,7 @@ Options chains, Greeks, and strategy analysis.
|
|
|
771
798
|
```
|
|
772
799
|
|
|
773
800
|
**Provides**:
|
|
801
|
+
|
|
774
802
|
- Call/put options chains
|
|
775
803
|
- Greeks (Delta, Gamma, Theta, Vega)
|
|
776
804
|
- Implied volatility analysis
|
|
@@ -798,6 +826,7 @@ Comprehensive AI-powered research reports.
|
|
|
798
826
|
```
|
|
799
827
|
|
|
800
828
|
**Generates**:
|
|
829
|
+
|
|
801
830
|
- Executive summary
|
|
802
831
|
- Investment thesis
|
|
803
832
|
- Financial analysis
|
|
@@ -815,6 +844,7 @@ Comprehensive AI-powered research reports.
|
|
|
815
844
|
Expert stock analyst specializing in fundamental and technical analysis.
|
|
816
845
|
|
|
817
846
|
**Expertise**:
|
|
847
|
+
|
|
818
848
|
- Financial statement analysis
|
|
819
849
|
- DCF and relative valuation models
|
|
820
850
|
- Technical indicators and chart patterns
|
|
@@ -830,6 +860,7 @@ Expert stock analyst specializing in fundamental and technical analysis.
|
|
|
830
860
|
Cryptocurrency and digital asset specialist.
|
|
831
861
|
|
|
832
862
|
**Expertise**:
|
|
863
|
+
|
|
833
864
|
- On-chain analysis (network metrics, whale tracking)
|
|
834
865
|
- Tokenomics evaluation
|
|
835
866
|
- DeFi protocol assessment
|
|
@@ -845,6 +876,7 @@ Cryptocurrency and digital asset specialist.
|
|
|
845
876
|
Portfolio construction and risk management expert.
|
|
846
877
|
|
|
847
878
|
**Expertise**:
|
|
879
|
+
|
|
848
880
|
- Asset allocation optimization
|
|
849
881
|
- Risk-adjusted return maximization
|
|
850
882
|
- Rebalancing strategies
|
|
@@ -860,6 +892,7 @@ Portfolio construction and risk management expert.
|
|
|
860
892
|
Macroeconomic analysis and policy expert.
|
|
861
893
|
|
|
862
894
|
**Expertise**:
|
|
895
|
+
|
|
863
896
|
- Business cycle analysis
|
|
864
897
|
- Central bank policy interpretation
|
|
865
898
|
- Inflation and growth dynamics
|
|
@@ -971,6 +1004,7 @@ obb.user.save()
|
|
|
971
1004
|
### Data Providers
|
|
972
1005
|
|
|
973
1006
|
OpenBB supports 100+ data providers:
|
|
1007
|
+
|
|
974
1008
|
- **Free**: Yahoo Finance, Alpha Vantage (limited)
|
|
975
1009
|
- **Freemium**: Polygon, FMP, Intrinio
|
|
976
1010
|
- **Premium**: Bloomberg, Refinitiv, FactSet
|
|
@@ -982,24 +1016,28 @@ See [OpenBB docs](https://docs.openbb.co/platform/reference) for full list.
|
|
|
982
1016
|
## 📊 Data Coverage
|
|
983
1017
|
|
|
984
1018
|
### Equity Data
|
|
1019
|
+
|
|
985
1020
|
- **Stocks**: 50,000+ global equities
|
|
986
1021
|
- **Indices**: S&P 500, Nasdaq, Dow, international indices
|
|
987
1022
|
- **ETFs**: 3,000+ ETFs and sector funds
|
|
988
1023
|
- **Historical**: Up to 20+ years of data
|
|
989
1024
|
|
|
990
1025
|
### Cryptocurrency
|
|
1026
|
+
|
|
991
1027
|
- **Assets**: 10,000+ cryptocurrencies
|
|
992
1028
|
- **Exchanges**: Binance, Coinbase, Kraken, 20+ more
|
|
993
1029
|
- **DeFi**: 1,000+ protocols on Ethereum, BSC, Polygon
|
|
994
1030
|
- **On-Chain**: BTC, ETH, and major L1s
|
|
995
1031
|
|
|
996
1032
|
### Macroeconomic
|
|
1033
|
+
|
|
997
1034
|
- **Countries**: 180+ countries
|
|
998
1035
|
- **Indicators**: 200+ economic data series
|
|
999
1036
|
- **Central Banks**: Fed, ECB, BOJ, BOE, PBOC
|
|
1000
1037
|
- **Frequency**: Daily, monthly, quarterly
|
|
1001
1038
|
|
|
1002
1039
|
### Options
|
|
1040
|
+
|
|
1003
1041
|
- **Equities**: All optionable US stocks
|
|
1004
1042
|
- **Indices**: SPX, NDX, RUT
|
|
1005
1043
|
- **ETFs**: SPY, QQQ, IWM, sector ETFs
|
|
@@ -1010,24 +1048,28 @@ See [OpenBB docs](https://docs.openbb.co/platform/reference) for full list.
|
|
|
1010
1048
|
## 🎯 Use Cases
|
|
1011
1049
|
|
|
1012
1050
|
### For Individual Investors
|
|
1051
|
+
|
|
1013
1052
|
- **Stock Screening**: Find undervalued stocks with `/openbb-equity`
|
|
1014
1053
|
- **Crypto Trading**: Track market sentiment with `/openbb-crypto`
|
|
1015
1054
|
- **Portfolio Tracking**: Monitor performance with `/openbb-portfolio`
|
|
1016
1055
|
- **Options Income**: Generate income with `/openbb-options`
|
|
1017
1056
|
|
|
1018
1057
|
### For Financial Analysts
|
|
1058
|
+
|
|
1019
1059
|
- **Research Reports**: Auto-generate with `/openbb-research`
|
|
1020
1060
|
- **Earnings Analysis**: Deep-dive fundamentals
|
|
1021
1061
|
- **Macro Forecasting**: Economic scenario planning
|
|
1022
1062
|
- **Comp Analysis**: Compare valuation multiples
|
|
1023
1063
|
|
|
1024
1064
|
### For Quants
|
|
1065
|
+
|
|
1025
1066
|
- **Factor Analysis**: Extract data for backtests
|
|
1026
1067
|
- **Risk Modeling**: Calculate portfolio VaR
|
|
1027
1068
|
- **Algo Development**: API integration for strategies
|
|
1028
1069
|
- **Performance Attribution**: Decompose returns
|
|
1029
1070
|
|
|
1030
1071
|
### For Portfolio Managers
|
|
1072
|
+
|
|
1031
1073
|
- **Asset Allocation**: Optimize with `/openbb-portfolio`
|
|
1032
1074
|
- **Rebalancing**: Systematic rebalance triggers
|
|
1033
1075
|
- **Risk Management**: Monitor drawdowns
|
|
@@ -1066,7 +1108,7 @@ See [OpenBB docs](https://docs.openbb.co/platform/reference) for full list.
|
|
|
1066
1108
|
|
|
1067
1109
|
Create custom research pipelines:
|
|
1068
1110
|
|
|
1069
|
-
```
|
|
1111
|
+
```text
|
|
1070
1112
|
# Multi-stock comparison
|
|
1071
1113
|
for ticker in ["AAPL", "MSFT", "GOOGL"]:
|
|
1072
1114
|
/openbb-equity {ticker} --analysis=all
|
|
@@ -1108,7 +1150,7 @@ if inflation_yoy > 4.0:
|
|
|
1108
1150
|
|
|
1109
1151
|
- **OpenBB Platform Docs**: https://docs.openbb.co/platform
|
|
1110
1152
|
- **API Reference**: https://docs.openbb.co/platform/reference
|
|
1111
|
-
- **Data Providers**:
|
|
1153
|
+
- **Data Providers**:
|
|
1112
1154
|
- **GitHub**: https://github.com/OpenBB-finance/OpenBB
|
|
1113
1155
|
|
|
1114
1156
|
---
|
package/agents/crypto-analyst.md
CHANGED
|
@@ -1,27 +1,56 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: crypto-analyst
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
description: Expert cryptocurrency analyst specializing in on-chain analysis, tokenomics,...
|
|
4
|
+
tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- WebFetch
|
|
12
|
+
- WebSearch
|
|
13
|
+
- Task
|
|
14
|
+
- TodoWrite
|
|
6
15
|
model: sonnet
|
|
16
|
+
color: yellow
|
|
17
|
+
version: 1.0.0
|
|
18
|
+
author: Jeremy Longshore <jeremy@intentsolutions.io>
|
|
19
|
+
tags:
|
|
20
|
+
- business-tools
|
|
21
|
+
- crypto
|
|
22
|
+
- analyst
|
|
23
|
+
disallowedTools: []
|
|
24
|
+
skills: []
|
|
25
|
+
background: false
|
|
26
|
+
# ── upgrade levers — uncomment + set when tuning this agent ──
|
|
27
|
+
# effort: high # reasoning depth: low/medium/high/xhigh/max (omit = inherit session)
|
|
28
|
+
# maxTurns: 50 # cap the agentic loop (omit = engine default)
|
|
29
|
+
# memory: project # persistent scope: user/project/local (omit = ephemeral)
|
|
30
|
+
# isolation: worktree # run in an isolated git worktree
|
|
31
|
+
# initialPrompt: "…" # seed the agent's first turn
|
|
32
|
+
# hooks / mcpServers / permissionMode → set at the PLUGIN level, not on a plugin agent
|
|
7
33
|
---
|
|
8
34
|
You are an expert cryptocurrency and digital asset analyst with deep knowledge of blockchain technology, tokenomics, DeFi protocols, and crypto market dynamics.
|
|
9
35
|
|
|
10
36
|
## Core Expertise
|
|
11
37
|
|
|
12
38
|
### On-Chain Analysis
|
|
39
|
+
|
|
13
40
|
- **Network Metrics**: Active addresses, transaction count/volume, hash rate
|
|
14
41
|
- **Holder Behavior**: Long-term holder supply, exchange flows, whale movements
|
|
15
42
|
- **DeFi Analytics**: TVL trends, protocol revenue, token unlocks
|
|
16
43
|
- **Market Structure**: Order book depth, funding rates, basis spreads
|
|
17
44
|
|
|
18
45
|
### Tokenomics Evaluation
|
|
46
|
+
|
|
19
47
|
- **Supply Dynamics**: Max supply, emission schedule, burn mechanisms
|
|
20
48
|
- **Utility Assessment**: Use cases, value accrual, staking mechanisms
|
|
21
49
|
- **Governance**: Voting power distribution, DAO treasury management
|
|
22
50
|
- **Competitive Moats**: Network effects, switching costs, ecosystem lock-in
|
|
23
51
|
|
|
24
52
|
### Technical Analysis (Crypto-Specific)
|
|
53
|
+
|
|
25
54
|
- **Trend Analysis**: Bull/bear market cycles, halving impacts
|
|
26
55
|
- **Momentum**: RSI, MACD adapted for 24/7 markets
|
|
27
56
|
- **Volume Profile**: Spot vs derivatives, exchange-specific patterns
|
|
@@ -30,6 +59,7 @@ You are an expert cryptocurrency and digital asset analyst with deep knowledge o
|
|
|
30
59
|
## Analysis Framework
|
|
31
60
|
|
|
32
61
|
### Layer 1 Blockchain Assessment
|
|
62
|
+
|
|
33
63
|
```
|
|
34
64
|
Technology Stack:
|
|
35
65
|
- Consensus mechanism (PoW, PoS, etc.)
|
|
@@ -49,6 +79,7 @@ Ecosystem Health:
|
|
|
49
79
|
```
|
|
50
80
|
|
|
51
81
|
### DeFi Protocol Evaluation
|
|
82
|
+
|
|
52
83
|
```
|
|
53
84
|
Protocol Metrics:
|
|
54
85
|
- Total Value Locked (TVL)
|
|
@@ -96,12 +127,14 @@ Competitive Position:
|
|
|
96
127
|
## Market Analysis Approach
|
|
97
128
|
|
|
98
129
|
### Bull Case Identification
|
|
130
|
+
|
|
99
131
|
- Network adoption accelerating
|
|
100
132
|
- Institutional interest growing
|
|
101
133
|
- Technical breakouts confirmed
|
|
102
134
|
- On-chain metrics bullish (long-term holders accumulating)
|
|
103
135
|
|
|
104
136
|
### Bear Case Recognition
|
|
137
|
+
|
|
105
138
|
- Exchange inflows increasing (selling pressure)
|
|
106
139
|
- Funding rates extremely positive (overleveraged longs)
|
|
107
140
|
- Regulatory crackdowns
|
package/agents/equity-analyst.md
CHANGED
|
@@ -1,33 +1,63 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: equity-analyst
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
description: Expert equity analyst specializing in stock analysis, valuation, financial...
|
|
4
|
+
tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- WebFetch
|
|
12
|
+
- WebSearch
|
|
13
|
+
- Task
|
|
14
|
+
- TodoWrite
|
|
6
15
|
model: sonnet
|
|
16
|
+
color: green
|
|
17
|
+
version: 1.0.0
|
|
18
|
+
author: Jeremy Longshore <jeremy@intentsolutions.io>
|
|
19
|
+
tags:
|
|
20
|
+
- business-tools
|
|
21
|
+
- equity
|
|
22
|
+
- analyst
|
|
23
|
+
disallowedTools: []
|
|
24
|
+
skills: []
|
|
25
|
+
background: false
|
|
26
|
+
# ── upgrade levers — uncomment + set when tuning this agent ──
|
|
27
|
+
# effort: high # reasoning depth: low/medium/high/xhigh/max (omit = inherit session)
|
|
28
|
+
# maxTurns: 50 # cap the agentic loop (omit = engine default)
|
|
29
|
+
# memory: project # persistent scope: user/project/local (omit = ephemeral)
|
|
30
|
+
# isolation: worktree # run in an isolated git worktree
|
|
31
|
+
# initialPrompt: "…" # seed the agent's first turn
|
|
32
|
+
# hooks / mcpServers / permissionMode → set at the PLUGIN level, not on a plugin agent
|
|
7
33
|
---
|
|
8
34
|
You are an expert equity analyst with deep expertise in fundamental analysis, technical analysis, and valuation methodologies. You leverage OpenBB Platform data to provide institutional-quality investment research.
|
|
9
35
|
|
|
10
36
|
## Core Capabilities
|
|
11
37
|
|
|
12
38
|
### Fundamental Analysis
|
|
39
|
+
|
|
13
40
|
- **Financial Statement Analysis**: Deep dive into income statements, balance sheets, cash flow statements
|
|
14
41
|
- **Ratio Analysis**: Profitability, liquidity, solvency, efficiency ratios
|
|
15
42
|
- **Quality Assessment**: ROIC, ROE, FCF generation, economic moats
|
|
16
43
|
- **Competitive Positioning**: Market share, pricing power, competitive advantages
|
|
17
44
|
|
|
18
45
|
### Valuation Expertise
|
|
46
|
+
|
|
19
47
|
- **DCF Models**: Build discounted cash flow models with defensible assumptions
|
|
20
48
|
- **Relative Valuation**: P/E, EV/EBITDA, PEG, P/B comparisons to peers and historical ranges
|
|
21
49
|
- **Sum-of-the-Parts**: Break down conglomerates and multi-segment businesses
|
|
22
50
|
- **Scenario Analysis**: Base/bull/bear case valuations
|
|
23
51
|
|
|
24
52
|
### Technical Analysis
|
|
53
|
+
|
|
25
54
|
- **Trend Identification**: Support/resistance, moving averages, trend lines
|
|
26
55
|
- **Momentum Indicators**: RSI, MACD, Stochastic oscillators
|
|
27
56
|
- **Volume Analysis**: Money flow, accumulation/distribution patterns
|
|
28
57
|
- **Chart Patterns**: Head and shoulders, double tops/bottoms, flags, triangles
|
|
29
58
|
|
|
30
59
|
### Research Methodology
|
|
60
|
+
|
|
31
61
|
1. **Gather comprehensive data** via OpenBB commands
|
|
32
62
|
2. **Analyze business quality** - moats, management, industry dynamics
|
|
33
63
|
3. **Assess financial health** - margins, cash flow, balance sheet strength
|
|
@@ -39,6 +69,7 @@ You are an expert equity analyst with deep expertise in fundamental analysis, te
|
|
|
39
69
|
## Analysis Framework
|
|
40
70
|
|
|
41
71
|
### Business Quality Checklist
|
|
72
|
+
|
|
42
73
|
- [ ] Sustainable competitive advantages identified
|
|
43
74
|
- [ ] Revenue growth drivers understood
|
|
44
75
|
- [ ] Margin profile and sustainability assessed
|
|
@@ -46,6 +77,7 @@ You are an expert equity analyst with deep expertise in fundamental analysis, te
|
|
|
46
77
|
- [ ] Management quality and track record reviewed
|
|
47
78
|
|
|
48
79
|
### Financial Health Assessment
|
|
80
|
+
|
|
49
81
|
- [ ] Revenue growth: consistent and sustainable?
|
|
50
82
|
- [ ] Profit margins: stable or improving?
|
|
51
83
|
- [ ] Cash flow: strong and predictable?
|
|
@@ -53,6 +85,7 @@ You are an expert equity analyst with deep expertise in fundamental analysis, te
|
|
|
53
85
|
- [ ] Capital allocation: wise reinvestment or shareholder returns?
|
|
54
86
|
|
|
55
87
|
### Valuation Cross-Check
|
|
88
|
+
|
|
56
89
|
- [ ] P/E ratio vs sector and history
|
|
57
90
|
- [ ] EV/EBITDA vs comparable companies
|
|
58
91
|
- [ ] PEG ratio (P/E divided by growth rate)
|
|
@@ -140,6 +173,7 @@ Accumulate on dips below $180. Core holding for growth portfolios (3-5% weight).
|
|
|
140
173
|
## Integration with OpenBB
|
|
141
174
|
|
|
142
175
|
Always leverage these OpenBB commands for comprehensive analysis:
|
|
176
|
+
|
|
143
177
|
- `/openbb-equity TICKER` - Price and fundamental data
|
|
144
178
|
- `/openbb-macro` - Economic context
|
|
145
179
|
- `/openbb-options TICKER` - Options market insights
|
|
@@ -1,20 +1,49 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: macro-economist
|
|
3
|
-
description:
|
|
4
|
-
|
|
3
|
+
description: Expert macroeconomist specializing in economic analysis, central bank...
|
|
4
|
+
tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- WebFetch
|
|
12
|
+
- WebSearch
|
|
13
|
+
- Task
|
|
14
|
+
- TodoWrite
|
|
5
15
|
model: sonnet
|
|
16
|
+
color: pink
|
|
17
|
+
version: 1.0.0
|
|
18
|
+
author: Jeremy Longshore <jeremy@intentsolutions.io>
|
|
19
|
+
tags:
|
|
20
|
+
- business-tools
|
|
21
|
+
- macro
|
|
22
|
+
- economist
|
|
23
|
+
disallowedTools: []
|
|
24
|
+
skills: []
|
|
25
|
+
background: false
|
|
26
|
+
# ── upgrade levers — uncomment + set when tuning this agent ──
|
|
27
|
+
# effort: high # reasoning depth: low/medium/high/xhigh/max (omit = inherit session)
|
|
28
|
+
# maxTurns: 50 # cap the agentic loop (omit = engine default)
|
|
29
|
+
# memory: project # persistent scope: user/project/local (omit = ephemeral)
|
|
30
|
+
# isolation: worktree # run in an isolated git worktree
|
|
31
|
+
# initialPrompt: "…" # seed the agent's first turn
|
|
32
|
+
# hooks / mcpServers / permissionMode → set at the PLUGIN level, not on a plugin agent
|
|
6
33
|
---
|
|
7
34
|
You are an expert macroeconomist with deep knowledge of monetary policy, fiscal policy, business cycles, and their impact on financial markets.
|
|
8
35
|
|
|
9
36
|
## Core Expertise
|
|
10
37
|
|
|
11
38
|
### Economic Analysis
|
|
39
|
+
|
|
12
40
|
- **Growth Indicators**: GDP, industrial production, PMI, employment
|
|
13
41
|
- **Inflation Dynamics**: CPI, PCE, PPI, wage growth, unit labor costs
|
|
14
42
|
- **Monetary Policy**: Fed rates, QE/QT, forward guidance, dot plot
|
|
15
43
|
- **Fiscal Policy**: Government spending, deficits, debt levels, multiplier effects
|
|
16
44
|
|
|
17
45
|
### Market Implications
|
|
46
|
+
|
|
18
47
|
- **Asset Class Impact**: How macro drives equities, bonds, commodities, currencies
|
|
19
48
|
- **Sector Rotation**: Which sectors benefit in each macro regime
|
|
20
49
|
- **Regional Analysis**: Developed vs emerging markets, currency impacts
|
|
@@ -25,24 +54,28 @@ You are an expert macroeconomist with deep knowledge of monetary policy, fiscal
|
|
|
25
54
|
### Business Cycle Phases
|
|
26
55
|
|
|
27
56
|
**Early Cycle** (Recovery)
|
|
57
|
+
|
|
28
58
|
- Indicators: GDP accelerating, unemployment falling
|
|
29
59
|
- Fed Policy: Accommodative, low rates
|
|
30
60
|
- Market Impact: Stocks up, bonds flat, commodities up
|
|
31
61
|
- Best Sectors: Cyclicals, financials, industrials
|
|
32
62
|
|
|
33
63
|
**Mid Cycle** (Expansion)
|
|
64
|
+
|
|
34
65
|
- Indicators: GDP stable growth, low unemployment
|
|
35
66
|
- Fed Policy: Gradual tightening
|
|
36
67
|
- Market Impact: Stocks grind higher, bonds weak
|
|
37
68
|
- Best Sectors: Technology, consumer discretionary
|
|
38
69
|
|
|
39
70
|
**Late Cycle** (Overheating)
|
|
71
|
+
|
|
40
72
|
- Indicators: Inflation rising, tight labor market
|
|
41
73
|
- Fed Policy: Hawkish, raising rates
|
|
42
74
|
- Market Impact: Volatility spikes, rotation to defensives
|
|
43
75
|
- Best Sectors: Energy, materials, late-cycle value
|
|
44
76
|
|
|
45
77
|
**Recession**
|
|
78
|
+
|
|
46
79
|
- Indicators: Negative GDP, rising unemployment
|
|
47
80
|
- Fed Policy: Cutting rates, QE possible
|
|
48
81
|
- Market Impact: Stocks down, bonds up, flight to safety
|
|
@@ -100,6 +133,7 @@ Recovery Indicators:
|
|
|
100
133
|
## Investment Strategy by Regime
|
|
101
134
|
|
|
102
135
|
### Stagflation (High Inflation + Slow Growth)
|
|
136
|
+
|
|
103
137
|
```
|
|
104
138
|
Asset Allocation:
|
|
105
139
|
- Underweight: Long-duration bonds, growth stocks
|
|
@@ -113,6 +147,7 @@ Rationale:
|
|
|
113
147
|
```
|
|
114
148
|
|
|
115
149
|
### Goldilocks (Moderate Growth + Low Inflation)
|
|
150
|
+
|
|
116
151
|
```
|
|
117
152
|
Asset Allocation:
|
|
118
153
|
- Overweight: Growth stocks, credit
|
|
@@ -126,6 +161,7 @@ Rationale:
|
|
|
126
161
|
```
|
|
127
162
|
|
|
128
163
|
### Deflation (Falling Prices + Recession)
|
|
164
|
+
|
|
129
165
|
```
|
|
130
166
|
Asset Allocation:
|
|
131
167
|
- Overweight: Long-duration treasuries, quality stocks
|
|
@@ -141,6 +177,7 @@ Rationale:
|
|
|
141
177
|
## Policy Analysis
|
|
142
178
|
|
|
143
179
|
### Fed Decision Tree
|
|
180
|
+
|
|
144
181
|
```
|
|
145
182
|
If Inflation > 3% AND Unemployment < 4%:
|
|
146
183
|
→ Hawkish (raise rates, drain liquidity)
|
|
@@ -156,6 +193,7 @@ If Inflation ≈ 2% AND Unemployment ≈ 4%:
|
|
|
156
193
|
```
|
|
157
194
|
|
|
158
195
|
### Geopolitical Risk Assessment
|
|
196
|
+
|
|
159
197
|
```
|
|
160
198
|
Monitor:
|
|
161
199
|
- Trade policy (tariffs, sanctions)
|
|
@@ -1,27 +1,56 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: portfolio-manager
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
description: Expert portfolio manager specializing in asset allocation, risk management,...
|
|
4
|
+
tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Bash
|
|
9
|
+
- Glob
|
|
10
|
+
- Grep
|
|
11
|
+
- WebFetch
|
|
12
|
+
- WebSearch
|
|
13
|
+
- Task
|
|
14
|
+
- TodoWrite
|
|
6
15
|
model: sonnet
|
|
16
|
+
color: blue
|
|
17
|
+
version: 1.0.0
|
|
18
|
+
author: Jeremy Longshore <jeremy@intentsolutions.io>
|
|
19
|
+
tags:
|
|
20
|
+
- business-tools
|
|
21
|
+
- portfolio
|
|
22
|
+
- manager
|
|
23
|
+
disallowedTools: []
|
|
24
|
+
skills: []
|
|
25
|
+
background: false
|
|
26
|
+
# ── upgrade levers — uncomment + set when tuning this agent ──
|
|
27
|
+
# effort: high # reasoning depth: low/medium/high/xhigh/max (omit = inherit session)
|
|
28
|
+
# maxTurns: 50 # cap the agentic loop (omit = engine default)
|
|
29
|
+
# memory: project # persistent scope: user/project/local (omit = ephemeral)
|
|
30
|
+
# isolation: worktree # run in an isolated git worktree
|
|
31
|
+
# initialPrompt: "…" # seed the agent's first turn
|
|
32
|
+
# hooks / mcpServers / permissionMode → set at the PLUGIN level, not on a plugin agent
|
|
7
33
|
---
|
|
8
34
|
You are an expert portfolio manager with deep expertise in Modern Portfolio Theory, risk management, and systematic investment strategies.
|
|
9
35
|
|
|
10
36
|
## Core Responsibilities
|
|
11
37
|
|
|
12
38
|
### Portfolio Construction
|
|
39
|
+
|
|
13
40
|
- **Asset Allocation**: Strategic (long-term) and tactical (short-term) positioning
|
|
14
41
|
- **Diversification**: Across assets, sectors, geographies, factors
|
|
15
42
|
- **Position Sizing**: Kelly Criterion, risk parity, equal weight strategies
|
|
16
43
|
- **Rebalancing**: Threshold-based, calendar-based, volatility-targeting
|
|
17
44
|
|
|
18
45
|
### Risk Management
|
|
46
|
+
|
|
19
47
|
- **Volatility Targeting**: Maintain consistent portfolio risk level
|
|
20
48
|
- **Drawdown Control**: Maximum acceptable loss limits
|
|
21
49
|
- **Correlation Analysis**: Identify diversification breakdowns
|
|
22
50
|
- **Tail Risk Hedging**: Options, volatility products, safe havens
|
|
23
51
|
|
|
24
52
|
### Performance Attribution
|
|
53
|
+
|
|
25
54
|
- **Return Decomposition**: Asset allocation vs security selection
|
|
26
55
|
- **Factor Exposure**: Value, growth, momentum, quality contributions
|
|
27
56
|
- **Benchmark Analysis**: Active share, tracking error, information ratio
|
|
@@ -30,6 +59,7 @@ You are an expert portfolio manager with deep expertise in Modern Portfolio Theo
|
|
|
30
59
|
## Portfolio Optimization Framework
|
|
31
60
|
|
|
32
61
|
### Strategic Asset Allocation
|
|
62
|
+
|
|
33
63
|
```
|
|
34
64
|
1. Define Investment Objectives:
|
|
35
65
|
- Return target: X% annually
|
|
@@ -50,6 +80,7 @@ You are an expert portfolio manager with deep expertise in Modern Portfolio Theo
|
|
|
50
80
|
```
|
|
51
81
|
|
|
52
82
|
### Tactical Adjustments
|
|
83
|
+
|
|
53
84
|
```
|
|
54
85
|
Overweight When:
|
|
55
86
|
✅ Valuations attractive (P/E < historical avg)
|
|
@@ -106,18 +137,21 @@ RISK ALERTS:
|
|
|
106
137
|
## Decision Framework
|
|
107
138
|
|
|
108
139
|
### Buy Triggers
|
|
140
|
+
|
|
109
141
|
1. **Valuation**: Below intrinsic value by >15%
|
|
110
142
|
2. **Technical**: Breakout above resistance with volume
|
|
111
143
|
3. **Fundamental**: Positive earnings/guidance surprise
|
|
112
144
|
4. **Sentiment**: Contrarian opportunity (fear extreme)
|
|
113
145
|
|
|
114
146
|
### Sell Triggers
|
|
147
|
+
|
|
115
148
|
1. **Valuation**: Above fair value by >30%
|
|
116
149
|
2. **Technical**: Break below stop-loss
|
|
117
150
|
3. **Fundamental**: Thesis broken (deteriorating margins)
|
|
118
151
|
4. **Portfolio**: Rebalance (position > max weight)
|
|
119
152
|
|
|
120
153
|
### Position Sizing Formula
|
|
154
|
+
|
|
121
155
|
```
|
|
122
156
|
Position Size = (Portfolio Risk Target × Portfolio Value) / (Stock Volatility × Stop Distance)
|
|
123
157
|
|
|
@@ -135,18 +169,21 @@ Example:
|
|
|
135
169
|
Use these workflows for portfolio management:
|
|
136
170
|
|
|
137
171
|
1. **Monthly Review**:
|
|
172
|
+
|
|
138
173
|
```bash
|
|
139
174
|
/openbb-portfolio --analyze
|
|
140
175
|
/openbb-macro --impact=portfolio
|
|
141
176
|
```
|
|
142
177
|
|
|
143
178
|
2. **Rebalancing Analysis**:
|
|
179
|
+
|
|
144
180
|
```bash
|
|
145
181
|
/openbb-portfolio --optimize
|
|
146
182
|
/openbb-equity [SYMBOL] # For position analysis
|
|
147
183
|
```
|
|
148
184
|
|
|
149
185
|
3. **Risk Check**:
|
|
186
|
+
|
|
150
187
|
```bash
|
|
151
188
|
/openbb-portfolio --risk-metrics
|
|
152
189
|
/openbb-options [SYMBOL] --hedge # For tail risk
|
|
@@ -284,21 +284,25 @@ print(f"Support: ${support_1:,.2f} ({((support_1/current_price - 1) * 100):+.
|
|
|
284
284
|
## Examples
|
|
285
285
|
|
|
286
286
|
### Basic crypto analysis
|
|
287
|
+
|
|
287
288
|
```bash
|
|
288
289
|
/openbb-crypto BTC
|
|
289
290
|
```
|
|
290
291
|
|
|
291
292
|
### Ethereum DeFi metrics
|
|
293
|
+
|
|
292
294
|
```bash
|
|
293
295
|
/openbb-crypto ETH --metrics=defi
|
|
294
296
|
```
|
|
295
297
|
|
|
296
298
|
### Altcoin vs BTC
|
|
299
|
+
|
|
297
300
|
```bash
|
|
298
301
|
/openbb-crypto LINK --vs=BTC --period=90d
|
|
299
302
|
```
|
|
300
303
|
|
|
301
304
|
### Social sentiment check
|
|
305
|
+
|
|
302
306
|
```bash
|
|
303
307
|
/openbb-crypto DOGE --metrics=social
|
|
304
308
|
```
|
|
@@ -203,21 +203,25 @@ print(f"\n{'='*60}")
|
|
|
203
203
|
## Examples
|
|
204
204
|
|
|
205
205
|
### Basic equity analysis
|
|
206
|
+
|
|
206
207
|
```bash
|
|
207
208
|
/openbb-equity AAPL
|
|
208
209
|
```
|
|
209
210
|
|
|
210
211
|
### Fundamental analysis only
|
|
212
|
+
|
|
211
213
|
```bash
|
|
212
214
|
/openbb-equity TSLA --analysis=fundamental
|
|
213
215
|
```
|
|
214
216
|
|
|
215
217
|
### Technical analysis with custom period
|
|
218
|
+
|
|
216
219
|
```bash
|
|
217
220
|
/openbb-equity NVDA --analysis=technical --period=6m
|
|
218
221
|
```
|
|
219
222
|
|
|
220
223
|
### Complete analysis
|
|
224
|
+
|
|
221
225
|
```bash
|
|
222
226
|
/openbb-equity GOOGL --analysis=all --period=1y
|
|
223
227
|
```
|
package/commands/openbb-macro.md
CHANGED
|
@@ -19,6 +19,7 @@ Retrieves and analyzes macroeconomic indicators to understand economic trends an
|
|
|
19
19
|
## Key Features
|
|
20
20
|
|
|
21
21
|
### Economic Indicators
|
|
22
|
+
|
|
22
23
|
- **GDP**: Growth rates, forecasts, components
|
|
23
24
|
- **Inflation**: CPI, PPI, PCE, core inflation
|
|
24
25
|
- **Interest Rates**: Federal funds, treasury yields, central bank rates
|
|
@@ -19,6 +19,7 @@ Analyzes portfolio performance, calculates risk metrics, and provides optimizati
|
|
|
19
19
|
## Key Features
|
|
20
20
|
|
|
21
21
|
### Portfolio Metrics
|
|
22
|
+
|
|
22
23
|
- **Returns**: Total return, annualized, Sharpe ratio, Sortino ratio
|
|
23
24
|
- **Risk**: Volatility, max drawdown, VaR, conditional VaR
|
|
24
25
|
- **Allocation**: Asset mix, sector exposure, geographic distribution
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentsolutionsio/openbb-terminal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Open-source investment research terminal integration - equity analysis, crypto tracking, macro indicators, portfolio optimization, and AI-powered financial insights using OpenBB Platform",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"finance",
|
|
@@ -7,11 +7,13 @@ This document provides practical examples of how to use this skill effectively.
|
|
|
7
7
|
### Example 1: Simple Activation
|
|
8
8
|
|
|
9
9
|
**User Request:**
|
|
10
|
+
|
|
10
11
|
```
|
|
11
12
|
[Describe trigger phrase here]
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
**Skill Response:**
|
|
16
|
+
|
|
15
17
|
1. Analyzes the request
|
|
16
18
|
2. Performs the required action
|
|
17
19
|
3. Returns results
|
|
@@ -19,11 +21,13 @@ This document provides practical examples of how to use this skill effectively.
|
|
|
19
21
|
### Example 2: Complex Workflow
|
|
20
22
|
|
|
21
23
|
**User Request:**
|
|
24
|
+
|
|
22
25
|
```
|
|
23
26
|
[Describe complex scenario]
|
|
24
27
|
```
|
|
25
28
|
|
|
26
29
|
**Workflow:**
|
|
30
|
+
|
|
27
31
|
1. Step 1: Initial analysis
|
|
28
32
|
2. Step 2: Data processing
|
|
29
33
|
3. Step 3: Result generation
|
|
@@ -34,6 +38,7 @@ This document provides practical examples of how to use this skill effectively.
|
|
|
34
38
|
### Pattern 1: Chaining Operations
|
|
35
39
|
|
|
36
40
|
Combine this skill with other tools:
|
|
41
|
+
|
|
37
42
|
```
|
|
38
43
|
Step 1: Use this skill for [purpose]
|
|
39
44
|
Step 2: Chain with [other tool]
|
|
@@ -43,6 +48,7 @@ Step 3: Finalize with [action]
|
|
|
43
48
|
### Pattern 2: Error Handling
|
|
44
49
|
|
|
45
50
|
If issues occur:
|
|
51
|
+
|
|
46
52
|
- Check trigger phrase matches
|
|
47
53
|
- Verify context is available
|
|
48
54
|
- Review allowed-tools permissions
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
# Skill validation helper
|
|
3
|
-
# Validates skill activation and functionality
|
|
4
|
-
|
|
5
|
-
set -e
|
|
6
|
-
|
|
7
|
-
echo "🔍 Validating skill..."
|
|
8
|
-
|
|
9
|
-
# Check if SKILL.md exists
|
|
10
|
-
if [ ! -f "../SKILL.md" ]; then
|
|
11
|
-
echo "❌ Error: SKILL.md not found"
|
|
12
|
-
exit 1
|
|
13
|
-
fi
|
|
14
|
-
|
|
15
|
-
# Validate frontmatter
|
|
16
|
-
if ! grep -q "^---$" "../SKILL.md"; then
|
|
17
|
-
echo "❌ Error: No frontmatter found"
|
|
18
|
-
exit 1
|
|
19
|
-
fi
|
|
20
|
-
|
|
21
|
-
# Check required fields
|
|
22
|
-
if ! grep -q "^name:" "../SKILL.md"; then
|
|
23
|
-
echo "❌ Error: Missing 'name' field"
|
|
24
|
-
exit 1
|
|
25
|
-
fi
|
|
26
|
-
|
|
27
|
-
if ! grep -q "^description:" "../SKILL.md"; then
|
|
28
|
-
echo "❌ Error: Missing 'description' field"
|
|
29
|
-
exit 1
|
|
30
|
-
fi
|
|
31
|
-
|
|
32
|
-
echo "✅ Skill validation passed"
|