options-payoff
Agent skill fromhimself65/finance-skills
Render an interactive options payoff chart — expiry P&L plus Black-Scholes theoretical value — with sliders for strikes, premium, IV, DTE, and spot. Use this skill whenever the user describes or shares an options position or strategy and wants to see how it makes or loses money: vertical, calendar, diagonal, or ratio spreads, butterflies, condors and iron condors, straddles, strangles, covered calls, protective or naked puts, or any multi-leg structure. This includes pasted strikes, premiums, and expiries, requests like "show me the payoff" or "draw the P&L curve", and broker screenshots (IBKR, TastyTrade, Robinhood). Use it even when details are partial — defaults fill the gaps.
How to install options-payoff
npx skills add himself65/finance-skills# or add only this skill to Claude Code: copy the folder
plugins/market-analysis/skills/options-payoff/
# into
~/.claude/skills/options-payoff/ (all projects)
.claude/skills/options-payoff/ (one project)
1# Options Payoff Curve Skill23If 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.45Generates an interactive HTML chart using the host's available visualization tool, or a standalone HTML file in Codex, showing:6- **Expiry payoff curve** (dashed gray line) — intrinsic value at expiration7- **Theoretical value curve** (solid colored line) — Black-Scholes price at current DTE/IV8- Dynamic sliders for all key parameters9- Real-time stats: max profit, max loss, breakevens, current P&L at spot1011---1213## Step 1: Extract Strategy From User Input1415When the user provides a screenshot or text, extract:1617| Field | Where to find it | Default if missing |18|---|---|---|19| Strategy type | Title bar / leg description | "custom" |20| Underlying | Ticker symbol | SPX |21| Strike(s) | K1, K2, K3... in title or leg table | nearest round number |22| Premium paid/received | Filled price or avg price | 5.00 |23| Quantity | Position size | 1 |24| Multiplier | 100 for equity options, 100 for SPX | 100 |25| Expiry | Date in title | 30 DTE |26| Spot price | Current underlying price shown in the screenshot or text | live quote (see below); middle strike only if no quote is available |27| IV | Shown in greeks panel, or estimate from vega | 20% |28| Risk-free rate | — | 4.3% |29…
Excerpt shown under the repository's MIT license.
