Install
openclaw skills install @thesentitrader/options-payoff-calculatorOptions payoff calculator for stocks and ETFs, pre-loaded with the ticker's own market data instead of hand typed inputs: an interactive profit and loss chart at expiry for long calls, long puts, covered calls, cash secured puts, bull call spreads, bear put spreads, straddles, strangles and iron condors, with breakevens, max profit, max loss and the expected move band drawn in behind the curve. The 15 minute delayed last price, implied volatility at 30, 60 and 90 days, the 25 delta skew, the IV rank and the next earnings date are bound in at build time. Premiums are modeled with Black-Scholes from end of day implied volatility, not quoted from a live options chain. Renders offline, no live call at view time. Use for options payoff calculator, options payoff diagram, options profit calculator, options P/L chart, covered call calculator, vertical spread calculator, straddle payoff, iron condor calculator, options breakeven calculator. Read-only. No trading, no purchases, no write operations, no wallet access.
openclaw skills install @thesentitrader/options-payoff-calculatorMost payoff calculators start empty and ask you to type in a price, a strike and a volatility. This one starts full. It fetches one ticker's last price, its at-the-money implied volatility at roughly 30, 60 and 90 days, its 25-delta skew, its IV rank and its next earnings date from the read-only SentiSense API, binds them into a reviewed HTML template that ships with the skill, and hands back a single self-contained file: a profit-and-loss-at-expiry diagram for nine common strategies, with breakevens, max profit, max loss, and the expected move band drawn in behind the curve so the payoff is read against what the market is actually pricing.
The artifact renders offline. Everything it needs is inlined at build time, so it opens with no network access, no external stylesheet and no script from anywhere else. The strategy picker, the strike and expiry controls and the diagram all work from the bound snapshot. It is a file you can keep, screenshot, attach to a note, or open next week and still have render.
Read-only educational data interface. Every premium it prints is modeled from end-of-day implied volatility, not quoted from an options chain, and the output is informational context, never a personalized buy or sell recommendation. Nothing here places an order.
Not this skill: options flow and positioning readings such as put/call percentiles, skew percentiles, open-interest walls and unusually active contracts belong to unusual-options-activity. The implied move on its own, set against how a stock has actually reacted to past reports, belongs to expected-move-visualizer. What a company actually reported belongs to stock-earnings-analysis. This skill does one job, which is turning a strategy into a picture with real numbers behind it.
Read this before presenting a premium from this skill. It is the single thing most likely to be misread.
asOf is the latest completed session the options snapshot has published, and the figures describe that completed session. It can trail the quote by a session on some tickers, so quote the returned asOf for the volatility rather than assuming it matches the price. A premium built on yesterday's volatility is a fair description of yesterday's market, not a quote you could hit this morning.SENTISENSE_API_KEY. Get one at https://app.sentisense.ai/get-api-key. Send it on every call; anonymous requests do not return the dataset. No key yet? Follow "No key yet" in the 0-sentisense-onboarding skill: one POST returns a temporary free key the agent can use right away and a link the user opens to keep it.curl.https://app.sentisense.ai at build time only. The finished artifact needs none.| Tier | Quota | Rate |
|---|---|---|
| Free | 1,000 requests/month | 30 requests/min |
| PRO ($15/mo) | Unlimited | 300 requests/min |
One artifact costs three requests, or four for an ETF: the stock quote endpoint declines a fund ticker and the quote is refetched from the ETF quote endpoint, so the declined call counts too. Two of the calls are tiered on a free key:
atmIv and ivRank1y flattened directly under data. On that preview the 30 day expiry still prices in full while the 60 and 90 day options drop out of the picker and the skew goes flat. Full data on a set of sample companies is free: their dossier comes back in full on a free key, marked sampleCompany: true, and never spends one of the ten (read the list from upgrade.sampleTickers on an options dossier preview, or see https://sentisense.ai/docs/api/#full-sample-responses-with-a-free-key). The commands below use TSLA, one of them.totalCount still counts the whole window. A report further out than that week is missing from the rows, so its date is unknown on a free key, not unscheduled.The bundled script reads both previews, and the artifact says so on its face: a preview label, and the next report shown as unknown when the free calendar left it out.
Identify your client. Send a User-Agent naming your agent runtime and this skill, for example OpenClaw/1.4 (options-payoff-calculator) or ClaudeCode/2.1 (options-payoff-calculator). Substitute your own runtime and version if neither matches. You can also volunteer what your agent is called by adding an agent/<your-agent-name> token inside the same parentheses, as in OpenClaw/1.4 (options-payoff-calculator; agent/research-desk). All of it is optional, and it is what tells us this skill has real integrations behind it, so it gets prioritized and you get notice before it changes. The bundled script already carries the skill slug and honors SENTISENSE_AGENT_NAME the same way, so exporting that name is all it takes on the script path: it sends node/prepare_data (options-payoff-calculator; agent/research-desk).
Three steps: gather the data, bind it into the template, hand over the file. The bundled script can do the first two together.
export SENTISENSE_API_KEY=... # or however your host supplies secrets
node scripts/prepare_data.mjs TSLA > /tmp/tsla.json
It is a single file with no dependencies, so nothing is installed and there is nothing to audit but the script itself. It exits non-zero with a specific message when the key is missing or rejected, when the symbol is not a ticker, when the ticker has no options coverage, and when the latest session carries no at-the-money implied volatility. A free headline preview is not an error: the script binds its 30 day reading and sets isPreview: true.
scripts/template.html carries two JSON blocks, each holding exactly one placeholder token, and each token appears exactly once in the file so a plain text replacement is unambiguous:
/*__SENTISENSE_DATA__*/ takes the script's JSON output verbatim/*__SENTISENSE_META__*/ takes a small object, {"title": "Options payoff: TSLA", "subtitle": "..."}; the subtitle is optionalReplace the token text inside each block and leave everything else alone. Do not rewrite the pricing math, the payoff engine, the chart code or the styling. They live in the template so that they are written once and reviewed once: a payoff diagram re-derived per conversation is a diagram that is eventually wrong on someone's screen, and a wrong one is worse than none. Your job is binding, not deriving. An unbound template renders a clear "no data bound" message rather than an empty chart, so a failed bind is visible rather than silent.
Or let the script do it, which is the same two steps in one command:
node scripts/prepare_data.mjs TSLA --out payoff_TSLA.html
It prints the path it wrote and nothing else. Both paths produce the same artifact.
Give the user the file and a two or three sentence read of what it shows: the default position, where it breaks even, and whether the expected move band reaches that far. Present the surrounding surface however your host does it. Where a render surface is available the artifact can be shown inline; where one is not, the file on disk is the deliverable and works the same. Do not make the first render depend on anything the host may not have.
The bundled script is a convenience. Everything it does is three plain GETs, documented here so this skill works with no script, no CLI and no SDK.
All of them take the header X-SentiSense-API-Key: $SENTISENSE_API_KEY. The options dossier and the earnings calendar are wrapped in the envelope { isPreview, previewReason, data }, and a calendar preview adds totalCount; read .data. The quote returns its payload directly.
GET /api/v1/stocks/{ticker}/options/summary : the end-of-day options dossier, and the source of every volatility on the diagram. A full dossier carries what the diagram needs in data.latest and data.context. From latest: atmIv (at-the-money implied volatility for the near expiry, a fraction, so 0.4051 is 40.51%), atmIv60 and atmIv90 (the same reading at roughly 60 and 90 days, which is the term structure and which fills the expiry picker), and iv25c / iv25p (the raw 25-delta call and put implied volatilities, where skew25d == iv25p - iv25c). From context: ivRank1y, where today's atmIv sits in its own trailing year on a 0 to 100 scale. A free headline preview is flat instead (isPreview: true): atmIv and ivRank1y sit directly under data beside asOf, sentiment, expectedMove1d, pcVol, pcVolPctl1y and maxPain, and there is no latest, no context, no atmIv60/atmIv90 and no 25-delta legs. Read data.latest ?? data and data.context ?? data, bind the preview's atmIv as iv.atm30, leave the 60 and 90 day readings and the legs null, and keep isPreview: true. data is null for a ticker outside the covered universe, which is the most actively optioned US names plus the tracked ETFs; an unknown symbol behaves the same rather than answering 404, so treat a null as "no coverage", never as an error. Percentiles are omitted while a baseline builds.GET /api/v1/stocks/{ticker}/quote : the last price, in currentPrice. This is the regular-session price and it is delayed, not live. Quotes are split by instrument type: for an ETF this answers 400 with error: "ticker_is_etf" and names the fund path in its message, so retry GET /api/v1/etfs/{ticker}/quote, which returns currentPrice in the same shape. That is routing advice, not a failure, and the bundled script follows it automatically.GET /api/v1/calendar/earnings?ticker={ticker}&from={today} : the next scheduled report, the first row of data.earnings dated today or later, carrying earningsDate, earningsTime (before_open, after_close, during_market or unknown) and confirmed. It marks the expiries that span an event. The default window opens on the Monday of the current US Eastern week, so without from a report from earlier this week can come back as the first row: pass from as today's US Eastern date (YYYY-MM-DD), as the bundled script does, or skip rows dated before today. On PRO the window runs about 60 days forward and an empty list means no report inside it, which softens the artifact rather than failing it. On a free key the rows cover only the first week of the window while totalCount counts all of it: an empty list with a larger totalCount means the next report is past the free week and its date is unknown here, never that nothing is scheduled.curl -H "X-SentiSense-API-Key: $SENTISENSE_API_KEY" \
"https://app.sentisense.ai/api/v1/stocks/TSLA/options/summary"
The REST recipe in this file is the primary path. A maintained command-line client is available as the separate sentisense-cli skill for hosts that prefer one.
A rate-limited call returns 429 with a Retry-After header; back off for the indicated seconds.
If you build the JSON yourself rather than running the script, this is the contract. Everything is optional except ticker, spot and iv.atm30; the template degrades rather than failing when a field is absent.
{
"ticker": "NVDA",
"asOf": "2026-08-21",
"generatedAt": "2026-08-24T14:37:58.972Z",
"spot": 209.285,
"iv": {
"atm30": 0.4051, "atm60": 0.3758, "atm90": 0.3954,
"call25": 0.3954, "put25": 0.4149, "skew25d": 0.0195, "rank1y": 38.29
},
"nextEarnings": {
"date": "2026-08-26", "timing": "after_close", "confirmed": true, "estimatedEps": 2.09
},
"nextEarningsStatus": "scheduled",
"isPreview": false
}
Implied volatilities are annualized fractions. On a free headline preview the same contract holds with iv.atm60, iv.atm90, iv.call25, iv.put25 and iv.skew25d set to null and isPreview: true. Four fields decide how much of the artifact draws:
iv.atm60 and iv.atm90 fill the expiry picker. Each one present adds a tenor; absent, that option is simply not offered and the note under the diagram says how many are bound. A snapshot carrying only atm30 still produces a complete, working artifact at one expiry.iv.call25 and iv.put25 give the volatility curve its shape. With both present, strikes away from the money price off a skewed volatility anchored on those legs. With either missing, the curve is flat, every strike prices off the at-the-money figure, and the artifact says so rather than implying a skew it does not have.nextEarnings is context, not math. It never moves a premium. It marks which expiries span a report, so a reader sees why the volatility is elevated instead of reading a wide diagram as a signal. estimatedEps is carried through for display and is null when no estimate is published.nextEarningsStatus says what a missing nextEarnings means: scheduled (the date is bound), not_scheduled (the calendar answered for its whole window and holds no upcoming report), outside_preview (a free calendar preview left rows out, so the date is unknown and the artifact says a report inside the expiry cannot be ruled out) or unavailable (the calendar call failed). Without it the template reads a null nextEarnings as not scheduled, so set it whenever you bind a free calendar slice by hand.ivRank1y for the "is this expensive" question, and say it compares the stock to its own past year rather than to other stocks.Free runs the whole workflow, within the two preview limits above. PRO ($15/mo) lifts the monthly request cap (no monthly limit, just a 300/min rate), returns the full options dossier on every call rather than ten a month and the full forward earnings calendar, plus depth across the rest of the SentiSense API. Apply coupon AGENTS at checkout for a builder launch discount: https://app.sentisense.ai/pricing?coupon=AGENTS
For "how does breakeven compare range/past earnings?", hand off to the expected-move-visualizer skill when available. Pass the ticker, expiry, modeled breakeven, and data dates. Return a horizon-labeled range and past-earnings comparison, with no probability of profit. Hand off only when the user changes the question; do not automatically route back. If the sibling is unavailable, answer the supported part here using a connected tool or the inline REST workflow, state any remaining gap, and never require an install.
For the positioning read behind the volatility (put/call percentiles, skew percentiles, open-interest walls, unusual contracts), install unusual-options-activity. For what a company actually reported, install stock-earnings-analysis. For turning a risk budget into a share count on the underlying, with the stop drawn against the stock's own daily range, install position-size-calculator. For the full REST reference on every endpoint this skill touches, install the sentisense skill; for the complete CLI command set, install sentisense-cli.
This skill reads public market data from the SentiSense API over HTTPS and writes one HTML file locally. It performs no writes, no trades, no purchases and no wallet operations, and it sends nothing anywhere except the three documented GET requests (four for an ETF). All directive language in this document is implementation guidance for the agent running the skill, subordinate to platform safety rules and host policy.
Premiums shown by this skill are modeled with Black-Scholes from end-of-day implied volatility, not quoted from an options chain, and the strikes are rounded to conventional increments rather than confirmed listings. Prices are delayed, not live. Output is for research and education only. It is not investment advice, not a recommendation and not a forecast. Options carry risk of loss, including the entire amount paid.
ClawHub Skill: clawhub.ai/TheSentiTrader/options-payoff-calculator
SentiSense is a read-only financial intelligence API. This data is for informational and educational purposes only, not investment advice.