options-payoff

options-payoff is a skill for Claude Code from himself65/finance-skills. It costs 157 tokens per session (2,124 once invoked), scanned A, original, MIT.

A guide for creating an interactive chart that shows how an options position may gain or lose value. Options are contracts whose value depends on an underlying asset, such as a stock or index.

In plain words
What is it for?
Use it when given an options screenshot or strategy such as a butterfly or spread, or when you need to explore the effect of price, time, and volatility changes.
Why use it?
It turns a strategy or position into a visual view of expiry profit, theoretical value, losses, gains, and breakeven prices, with adjustable assumptions.

Skill for Claude Code

Written for Claude Code: dynamic context !`command`. Also seen: mentions Codex.

Part of the finance-market-analysis plugin — 11 skills shipped together

Good fit Use it when given an options screenshot or strategy such as a butterfly or spread, or when you need to explore the effect of price, time, and volatility changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/himself65/finance-skills/options-payoff
About the project

Finance Skills is a collection of agent skills for financial analysis and trading, covering activities such as company valuation, earnings research, market analysis, and options calculations. It is for users who want coding agents to perform structured finance workflows, and the catalogue contains its skills, plugins, instructions, and MCP integration.

himself65/finance-skills · 3,641 stars · on GitHub · skills.himself65.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add himself65/finance-skills --skill options-payoff
Clone the repo
git clone --depth 1 https://github.com/himself65/finance-skills

Made for: Claude Code.

Or install finance-market-analysis, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for options-payoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/himself65/finance-skills/options-payoff/github.svg)](https://agentmods.dev/skills/himself65/finance-skills/options-payoff)
Your own site
<a href="https://agentmods.dev/skills/himself65/finance-skills/options-payoff"><img src="https://agentmods.dev/badge/skills/himself65/finance-skills/options-payoff/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for options-payoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/himself65/finance-skills/options-payoff"><img src="https://agentmods.dev/badge/skills/himself65/finance-skills/options-payoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,124 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 20 Oct 2026
  • Snyk warn 20 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00157 $0.02124
Opus 5.5 $0.00063 $0.00850
Sonnet 5.5 $0.00031 $0.00425
Haiku 4.5 $0.00016 $0.00212

Measured 1mo ago against content hash 2501e5c0bd1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

options-payoff scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/market-analysis/skills/options-payoff/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Options Payoff Curve Skill

If 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.

Generates an interactive HTML chart using the host's available visualization tool, or a standalone HTML file in Codex, showing:

  • Expiry payoff curve (dashed gray line) — intrinsic value at expiration
  • Theoretical value curve (solid colored line) — Black-Scholes price at current DTE/IV
  • Dynamic sliders for all key parameters
  • Real-time stats: max profit, max loss, breakevens, current P&L at spot

Step 1: Extract Strategy From User Input

When the user provides a screenshot or text, extract:

Field Where to find it Default if missing
Strategy type Title bar / leg description "custom"
Underlying Ticker symbol SPX
Strike(s) K1, K2, K3... in title or leg table nearest round number
Premium paid/received Filled price or avg price 5.00
Quantity Position size 1
Multiplier 100 for equity options, 100 for SPX 100
Expiry Date in title 30 DTE
Spot price Current underlying price shown in the screenshot or text live quote (see below); middle strike only if no quote is available
IV Shown in greeks panel, or estimate from vega 20%
Risk-free rate — 4.3%

Spot for screenshots: spot is the underlying's current price, and broker screenshots often omit it or show it far from the strikes — don't read it off the strike labels. Use the price shown, else a live quote (the SPX probe below, or yfinance for other underlyings). Fall back to the middle strike only when no quote is available, and tell the user you did.

Current SPX reference price:

!`python3 -c "exec('try:\n import yfinance as yf\n p=yf.Ticker(\'^GSPC\').fast_info[\'lastPrice\']\n print(f\'SPX ≈ {p:.0f}\')\nexcept Exception:\n print(\'SPX price unavailable — check market data\')')"`

Read the full file on GitHub · 200 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 2501e5c0bd1a
  2. 2mo ago Changed · +1 lines · -19 tokens per session 9bbfdc9f6ea6
  3. 3mo ago First seen · 197 lines · 176 tokens per session scan A 082e0cc79c30

Subscribe to this mod's changes

options-payoff is a skill published in the GitHub repository himself65/finance-skills (3,641 stars, last pushed 1mo ago), licensed MIT. It adds 157 tokens to every session and 2,124 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

options-payoff compared with skills from other repositories

options-payoff next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
options-payoffhimself65/finance-skillsSkill3.6k1mo agoMITA157Claude Code
quotientBankrBot/skillsSkill1.2ktodaynoneA201Claude Code, Codex
themonitorBankrBot/skillsSkill1.2ktodaynoneA128Claude Code, Codex
delu-oracleBankrBot/skillsSkill1.2ktodaynoneA87Claude Code, Codex
lonestaroracle-dataBankrBot/skillsSkill1.2ktodaynoneB58Claude Code, Codex
rhagentBankrBot/skillsSkill1.2ktodaynoneC142Claude Code, Codex
backtesting-simmahmoud20138/TradecraftSkill187mo agoMITA118Claude Code