Skip to main content
skill CX Codex

stock-quote · staskh — Claude Code skill: real-time stock quotes

stock-quote is a Claude Code skill that fetches current price, volume, change, and 52-week range for any ticker.

MIT 138 installs ★ 417 updated 2026-10-21

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add staskh/trading_skills --skill stock-quote -a claude-code
Open on GitHub

What stock-quote does

stock-quote retrieves data from Yahoo Finance and returns current price, daily change percent, trading volume, market cap, PE ratio, dividend yield, and 52-week high/low. Results include a timestamp in America/New_York timezone and data delay information.

Run it with uv run python scripts/quote.py followed by the ticker symbol (AAPL, MSFT, SPY, etc.). If uv is not installed or pyproject.toml does not exist, use python instead. The skill requires yfinance as a dependency.

Output is formatted for readability with price movements above 2% highlighted.

What it helps with

  • check current stock price by ticker symbol
  • look up trading volume and market capitalization
  • see 52-week high/low and PE ratio
  • verify daily price change percentage

Example prompts for the agent

  • What's the current price of AAPL?
  • Show me the quote for Tesla including volume
  • Get stock data for the SPY index today

How to install stock-quote

1Skills CLI (Vercel)

npx skills add staskh/trading_skills --skill stock-quote -a claude-code

2Manually: put the files in place

~/.claude/skills/stock-quote/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/stock-quote/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about stock-quote

How do I install stock-quote for Claude Code?

Run npx skills add staskh/trading_skills --skill stock-quote -a claude-code, then open the skill config at ~/.claude/skills/stock-quote/SKILL.md.

What does stock-quote return?

Current price, daily change (percent and absolute), trading volume and average volume, market cap, PE ratio, dividend yield, 52-week high and low, plus a timestamp in New York timezone and data delay.

What dependency does stock-quote need?

It requires yfinance to fetch data from Yahoo Finance.

Source text

SKILL.md · MIT
---
name: stock-quote
description: Get real-time stock quote with price, volume, change, market cap, and 52-week range for any ticker symbol. Use when user asks about current stock price, quote, or basic stock info.
dependencies: ["trading-skills"]
---

# Stock Quote

Fetch current stock data from Yahoo Finance.

## Instructions

> **Note:** If `uv` is not installed or `pyproject.toml` is not found, replace `uv run python` with `python` in all commands below.

Run the quote script with the ticker symbol:

```bash
uv run python scripts/quote.py SYMBOL
```

Replace SYMBOL with the requested ticker (e.g., AAPL, MSFT, TSLA, SPY).

## Output

The script outputs JSON with:
- symbol, name, price, change, change_percent
- volume, avg_volume, market_cap
- high_52w, low_52w, pe_ratio, dividend_yield

Present the data in a readable format. Highlight significant moves (>2% change).

## Dependencies

- `yfinance`


## Timezone

All timestamps and time-based calculations must use the `America/New_York` timezone. All JSON output must include `generated_at` (NY time string) and `data_delay` fields.

© staskh · MIT · staskh/trading_skills

Similar skills

All skills for Finance and business →

stock-quote by other authors comes first.

stock-quote OctagonAI Skill for Claude Code and other AI agents: pulls real-time stock quotes through Octagon MCP. Returns price, volume, market cap, and moving averages for any ticker. CX Codex +1 697installs stock-analysis sundial-org stock-analysis is a Claude Code skill for analyzing stocks and crypto via Yahoo Finance, with portfolio tracking and periodic reports. CX Codex +1 163installs trader-entry Jake Schincariol trader-entry is a Claude Code skill that watches market bars and names an entry after a close above a level. It starts from requests to watch a ticker or check a breakout. CX Codex +1 ★ 9,067repo stars Wudao A-Share Stock Data MCP jcdreamjc Wudao A-Share Stock Data MCP connects AI agents to Chinese A-share market data with 63 tools for quotes, capital flow, and watchlists. Ideal for stock research without manual data scraping. CX Codex +1 ★ 11repo stars estimate-analysis himself65 estimate-analysis pulls sell-side EPS and revenue estimates for a ticker from Yahoo Finance and shows how the consensus moved over the last 7, 30, 60 and 90 days. CX Codex +1 3,600installs yahoo-finance 0juano Connects Yahoo Finance data to your coding agent to track stock quotes, credit metrics, LatAm FX, and macro indicators. Useful for debt analysis and financial research. CX Codex +1 502installs Stock Screener xang1234 Stock Screener — an MCP server for daily stock screening, relative-strength ratings, and market breadth across 12 countries. Operates without any API keys. CX Codex +1 ★ 424repo stars

From the same set12

The whole set →
technical-analysis technical-analysis is a Claude Code skill that calculates stock indicators and signals. It activates for requests about RSI, MACD, moving averages, or chart analysis. CX Codex +1 618installs news-sentiment The news-sentiment skill fetches recent stock news from Yahoo Finance and gauges market sentiment. Use it to find out what's in the headlines and how it might sway the stock price. CX Codex +1 253installs fundamentals The fundamentals skill retrieves financial statements, earnings, and company metrics from Yahoo Finance. Use it when an agent needs fundamental analysis for a ticker. CX Codex +1 188installs greeks Skill computes option Greeks (delta, gamma, theta, vega) and implied volatility using the Black-Scholes model. Use it to understand how your position reacts to price changes, time decay, and shifts in volatility. CX Codex +1 137installs report-stock report-stock builds stock research reports in Markdown or PDF covering market trends, PMCC viability, and company fundamentals. CX Codex +1 123installs option-chain Skill pulls option chain data from Yahoo Finance: calls and puts with strike prices, bids, asks, volumes, and implied volatility. Use it to check option quotes for a specific expiration date. CX Codex +1 117installs risk-assessment risk-assessment calculates risk metrics for stocks and positions: volatility, beta, Value at Risk, and maximum drawdown. Use it to assess position risk and determine sizing. CX Codex +1 113installs ib-portfolio ib-portfolio — a skill for Claude Code fetches open positions and holdings from Interactive Brokers. The agent invokes it when asked about current stocks, portfolio value, or account assets. CX Codex +1 107installs

Project sponsors

Companies that keep this analytics open