Tooluck logoTooluck
SKILL.md

yfinance-data

Agent skill fromhimself65/finance-skills

Fetch financial and market data with the yfinance Python library (Yahoo Finance). Use this skill whenever the user wants stock data: current quotes and price history, financial statements (income statement, balance sheet, cash flow), options chains, dividends and splits, earnings and analyst estimates, price targets and ratings, institutional and insider holdings, news, multi-ticker comparisons, stock screens, or sector and industry data. Use it even when the user gives only a ticker symbol (AAPL, MSFT, TSLA) and the intent has to be inferred. For earnings previews or recaps, estimate revisions, valuation, correlation, liquidity, or ETF premium analysis, prefer the dedicated skill.

How to install yfinance-data

install yfinance-data
# install the finance-skills pack with the skills CLI
npx skills add himself65/finance-skills

# or add only this skill to Claude Code: copy the folder

plugins/market-analysis/skills/yfinance-data/

# into

~/.claude/skills/yfinance-data/ (all projects)

.claude/skills/yfinance-data/ (one project)

plugins/market-analysis/skills/yfinance-data/SKILL.md

MITFull file
1# yfinance Data Skill
2
3If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the `!` wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.
4
5Fetches financial and market data from Yahoo Finance using the [yfinance](https://github.com/ranaroussi/yfinance) Python library.
6
7**Important**: yfinance is not affiliated with Yahoo, Inc. Data is for research and educational purposes.
8
9---
10
11## Step 1: Ensure yfinance Is Available
12
13**Current environment status:**
14
15```
16!`python3 -c "exec('try:\n import yfinance\n print(\'yfinance \' + yfinance.__version__ + \' installed\')\nexcept Exception:\n print(\'YFINANCE_NOT_INSTALLED\')')"`
17```
18
19If `YFINANCE_NOT_INSTALLED`, install it before running any code:
20
21```python
22import subprocess, sys
23subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "yfinance"])
24```
25
26If yfinance is already installed, skip the install step and proceed directly.
27
28---
29
30## Step 2: Identify What the User Needs
31
32Match the user's request to one or more data categories below, then use the corresponding code from `references/api_reference.md`.
33
34| User Request | Data Category | Primary Method |
35|---|---|---|
36| Stock price, quote | Current price | `ticker.info` or `ticker.fast_info` |
37| Price history, chart data | Historical OHLCV | `ticker.history()` or `yf.download()` |
38…

Excerpt shown under the repository's MIT license.

More skills in finance-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates