Install Price History
Pick your agent. Every command is ready to paste.
npx skills add staskh/trading_skills --skill price-historyThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads price-history when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the price-history skill”. In Codex, type $price-history.
Price History
Fetch historical OHLCV data from Yahoo Finance.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/history.py SYMBOL [--period PERIOD] [--interval INTERVAL]
Arguments
SYMBOL- Ticker symbol--period- Time period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max (default: 1mo)--interval- Data interval: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo (default: 1d)
Output
Returns JSON with:
symbol- Tickerperiod- Requested periodinterval- Data intervaldata- Array of {date, open, high, low, close, volume}
Summarize key price movements, highs/lows, and trends.
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.
Tips for Price History
- • Start a fresh session after installing so your agent picks up the new skill.
- • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Price History
What does the Price History skill do?
Get historical price data (OHLCV) for a stock. Use when user asks about price history, historical data, past performance, price over time, or needs data for chart analysis.
How do I install Price History?
Run "npx skills add staskh/trading_skills --skill price-history" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Price History work in Cursor and Codex?
Yes. Price History uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Price History free?
Price History is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Price History?
Price History is published by staskh in the staskh/trading_skills repository, together with 29 other skills.





