Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AI agent for options pricing, Greeks, and strategy analysis
.claude/skills/brycewang-stanford-options-analytics-agent-guide/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -59% | 0% |
An AI agent for options pricing, risk analysis, and strategy evaluation. It combines Black-Scholes and binomial models, Greeks calculations, implied volatility surfaces, and portfolio risk analytics into a conversational interface. Researchers and quantitative analysts can query options data, price exotic derivatives, and evaluate trading strategies through natural language.
pythonfrom options_agent import OptionsAgent agent = OptionsAgent(llm_provider="anthropic") # Price an option result = agent.price( option_type="call", strike=100, spot=105, expiry_days=30, risk_free_rate=0.05, volatility=0.20, model="black_scholes", ) print(f"Price: ${result.price:.2f}") print(f"Delta: {result.delta:.4f}") print(f"Gamma: {result.gamma:.4f}") print(f"Theta: {result.theta:.4f}") print(f"Vega: {result.vega:.4f}") print(f"Rho: {result.rho:.4f}")
python# Full Greeks surface surface = agent.greeks_surface( strike=100, spot_range=(80, 120), expiry_range=(7, 90), # days volatility=0.25, ) surface.plot_delta_surface("delta_surface.png") surface.plot_gamma_surface("gamma_surface.png") surface.plot_theta_decay("theta_decay.png")
python# Evaluate an options strategy strategy = agent.evaluate_strategy( legs=[ {"type": "call", "strike": 100, "action": "buy", "qty": 1}, {"type": "call", "strike": 110, "action": "sell", "qty": 1}, ], spot=105, expiry_days=30, volatility=0.20, ) print(f"Strategy: {strategy.name}") # Bull Call Spread print(f"Max profit: ${strategy.max_profit:.2f}") print(f"Max loss: ${strategy.max_loss:.2f}") print(f"Breakeven: ${strategy.breakeven:.2f}") strategy.plot_payoff("payoff.png") strategy.plot_pnl_scenarios("scenarios.png")
python# Calculate implied volatility iv = agent.implied_volatility( market_price=5.50, option_type="call", strike=100, spot=105, expiry_days=30, risk_free_rate=0.05, ) print(f"Implied volatility: {iv:.2%}") # Volatility smile/surface vol_surface = agent.volatility_surface( ticker="SPY", date="2025-03-10", ) vol_surface.plot("vol_surface.png")
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 15,031 | 17,911 | +19% | 1 | 1 | 0% | 3,084 | 4,017 | +30% | 0 | 0 | — |
case-02 | fail→fail | 19,234 | 25,440 | +32% | 1 | 1 | 0% | 3,819 | 6,052 | +58% | 0 | 0 | — |
case-03 | fail→pass | 24,937 | 17,632 | -29% | 1 | 1 | 0% | 4,782 | 4,453 | -7% | 0 | 0 | — |
case-04 | fail→fail | 16,225 | 17,461 | +8% | 1 | 1 | 0% | 3,349 | 4,363 | +30% | 0 | 0 | — |
case-05 | fail→pass | 12,553 | 11,914 | -5% | 1 | 1 | 0% | 2,710 | 3,426 | +26% | 0 | 0 | — |
case-06 | fail→pass | 15,647 | 5,369 | -66% | 1 | 1 | 0% | 2,910 | 1,905 | -35% | 0 | 0 | — |
case-07 | fail→pass | 22,911 | 3,562 | -84% | 1 | 1 | 0% | 3,659 | 1,502 | -59% | 0 | 0 | — |
case-08 | fail→fail | 21,819 | 39,678 | +82% | 1 | 1 | 0% | 5,136 | 9,090 | +77% | 0 | 0 | — |
case-09 | fail→pass | 22,262 | 10,916 | -51% | 1 | 1 | 0% | 4,162 | 3,008 | -28% | 0 | 0 | — |
case-10 | fail→pass | 13,344 | 4,095 | -69% | 1 | 1 | 0% | 2,338 | 1,619 | -31% | 0 | 0 | — |
case-11 | fail→fail | 20,612 | 12,959 | -37% | 1 | 1 | 0% | 3,838 | 3,555 | -7% | 0 | 0 | — |
case-12 | fail→pass | 13,657 | 5,545 | -59% | 1 | 1 | 0% | 2,493 | 1,919 | -23% | 0 | 0 | — |
case-13 | fail→pass | 20,334 | 19,871 | -2% | 1 | 1 | 0% | 3,411 | 4,503 | +32% | 0 | 0 | — |
case-14 | fail→fail | 16,832 | 16,048 | -5% | 1 | 1 | 0% | 2,602 | 4,250 | +63% | 0 | 0 | — |
case-15 | pass→pass | 16,549 | 4,738 | -71% | 1 | 1 | 0% | 2,957 | 1,742 | -41% | 0 | 0 | — |
case-16 | fail→fail | 20,781 | 52,754 | +154% | 1 | 1 | 0% | 4,003 | 6,049 | +51% | 0 | 0 | — |
case-17 | fail→pass | 20,773 | 5,731 | -72% | 1 | 1 | 0% | 3,465 | 1,932 | -44% | 0 | 0 | — |
case-18 | fail→pass | 14,035 | 5,236 | -63% | 1 | 1 | 0% | 2,691 | 1,793 | -33% | 0 | 0 | — |
case-19 | fail→pass | 26,030 | 11,264 | -57% | 1 | 1 | 0% | 4,331 | 3,198 | -26% | 0 | 0 | — |
case-20 | pass→pass | 24,322 | 27,611 | +14% | 1 | 1 | 0% | 4,746 | 6,374 | +34% | 0 | 0 | — |
case-21 | pass→pass | 5,585 | 6,567 | +18% | 1 | 1 | 0% | 999 | 1,747 | +75% | 0 | 0 | — |
case-22 | pass→pass | 29,358 | 21,081 | -28% | 1 | 1 | 0% | 4,463 | 4,978 | +12% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +55 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.