Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

options-payoff

Skill by HKUDS

Explains option P&L analysis methods and provides an options_payoff tool for payoff curves, breakevens and Greeks-based scenarios. Aimed at researchers and backtesters working in the Vibe-Trading framework.

  • Score 91
  • 40k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install options-payoff

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HKUDS/Vibe-Trading /tmp/Vibe-Trading && mkdir -p ~/.claude/skills && cp -r /tmp/Vibe-Trading/agent/src/skills/options-payoff ~/.claude/skills/options-payoff

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install options-payoff in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

options-payoff is an agent skill that sets out a methodology for analysing option strategies within the Vibe-Trading quantitative framework. It covers P&L curves for single-leg and multi-leg option portfolios, Black-Scholes pricing and Greeks, implied volatility inversion, and strategy selection support. The skill includes reference material for many strategy types, from vertical spreads and straddles to iron condors, calendar spreads and collars.

For production calculations, the skill points to a built-in options_payoff tool. It takes signed legs, an entry spot and days to expiry, and optionally premiums, multiplier, commission, chart bounds and IV scenarios. It returns an expiry curve, a spot by IV scenario matrix, and breakeven and max-risk results. The source says it is for research and backtesting only and should not output live trading instructions. It is aimed at users doing option strategy research in that framework.

Written from the project's SKILL.md and checked against it.

What it can do

  • options_payoffReturns an expiry curve, a spot by IV scenario matrix, and breakeven and max-risk results.
  • Single and multi-leg P&L curvesGenerates P&L curves for single-leg and multi-leg option portfolios.
  • Black-Scholes pricing and GreeksProvides bs_price and bs_greeks functions for option pricing and Greeks.
  • Implied volatility inversionProvides an implied_volatility function that solves for volatility from a market price.
  • Breakeven and max profit/lossDescribes how to find breakevens and max profit or loss from strike points and the right tail.
  • Volatility scenario analysisBuilds a theoretical value matrix using current IV multiplied by 0.5 to 1.5.
  • Strategy referenceLists payoff structures for spreads, straddles, condors, butterflies, calendars, ratio spreads and hedges.

What you need

  • Vibe-Trading quantitative framework (src.quantlib.options module)

Try asking

  • Use options_payoff to show the expiry curve for a bull call spread.
  • Find the breakevens and max loss for an iron condor with these strikes.
  • Show Greeks and a volatility scenario matrix for a long straddle.

Good to know

  • For research and backtesting only; no live trading instructions.
  • Black-Scholes assumes constant volatility and rates, and European exercise.
  • implied_volatility raises ValueError below the discounted forward intrinsic value.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agent/src/skills/options-payoff/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md27 KB

Alternatives to options-payoff

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

options-payoff: common questions

What does the options-payoff skill do?

It gives a methodology for option P&L analysis, including payoff diagrams, breakeven calculation, multi-leg visualization and Greeks-based scenario analysis. It also points to an options_payoff tool for production calculations.

Which pricing model does it use?

It uses the Black-Scholes model, with an optional continuous dividend yield. The source says the functions live in src/quantlib/options.py.

Can it be used for live trading?

The source says it is for research and backtesting only and must not output live trading instructions.

How do I install options-payoff?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is options-payoff free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is options-payoff safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to options-payoff?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

options-payoff Install

Add to stack

Loading.