New to Claude Skills? Learn how to install them →

netease-youdao on GitHub

Stock Information Explorer

Free

Analyze stocks with real-time data and technical indicators.

Get this skill

Free · Opens the source repo

What Stock Information Explorer does

Stock Information Explorer is a Python-based tool that leverages Yahoo Finance data to provide users with real-time stock quotes and comprehensive financial analysis. By utilizing the yfinance library, this skill enables users to fetch Open, High, Low, Close, Volume (OHLCV) data and compute various technical indicators locally, without the need for an API key. This means you can analyze stocks directly on your machine, ensuring privacy and control over your data.

The skill offers several commands that cater to different analytical needs. Users can obtain real-time stock prices, generate fundamental summaries, and visualize historical trends in ASCII format. For those looking for more in-depth analysis, the skill provides a professional analysis command that outputs detailed reports including technical indicators such as RSI, MACD, Bollinger Bands, VWAP, and ATR. Additionally, the one-shot report command synthesizes a comprehensive analysis that includes market trends, fundamentals, and technical signals, all in a text format.

This tool is particularly useful for developers, traders, and financial analysts who require quick access to stock data and technical analysis without the overhead of complex setups or external dependencies. The ability to generate reports locally makes it suitable for both casual investors and professionals who need reliable insights into stock performance.

However, users should be aware that the quality of the data can vary depending on the ticker and market conditions. All outputs are in text format, which may limit the visual representation of data compared to graphical interfaces. Overall, Stock Information Explorer is a straightforward and effective tool for anyone looking to enhance their stock analysis capabilities.

When to use it

Use this skill when you need real-time stock data and technical analysis without relying on external APIs.

When not to use it

Avoid this skill if you require advanced graphical data visualizations or if you prefer a web-based interface for stock analysis.

What you can build with it

Quick Stock Quotes

Use the `price` command to fetch real-time stock quotes for any ticker symbol, such as TSLA or AAPL.

In-Depth Technical Analysis

Run the `pro` command to generate detailed reports on stock performance with various technical indicators.

Comprehensive Financial Reports

Utilize the `report` command to get a one-shot summary that combines market trends, fundamentals, and technical signals.

How to install Stock Information Explorer

View source

1. Install with the skills CLI

npx skills add netease-youdao/lobsterai/stock-explorer --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by netease-youdao

Stock Information Explorer

This skill fetches OHLCV data from Yahoo Finance via yfinance and computes technical indicators locally (no API key required).

Dependencies

Python packages (install once):

pip install yfinance rich pandas plotille

Commands

IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.

1) Real-time Quotes (price)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" price TSLA
# shorthand
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" TSLA

2) Fundamental Summary (fundamentals)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" fundamentals NVDA

3) ASCII Trend (history)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" history AAPL 6mo

4) Professional Analysis (pro)

输出详细的技术指标文本分析报告。

# 基础分析(价格区间)
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" pro 002368.SZ 6mo

# 带技术指标
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" pro 002368.SZ 6mo --rsi --macd --bb

可用指标 (optional)

  • --rsi : RSI(14) - 超买超卖指标
  • --macd: MACD(12,26,9) - 趋势动量指标
  • --bb : Bollinger Bands(20,2) - 布林带
  • --vwap: VWAP - 成交量加权均价
  • --atr : ATR(14) - 平均真实波幅

5) One-shot Report (report)

输出综合分析报告(行情+基本面+技术信号)。

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" report 000660.KS 6mo

Ticker Examples

  • A-share: 600519.SS, 000001.SZ
  • US stocks: AAPL, NVDA, TSLA
  • HK stocks: 0700.HK, 9988.HK
  • Crypto: BTC-USD, ETH-KRW
  • Forex: USDKRW=X

Notes / Limitations

  • Indicators are computed locally from price data
  • Data quality may vary by ticker/market
  • 所有输出均为文本格式
  • Windows 环境中文显示需设置 export PYTHONIOENCODING=utf-8

Frequently asked questions about Stock Information Explorer

Similar skills