Wraps the yfinance Python library to pull stock prices, historical data, financial statements, options chains, analyst recommendations, and pretty much anything Yahoo Finance exposes. The skill document is thorough: it checks if yfinance is installed, maps user requests to the right API methods (ticker.info for quotes, ticker.history for charts, ticker.option_chain for derivatives), and includes handling for timezones and rate limits. Good for quick market data queries without setting up your own financial API. Just know that yfinance is unofficial and Yahoo can change things without warning, so treat this as research grade rather than production infrastructure.

skills.sh installs
4.2K
GitHub stars
3.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add himself65/finance-skills --skill yfinance-data --agent claude-code

Installs into .claude/skills of the current project.

Files

yfinance Data Skill

If 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.

Fetches financial and market data from Yahoo Finance using the yfinance Python library.

Important: yfinance is not affiliated with Yahoo, Inc. Data is for research and educational purposes.


Step 1: Ensure yfinance Is Available

Current environment status:

!`python3 -c "exec('try:\n import yfinance\n print(\'yfinance \' + yfinance.__version__ + \' installed\')\nexcept Exception:\n print(\'YFINANCE_NOT_INSTALLED\')')"`

If YFINANCE_NOT_INSTALLED, install it before running any code:

import subprocess, sys
subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "yfinance"])

If yfinance is already installed, skip the install step and proceed directly.


Step 2: Identify What the User Needs

Sponsors

Details

Repository
github.com/himself65/finance-skills
Categories
Python, CLI & Terminal, Finance & Trading
First seen
Apr 16, 2026

More from himself65/finance-skills

All 25

Recommended

More Python
1dotnet avatartechnology-selectiondotnet/skillsGuides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Frame4.1Kskills.sh installs
2starchild-ai-agent avatarpreview-devstarchild-ai-agent/official-skillsFrontend & fullstack development with live preview. Use when the user wants to build a web page, frontend app, fullstack project, or any web UI — including Reac4Kskills.sh installs
3zc277584121 avatarraw-video-processingzc277584121/marketing-skillsPost-process raw screen recordings by removing silent segments and applying speed adjustments. Uses FFmpeg-based Python scripts to optimize video pacing automat3.9Kskills.sh installs
4tradermonty avataroptions-strategy-advisortradermonty/claude-trading-skillsOptions trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and 3.9Kskills.sh installs
5github avatareval-driven-devgithub/awesome-copilotImprove AI application with evaluation-driven development. Define eval criteria, instrument the application, build golden datasets, observe and evaluate applica3.9Kskills.sh installs
6freshtechbro avatarblender-web-pipelinefreshtechbro/claudedesignskillsBlender to web export workflows for 3D models and animations. Use this skill when exporting Blender models to glTF for web, optimizing 3D assets for Three.js or3.9Kskills.sh installs