finance-sentiment
Fetch normalized stock sentiment across Reddit, X.com, financial news, and Polymarket from the Adanos Finance API: buzz score,…
Render an interactive options payoff chart — expiry P&L plus Black-Scholes theoretical value — with sliders for strikes, premium, IV, DTE, and spot. Use this skill whenever the user describes or shares an options position or strategy and wants to see how it makes or loses money:
Claude Code
$ npx -y skills add himself65/finance-skills --skill options-payoff --agent claude-code
Codex
$ npx skills add himself65/finance-skills --skill options-payoff -a codex -y
Cursor
$ npx skills add himself65/finance-skills --skill options-payoff -a cursor -y
Gemini CLI
$ npx skills add himself65/finance-skills --skill options-payoff -a gemini-cli -y
GitHub Copilot
$ npx skills add himself65/finance-skills --skill options-payoff -a github-copilot -y
OpenCode
$ npx skills add himself65/finance-skills --skill options-payoff -a opencode -y
Windsurf
$ npx skills add himself65/finance-skills --skill options-payoff -a windsurf -y
name: options-payoff description: > Render an interactive options payoff chart — expiry P&L plus Black-Scholes theoretical value — with sliders for strikes, premium, IV, DTE, and spot. Use this skill whenever the user describes or shares an options position or strategy and wants to see how it makes or loses money: vertical, calendar, diagonal, or ratio spreads, butterflies, condors and iron condors, straddles, strangles, covered calls, protective or naked puts, or any multi-leg structure. This includes pasted strikes, premiums, and expiries, requests like "show me the payoff" or "draw the P&L curve", and broker screenshots (IBKR, TastyTrade, Robinhood). Use it even when details are partial — defaults fill the gaps.
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:
---
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\')')"`---
Match to one of the supported strategies below, then read the corresponding section in `references/strategies.md`.
| Strategy | Legs | Key Identifiers | |---|---|---| | **butterfly** | Buy K1, Sell 2×K2, Buy K3 | 3 strikes, "Butterfly" in title | | **vertical_spread** | Buy K1, Sell K2 (same expiry) | 2 strikes, debit or credit | | **calendar_spread** | Buy far-expiry K, Sell near-expiry K | Same strike, 2 expiries | | **iron_condor** | Sell K2/K3, Buy K1/K4 wings | 4 strikes, 2 spreads | | **straddle** | Buy Call K + Buy Put K | Same strike, both types | | **strangle** | Buy OTM Call + Buy OTM Put | 2 strikes, both OTM | | **covered_call** | Long 100 shares + Sell Call K | Stock + short call | | **naked_put** | Sell Put K | Single leg | | **ratio_spread** | Buy 1×K1, Sell N×K2 | Unequal quantities |
For strategies not listed, use `custom` mode: decompose into individual legs and sum their P&Ls.
---
d1 = (ln(S/K) + (r + σ²/2)·T) / (σ·√T) d2 = d1 - σ·√T put = K·e^(-rT)·N(-d2) - S·N(-d1)
call = put + S - K·e^(-rT)
if S >= K3: 0 if S >= K2: K3 - S if S >= K1: S - K1 else: 0
Net P&L per share = payoff − premium_paid
long_call = max(S - K1, 0) short_call = max(S - K2, 0) payoff = long_call - short_call - net_debit
Calendar cannot be expressed as a simple expiry function — always use BS pricing for both legs:
value = BS(S, K, T_far, r, IV_far) - BS(S, K, T_near, r, IV_near)
For expiry curve of calendar: near leg expires worthless, far leg = BS with remaining T.
put_spread = max(K2-S, 0) - max(K1-S, 0) // short put spread call_spread = max(S-K3, 0) - max(S-K4, 0) // short call spread payoff = credit_received - put_spread - call_spread
---
When `visualize:read_me` is available, read modules `["chart", "interactive"]` before building and use `visualize:show_widget` to render. Otherwise use an available host visualization tool according to its documented interface. In Codex without an inline renderer, save a complete HTML document in the workspace, include the chart dependencies and CSS, verify it in a browser when available, and return a clickable file link. Preserve all controls and calculations below. Do not call tools that the host does not expose.
**Structure section:**
**Pricing variables section:**
**Spot price:**
A collection of agent skills for financial analysis and trading, following the Agent Skills open standard. Visit skills.himself65.com for documentation, demos, and setup instructions.
Fetch normalized stock sentiment across Reddit, X.com, financial news, and Polymarket from the Adanos Finance API: buzz score,…
Query Fintel (fintel.io) institutional market data through its REST API or official MCP server. Use this skill whenever the user…
Check the live status of the Strait of Hormuz from the Hormuz Strait Monitor dashboard: open, restricted, or closed status,…
Read Hyperliquid (app.hyperliquid.xyz) perp and spot market data through opencli and Hyperliquid's public info API: mark, oracle,…
Query TradingView market data through the bundled tradingview MCP server without a desktop app or login. Use whenever the user…
Read the user's local TradingView desktop app through opencli: quotes, options chains with greeks and per-strike IV, options…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…