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.
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-payoffRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading /tmp/Vibe-Trading && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Vibe-Trading/agent/src/skills/options-payoff ~/.gemini/antigravity-cli/skills/options-payoffAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
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.
