quantdata-max-pain

A market-data skill that reads options trading positions for US-listed stocks and exchange-traded funds (ETFs). It reports max pain, large call and put positions, the put/call ratio, and estimated dealer gamma exposure.

In plain words
What is it for?
Use it to examine options positioning for a stock or ETF by expiration date. It helps compare open-interest walls, max pain, and gamma levels without turning the results into trading advice.
Why use it?
It gathers several measures of options positioning in one place, including where activity may create buying or selling pressure. It can use public pages or Quant Data's API when a key is available.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/celineycn/quantdata-plugin/quantdata-max-pain
Any agent
npx skills add celineycn/quantdata-plugin --skill quantdata-max-pain
Clone the repo
git clone --depth 1 https://github.com/celineycn/quantdata-plugin

Made for: Claude Code, Codex.

Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,955 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00140 $0.04955
Opus 5 $0.00070 $0.02478
Sonnet 5 $0.00028 $0.00991
Haiku 4.5 $0.00014 $0.00496

Measured yesterday against content hash 50785a343dc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

quantdata-max-pain scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "X-API-Key: $QUANTDATA_API_KEY" https://api.quantdata.uk/v1/maxpain/NVDA
quantdata/skills/quantdata-max-pain/SKILL.md · 312 lines

How it starts

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

Quant Data — Max Pain & Gamma Exposure

Options positioning for US-listed stocks and ETFs: max pain per expiration, the open-interest call and put walls, put/call ratio, and estimated dealer gamma exposure (GEX) with the zero gamma (flip) level.

There are three ways in. Check whether the environment variable QUANTDATA_API_KEY is set:

  • Key present — use the JSON endpoints on api.quantdata.uk. A free email key gives all four endpoints 10 shared successful calls per UTC day; a paid key removes that evaluation limit. The options routes cover any US-listed stock or ETF with a liquid options chain — not just the tickers that have free pages — and return machine-readable figures instead of rendered HTML.
  • No key, ticker not on the free pages — one anonymous first-look JSON response may succeed per source per UTC day. It is complete. For further calls, ask which email should receive a free key and use the request flow below.
  • No key, ticker is on the free pages — read the public page instead and save the anonymous first look. It is the same number computed by the same code, and it costs nothing.

Never send an X-API-Key header to quantdata.uk. The static site does not read it, and putting a key in a request to the wrong host is how keys leak into logs.

Without a key — the free pages

https://quantdata.uk/max-pain/{ticker}   max pain, OI walls, put/call ratio, per expiration
https://quantdata.uk/gex/{ticker}        net GEX, zero gamma (flip) level, gamma walls

GEX lives on its own page, not on the max-pain page — fetch both if the user wants both views. The ticker goes in lowercase in the path. An uppercase path 301-redirects to the lowercase one, so it works either way, but link and cite the lowercase form.

Coverage — always check, never assume

https://quantdata.uk/max-pain and https://quantdata.uk/gex are the authoritative lists. This document deliberately does not name the covered tickers, because a hardcoded list here goes stale silently the moment coverage changes — which has already happened once.

Read the full file on GitHub · 312 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. yesterday First seen · 312 lines · 140 tokens per session scan A 50785a343dc0

Subscribe to this mod's changes

quantdata-max-pain is a skill published in the GitHub repository celineycn/quantdata-plugin (1 stars, last pushed 14d ago), licensed MIT. It adds 140 tokens to every session and 4,955 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

correlation-analysis

Correlation and cointegration analysis — co-movement discovery, deep return-correlation analysis, sector clustering, realized correlation, Engle-Granger / Johansen cointegration, half-life, Kalman dynamic hedge ratio, cross-market linkage analysis, and pair-trading signal generation.

HKUDS/Vibe-Trading · 57 tokens

ashare-pre-st-filter

A 股 ST/ST 风险预测框架 — 基于最新中报/三季报或业绩预告/快报,预测下一财年是否会因营收、利润、净资产、分红不达标而被风险警示,并将新浪监管处罚记录作为独立证据面纳入风险等级。仅适用于 A 股,不预测财务造假。.

HKUDS/Vibe-Trading · 89 tokens

credit-analysis

固收与信用分析:信用债评级、利差分析、违约风险评估、城投债研究、可转债定价与策略。.

HKUDS/Vibe-Trading · 36 tokens

geopolitical-risk

Geopolitical risk analysis: quantify crisis signals, identify precursors, and build event-driven strategies for war, sanctions, and supply disruption scenarios.

HKUDS/Vibe-Trading · 34 tokens

vibe-trading

Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis, Alpha Zoo (462 pre-built alphas across qlib158/alpha101/gtja191/academic/fundamental), options pricing, 90 finance skills, 30 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract →…

HKUDS/Vibe-Trading · 166 tokens

etf-analysis

ETF分析:产品筛选、费率对比、跟踪误差、流动性评估、策略应用与中国市场ETF量化配置框架。.

HKUDS/Vibe-Trading · 39 tokens