Skip to content
alyn
staskh

Option Chain skill

Get option chain data including calls and puts with strikes, bids, asks, volume, open interest, and implied volatility. Use when user asks about options, option prices, calls, puts, or option chain for a specific expiration date.

$npx skills add staskh/trading_skills --skill option-chain
View this skill on GitHubstaskh/trading_skills/.claude/skills/option-chain/SKILL.md
Pack stars
407
Pack installs
3.1k
Alyn Score
51/99
Updated
2 days ago
License
MIT
– views – installs via Alyn

Install Option Chain

Pick your agent. Every command is ready to paste.

$npx skills add staskh/trading_skills --skill option-chain

The 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 option-chain when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the option-chain skill”. In Codex, type $option-chain.

The skill itself

SKILL.md

FolderGitHub

Option Chain

Fetch option chain data from Yahoo Finance for a specific expiration date.

Instructions

Note: If uv is not installed or pyproject.toml is not found, replace uv run python with python in all commands below.

First, get available expiration dates:

uv run python scripts/options.py SYMBOL --expiries

Then fetch the chain for a specific expiry:

uv run python scripts/options.py SYMBOL --expiry YYYY-MM-DD

Arguments

  • SYMBOL - Ticker symbol (e.g., AAPL, SPY, TSLA)
  • --expiries - List available expiration dates only
  • --expiry YYYY-MM-DD - Fetch chain for specific date

Output

Returns JSON with:

  • calls - Array of call options with strike, bid, ask, volume, openInterest, impliedVolatility
  • puts - Array of put options with same fields
  • underlying_price - Current stock price for reference

Present data as a table. Highlight high volume/OI strikes and notable IV levels.

Dependencies

  • pandas
  • 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 Option Chain

  • • 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 Option Chain

What does the Option Chain skill do?

Get option chain data including calls and puts with strikes, bids, asks, volume, open interest, and implied volatility. Use when user asks about options, option prices, calls, puts, or option chain for a specific expiration date.

How do I install Option Chain?

Run "npx skills add staskh/trading_skills --skill option-chain" 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 Option Chain work in Cursor and Codex?

Yes. Option Chain 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 Option Chain free?

Option Chain is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.

Who made Option Chain?

Option Chain is published by staskh in the staskh/trading_skills repository, together with 29 other skills.

Similar skills. From other creators.