
A straightforward wrapper around Yahoo Finance for pulling current stock quotes. You pass it a ticker symbol and get back the essentials: price, volume, market cap, 52-week range, and percentage changes. The script outputs structured JSON that you can format however you want, and it flags notable moves above 2%. Everything runs in Eastern Time, which matters for market hours context. It's built on yfinance and works with uv or standard Python. Not fancy, just reliable stock data when someone asks "what's Apple trading at" or wants a quick snapshot of any publicly traded company.
$ npx -y skills add staskh/trading_skills --skill stock-quote --agent claude-codeInstalls into .claude/skills of the current project.
Fetch current stock data from Yahoo Finance.
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
Run the quote script with the ticker symbol:
uv run python scripts/quote.py SYMBOL
Replace SYMBOL with the requested ticker (e.g., AAPL, MSFT, TSLA, SPY).
The script outputs JSON with:
price/change belong to (YYYY-MM-DD, from Yahoo's regular-session timestamp; null if Yahoo omits it)PRE, REGULAR, POST, CLOSED (also PREPRE/POSTPOST){price, change, change_percent, time} for extended-hours trading, or null. change is measured from the last regular close; time is the ET timestamp of that printPresent the data in a readable format. Highlight significant moves (>2% change).
Sponsors