gamma-exposure
Skill3 starsChanged 15 days agoApache-2.0View on GitHub
Compute or review a Gamma Exposure (GEX) / dealer-hedging-behavior estimate from options open interest before it gets reported as if it were an observed fact. Trigger for "gamma exposure", "GEX chart", "GEX level", "GEX profile", "gamma squeeze", "gamma wall", "zero gamma flip", "dealer positioning", "做市商对冲", "伽马敞口", "波动率压制/放大", "0DTE flows", "净伽马敞口", or whenever the user is inferring options-dealer hedging pressure from open interest and implied volatility, building a GEX chart/panel, or about to state a GEX regime call (dealers are long/short gamma at some strike) as if it were measured rather than estimated under an assumption. Also trigger when reviewing GEX-computation code for a silent sign or scaling bug — the failure mode this skill exists to catch produces a plausible-looking wrong answer, not a crash. Do NOT trigger for a plain options-chain display (bid/ask/volume/greeks per contract, no hedging inference) or for risk exposure of options the user actually holds — that is `risk-assessment`.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- artheras/skillsword for word, first seen Oct 31, 2026
Other versions1 project uses a version of this.
Word for word · 1
- artheras/skills★ 3100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- ai-generated-ui-craftSkill
- backtest-validationSkill
- carrier-scorecardSkill
- compliance-audit-trailSkill
- conversational-ui-restraintSkill
- equity-research-reportSkill
- execution-positionSkill
- factor-researchSkill
- industry-design-directionSkill
- inventory-policySkill
- minimal-editorial-exportsSkill
- minimal-editorial-posterSkill
- multiple-testing-correctionSkill
- operator-revenue-integritySkill
- point-in-time-researchSkill
- portfolio-optimizationSkill
- risk-assessmentSkill
- short-form-video-editingSkill
- stablecoin-settlement-auditSkill
- strategy-generationSkill
- terminal-software-designSkill
- trading-ui-patternsSkill
- ui-asset-sourcingSkill
- ui-design-systemSkill
- your-skill-nameSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
The assumption itself is presented as measured fact: No public dataset shows dealers' actual positioning.
- Very specific: line 72
Before sharing a GEX report, run it through the audit gate: python scripts/gex_gate.py --audit report.json.
- Distinctive: line 86
Never state a GEX regime as an observed fact.
- Distinctive: line 89
Never silently choose a non-standard sign convention or scaling constant.
- Distinctive: line 93
Never present GEX as a directional price forecast.
- Distinctive: line 97
Never claim free listed-equity-options GEX covers a symbol's full dealer hedging book — OTC and index-option flow are frequently the larger …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gamma Exposure (GEX)
GEX infers options-dealer hedging behavior — not dealer hedging positions, which are never public — from open interest, implied volatility, and one industry-standard but fundamentally unverifiable assumption. Every number this produces is an estimate under that assumption, and the single most common failure in this category is reporting it as a fact instead.
The gap this closes
GEX computations look deceptively easy to get right: sum some gammas, apply a scaling constant, done. Two things make it easy to get quietly wrong instead:
- The sign convention is an assumption, not a physical law. The
standard convention — customers are net buyers of options, dealers are
net sellers, so call OI contributes positive gamma exposure and put OI
contributes negative — is a public-GEX-calculator convention (the same
one SqueezeMetrics-style tools use), not something derivable from the
options data itself. Flip that one sign and the code still runs, still
produces a smooth chart, and still gives a confident regime call —
just the opposite one from what the data implies under the standard
assumption.
scripts/gex_gate.py --demoreproduces this exact bug on one synthetic chain: identical inputs,net_gex_totalflips from -1.08M to +2.63M, regime flips from negative to positive. - The assumption itself is presented as measured fact. No public dataset shows dealers' actual positioning. A report that states "dealers are short gamma at 450" without the caveat is making a stronger claim than the data supports — the honest version is "under the standard assumption that dealers are net short customer flow, OI implies dealers are short gamma at 450."
Workflow
- Get a real option chain — strike, open interest, and implied volatility for both legs at each strike, for one expiration. Free listed-equity data (e.g. yfinance) is enough; do not fabricate OI/IV to fill gaps.
- Compute gamma per strike with the standard Black-Scholes closed form
(
scripts/gex_gate.py'sblack_scholes_gamma) — identical for calls and puts at the same (S, K, T, sigma), so there's no separate call/put gamma formula to get wrong. - Apply the standard sign convention (call OI: +, put OI: -) and the
standard normalization (
Γ × OI × contract_multiplier × S² × 0.01) — seereferences/methodology.mdfor why that specific scaling. Do not invent a different convention or scaling without calling it out as non-standard. - Attach both disclosures to the output every time, not just in an appendix: the dealer-positioning assumption, and what this snapshot does NOT cover (other expirations, intraday OI changes since the snapshot, OTC/index flow that free listed-equity data can't see).
- Before sharing a GEX report, run it through the audit gate:
python scripts/gex_gate.py --audit report.json. FAIL-severity flags (missing_dealer_assumption_disclosure,missing_coverage_limitation,gex_sum_mismatch,regime_sign_mismatch,flip_point_out_of_range,gamma_walls_mismatch) mean the report is either undisclosed or internally inconsistent — fix before sharing, don't caveat around it. sparse_chain(WARN) does not block sharing, but disclose it: a zero-gamma flip or gamma-wall pick computed from fewer than 5 strikes has real resolution limits worth stating next to the number.- See the sign-bug and disclosure-gate mechanics with no data at all:
python scripts/gex_gate.py --demo.
Guardrails
- Never state a GEX regime as an observed fact. It's always "under the standard assumption that dealers are net short customer flow, OI implies X" — not "dealers are X."
- Never silently choose a non-standard sign convention or scaling constant. If you have a specific reason to deviate from the industry standard, say so explicitly and explain why — don't let it look like the same convention everyone else uses.
- Never present GEX as a directional price forecast. It describes a hedging-flow regime (positive = dealer hedging tends to dampen volatility; negative = tends to amplify it), not a prediction of where price goes next.
- Never claim free listed-equity-options GEX covers a symbol's full dealer hedging book — OTC and index-option flow are frequently the larger piece and are invisible to this data source.
- A report with disclosures present is not automatically trustworthy —
audit_gex_reportalso checks the numbers agree with each other (gex_sum_mismatch,regime_sign_mismatch) so a stale or hand-edited summary doesn't slip through just because the boilerplate caveat is there.
Bundled resources
scripts/gex_gate.py—compute_gex()(Black-Scholes-based, standard sign convention and normalization) plusaudit_gex_report(), the disclosure/consistency gate.--demoreproduces the sign-convention bug flipping a regime call on identical inputs, then shows the gate separate a compliant report from a hollow one and catch a tampered summary.references/methodology.md— the gamma formula, the normalization constant and why it's there, the sign convention and its limits, zero-gamma-flip interpolation, gamma-wall selection, and what this estimate structurally cannot see.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

