Learn-skills.dev yahoo-finance
install
source · Clone the upstream repo
git clone https://github.com/NeverSight/learn-skills.dev
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/NeverSight/learn-skills.dev "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/skills-md/0juano/agent-skills/yahoo-finance" ~/.claude/skills/neversight-learn-skills-dev-yahoo-finance && rm -rf "$T"
manifest:
data/skills-md/0juano/agent-skills/yahoo-finance/SKILL.mdsource content
Yahoo Finance CLI
Financial data terminal powered by Yahoo Finance. All commands via the
yf script.
Setup
The script is at
{baseDir}/scripts/yf. It uses uv run --script with inline PEP 723 metadata — dependencies install automatically on first run.
chmod +x {baseDir}/scripts/yf
Commands
| Command | Purpose | Example |
|---|---|---|
| Quick price + change + volume | |
| Detailed quote (52w, PE, yield) | |
| Side-by-side comparison table | |
| Credit analysis: leverage, coverage, debt maturity | |
| Morning macro dashboard (UST, DXY, VIX, oil, gold, BTC, ARS) | |
| LatAm FX rates (ARS, BRL, CLP, MXN, COP) | |
| ETF top holdings + fund data | |
| Price history (1d/5d/1mo/3mo/6mo/1y/ytd/max) | |
| Full financials (IS, BS, CF) | |
| Recent news headlines | |
| Find tickers | |
All commands support
--json for machine-readable output.
When to Use Which Command
- Morning check:
→ get UST yields, DXY, VIX, commodities, BTC, ARS in one shotyf macro - Quick look:
→ fast price/change/volumeyf price TICKER - Deep dive equity:
→yf quote
→yf fundamentalsyf history - Credit analysis:
→ leverage ratios, interest coverage, debt breakdownyf credit TICKER - EM/LatAm FX:
→ all major LatAm pairs vs USDyf fx - ETF research:
→ top holdings, AUM, expense ratioyf flows ETF - Comparison:
→ side-by-side for relative valueyf compare
Error Handling
The script handles bad tickers, missing data, and rate limits gracefully with clear error messages. If Yahoo Finance rate-limits, wait a moment and retry.
Output
By default, output uses Rich tables for clean terminal display. Add
--json to any command for structured JSON output suitable for piping or further processing.