Skip to content
alyn
staskh

Spread Analysis skill

Analyze option spread strategies like vertical spreads, iron condors, straddles, strangles. Use when user asks about spreads, multi-leg strategies, vertical spread, iron condor, straddle, strangle, or strategy analysis.

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

Install Spread Analysis

Pick your agent. Every command is ready to paste.

$npx skills add staskh/trading_skills --skill spread-analysis

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 spread-analysis when the request matches its description.

03

Name it if needed

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

The skill itself

SKILL.md

FolderGitHub

Spread Analysis

Analyze multi-leg option strategies.

Instructions

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

uv run python scripts/spreads.py SYMBOL --strategy STRATEGY --expiry YYYY-MM-DD [options]

Strategies and Options

Vertical Spread (bull/bear call/put spread):

uv run python scripts/spreads.py AAPL --strategy vertical --expiry 2026-01-16 --type call --long-strike 180 --short-strike 185

Straddle (long call + long put at same strike):

uv run python scripts/spreads.py AAPL --strategy straddle --expiry 2026-01-16 --strike 180

Strangle (long call + long put at different strikes):

uv run python scripts/spreads.py AAPL --strategy strangle --expiry 2026-01-16 --put-strike 175 --call-strike 185

Iron Condor (sell strangle + buy wider strangle):

uv run python scripts/spreads.py AAPL --strategy iron-condor --expiry 2026-01-16 --put-short 175 --put-long 170 --call-short 185 --call-long 190

Output

Returns JSON with:

  • strategy - Strategy name and legs
  • cost - Net debit or credit
  • max_profit - Maximum potential profit
  • max_loss - Maximum potential loss
  • breakeven - Breakeven price(s)
  • probability - Estimated probability of profit (based on IV)

Explain the risk/reward and when this strategy is appropriate.

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 Spread Analysis

  • • 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 Spread Analysis

What does the Spread Analysis skill do?

Analyze option spread strategies like vertical spreads, iron condors, straddles, strangles. Use when user asks about spreads, multi-leg strategies, vertical spread, iron condor, straddle, strangle, or strategy analysis.

How do I install Spread Analysis?

Run "npx skills add staskh/trading_skills --skill spread-analysis" 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 Spread Analysis work in Cursor and Codex?

Yes. Spread Analysis 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 Spread Analysis free?

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

Who made Spread Analysis?

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

Similar skills. From other creators.