Add comprehensive morning report skill with collectors for calendar, email, tasks, infrastructure status, news, stocks, and weather. Add stock lookup skill for quote queries.
67 lines
1.4 KiB
Markdown
67 lines
1.4 KiB
Markdown
---
|
|
name: stock-lookup
|
|
description: Look up stock prices and quotes
|
|
---
|
|
|
|
# Stock Lookup Skill
|
|
|
|
Fetch real-time stock quotes and trends from Yahoo Finance.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
~/.claude/skills/stock-lookup/scripts/quote.py SYMBOL [SYMBOL...]
|
|
~/.claude/skills/stock-lookup/scripts/quote.py SYMBOL --trend [RANGE]
|
|
```
|
|
|
|
## Examples
|
|
|
|
Single stock:
|
|
```bash
|
|
~/.claude/skills/stock-lookup/scripts/quote.py CRWV
|
|
```
|
|
|
|
Multiple stocks:
|
|
```bash
|
|
~/.claude/skills/stock-lookup/scripts/quote.py AAPL MSFT GOOGL NVDA
|
|
```
|
|
|
|
3-month trend (default):
|
|
```bash
|
|
~/.claude/skills/stock-lookup/scripts/quote.py CRWV --trend
|
|
```
|
|
|
|
1-year trend:
|
|
```bash
|
|
~/.claude/skills/stock-lookup/scripts/quote.py NVDA --trend 1y
|
|
```
|
|
|
|
JSON output:
|
|
```bash
|
|
~/.claude/skills/stock-lookup/scripts/quote.py --json CRWV
|
|
~/.claude/skills/stock-lookup/scripts/quote.py --json --trend 6mo CRWV
|
|
```
|
|
|
|
## Options
|
|
|
|
| Option | Description |
|
|
|--------|-------------|
|
|
| `--trend [RANGE]` | Show trend with sparkline. Default: 3mo |
|
|
| `--json` | Output as JSON |
|
|
|
|
## Trend Ranges
|
|
|
|
`1mo`, `3mo`, `6mo`, `1y`, `2y`, `5y`, `ytd`, `max`
|
|
|
|
## Output
|
|
|
|
**Quote mode:** Symbol, name, price, daily change, market state
|
|
|
|
**Trend mode:** Start/end prices, change, high/low, ASCII sparkline
|
|
|
|
## Notes
|
|
|
|
- Uses Yahoo Finance unofficial API (no key required)
|
|
- Prices may be delayed 15-20 minutes for some exchanges
|
|
- Works for stocks, ETFs, indices (^GSPC, ^DJI), crypto (BTC-USD)
|