options-pricing

options-pricing is a skill for Claude Code, Codex from Yijia-Xiao/FinanceHarness. It costs 58 tokens per session (979 once invoked), scanned A, original, Apache-2.0.

A skill for pricing listed stock and ETF options and interpreting what market prices imply. It uses option-chain data, interest rates and historical volatility with the Black-Scholes-Merton model to calculate prices, Greeks and implied volatility.

In plain words
What is it for?
Use it to analyse calls and puts, calculate model prices and risk measures, and compare implied and historical volatility for a chosen expiry.
Why use it?
It lets you compare a market option price with a model estimate and compare implied volatility with past volatility. This provides a structured way to examine pricing differences and expected volatility.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyse calls and puts, calculate model prices and risk measures, and compare implied and historical volatility for a chosen expiry.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yijia-xiao/financeharness/options-pricing
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 Yijia-Xiao/FinanceHarness --skill options-pricing
Clone the repo
git clone --depth 1 https://github.com/Yijia-Xiao/FinanceHarness

Made for: Claude Code, Codex.

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-pricing

README.md
[![agentmods](https://agentmods.dev/badge/skills/yijia-xiao/financeharness/options-pricing/github.svg)](https://agentmods.dev/skills/yijia-xiao/financeharness/options-pricing)
Your own site
<a href="https://agentmods.dev/skills/yijia-xiao/financeharness/options-pricing"><img src="https://agentmods.dev/badge/skills/yijia-xiao/financeharness/options-pricing/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-pricing

Your own site · 80×15
<a href="https://agentmods.dev/skills/yijia-xiao/financeharness/options-pricing"><img src="https://agentmods.dev/badge/skills/yijia-xiao/financeharness/options-pricing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 979 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.
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.00058 $0.00979
Opus 5.5 $0.00023 $0.00392
Sonnet 5.5 $0.00012 $0.00196
Haiku 4.5 $0.00006 $0.00098

Measured 12d ago against content hash de134004a377, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

options-pricing 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 12d 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.

financeharness/skills/options-pricing/SKILL.md · 71 lines

How it starts

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

Options pricing

Set the market's option prices against a Black-Scholes-Merton model and read what the gap says about expected volatility.

Workflow

  1. Chain and spot. data_options_chain for the underlying. It returns the listed expirations, the spot, and one expiry's calls and puts near the money with time_to_expiry_years. Pick the expiry the question is about (or the default, the first expiry a week or more out); call again with expiration for another tenor.
  2. Risk-free rate. data_market_rates. For options under about a year, use the 3-month Treasury yield (tenors_pct.3m, from ^IRX) rather than the 10-year; convert the percent to a decimal with calc (4.3 becomes 0.043).
  3. Dividend yield. data_equity_ratios, field ratios.dividend_yield (a decimal); use 0 for a non-payer or when it is unavailable, and say so.
  4. Historical volatility. data_equity_prices, field realized_vol.annualized (daily log returns, annualized over 252 sessions). Match the window roughly to the option's tenor (period="3mo" for near-dated options, "1y" for longer ones) and report which window you used.
  5. Implied volatility. compute_options_implied_vol for calls and for puts, chaining strikes and bid/ask mids from the chain (prev:<id>.calls[*].strike, prev:<id>.calls[*].mid) with the chain's spot and time_to_expiry_years, the rate, and the dividend yield. Prefer mids over last prices: a last trade can be hours old. Where a strike has no live bid/ask (mid is null: common near the open, after the close, and on illiquid strikes), fall back to last only with its last_trade time stated.
  6. Model prices and Greeks. compute_options_black_scholes at the historical volatility for the same strikes (the price the stock's own recent movement would justify), with delta, gamma, theta, and vega.
  7. Context. search + visit for what could explain a gap between implied and historical volatility before the expiry: an earnings date, a product or regulatory event, a macro release. Cite what you read.
  8. Report. Market mid vs. model price per strike, implied vs. historical volatility (at the money and across strikes, i.e. the smile or skew), the Greeks that matter for the question, and the events that plausibly account for the difference.

Read the full file on GitHub · 71 lines

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. 12d ago First seen · 71 lines · 58 tokens per session scan A de134004a377

Subscribe to this mod's changes

options-pricing is a skill published in the GitHub repository Yijia-Xiao/FinanceHarness (235 stars, last pushed 12d ago), licensed Apache-2.0. It adds 58 tokens to every session and 979 once invoked, about $0.0002 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-11-18.

Related

options-pricing compared with skills from other repositories

options-pricing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
options-pricingYijia-Xiao/FinanceHarnessSkill23512d agoApache-2.0A58Claude Code, Codex
options-pricingxjtulyc/awesome-rosetta-skillsSkill387mo agononeA35Claude Code, Codex
quantoracleQuantOracledev/quantoracleSkill149d agoMITA92Claude Code, Codex
options-analysisryansilk/apexvol-mcpSkill21mo agoMITA92Claude Code, Codex
create-payment-credentialvercel/eveSkill6.1ktodayApache-2.0A23Claude Code, Codex
company-financePrism-Shadow/penguin-harnessSkill3.4ktodayApache-2.0A53Claude Code, Codex
options-strategy-evaluatorseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA37Claude Code, Codex