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.
npx skills add staskh/trading_skills --skill ib_0dtegit clone --depth 1 https://github.com/staskh/trading_skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/staskh/trading_skills/ib_0dte)<a href="https://agentmods.dev/skills/staskh/trading_skills/ib_0dte"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/ib_0dte/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/staskh/trading_skills/ib_0dte"><img src="https://agentmods.dev/badge/skills/staskh/trading_skills/ib_0dte.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00167 | $0.07945 |
| Opus 5.5 | $0.00067 | $0.03178 |
| Sonnet 5.5 | $0.00033 | $0.01589 |
| Haiku 4.5 | $0.00017 | $0.00795 |
Grade A, and why
ib_0dte scanned grade A with 0 findings 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 2d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.
IB 0DTE Credit Spread Finder & Executor
Default execution route: ema_vix_0dte.py — the EMA9/EMA21 + VIX/VXN regime
strategy. It reads the 12-min IB bars, checks the vol index (VXN ≥ 30 for NDX/QQQ,
VIX ≥ 20 otherwise), and auto-selects bull_put or bear_call from a bare EMA cross (or
skips entirely) before delegating to the spread finder. Optional --rr-gate and
--time-gate add confirmation. Use this unless the user explicitly requests a
manual spread type.
zero_dte.py is the manual override when the user specifies --type bear_call,
--type bull_put, or --type iron_condor directly.
Both scripts share the same spread-finding engine (find → propose → execute on
--execute) and all the same flags. All data comes from IBKR.
Supports cash-settled indices (SPX, NDX, RUT, VIX, XSP, DJX) — which trade as
Index contracts on their home exchange — as well as any optionable stock or ETF.
Prerequisites
TWS or IB Gateway running locally with the API enabled:
- Paper trading: port 7497 (default)
- Live trading: port 7496
Index options require the appropriate index-options market-data entitlement (separate from equity/ETF data). Without it, index quotes will not populate.
Instructions
EMA + VIX/VXN Strategy (recommended — fully automatic signal)
The script checks the vol index, reads the 12-min bars, determines bull_put vs bear_call from the EMA9/EMA21 cross, then calls the spread finder automatically. By default it runs a bare EMA cross with no bar-timing or red→red gate, so it can be run at any time of day. Opt into the confirmation gates per run.
# Dry run (propose only, no order placed) — bare EMA cross.
# Budget auto-sizes to 50% of the account's excess liquidity.
uv run python scripts/ema_vix_0dte.py NDX --account U790497 --port 7496
# With both confirmation gates on (original 10:30-ET behavior)
uv run python scripts/ema_vix_0dte.py NDX --account U790497 --port 7496 \
--rr-gate --time-gate
# Live execution
uv run python scripts/ema_vix_0dte.py NDX --account U790497 --port 7496 --execute
# Explicit budget override (skips the excess-liquidity lookup)
uv run python scripts/ema_vix_0dte.py NDX --budget 50000 --port 7496 \
--account U790497 --execute
# SPX variant
uv run python scripts/ema_vix_0dte.py SPX --account U790497 --port 7496 --execute
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago Changed · +10 lines 1fa36cac0dbc
- 1mo ago Changed · +38 lines 5e73150233b6
- 1mo ago First seen · 416 lines · 167 tokens per session scan A 77582dd32754
ib_0dte is a skill published in the GitHub repository staskh/trading_skills (397 stars, last pushed yesterday), licensed MIT. It adds 167 tokens to every session and 7,945 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.
Other skills, from other repositories
find-cpa-firm
Use whenever the user wants to find, shortlist, vet, or enrich US accounting and tax firms (CPA firms) — financial-statement audit, SOC 1/2 audit, corporate tax, bookkeeping for businesses, advisory/fractional CFO, M&A diligence, 409A valuations, R&D tax credits, IPO readiness, sales-and-use tax. Triggers on "find me…
clawby-data
Query and analyze real financial data for any asset (US stocks / options / crypto / forex / perps / prediction markets) — quotes, volume, short volume & short interest, borrow fee, dark pool, options chain, Reddit sentiment, OHLC bars, FTDs, dividends & splits, stock screener, company financials & SEC filings (income…
fibonacci-trading
Fibonacci retracement and extension trading for NSE/BSE equities. Covers entry zones using retracement levels, profit targets using extension levels, and confluence zone identification. Use when the user asks: "fib levels for [stock]", "Fibonacci retracement", "fib extensions", "where to enter on pullback", "what are…
nse-trading-toolkit
Master orchestrator for Indian NSE/BSE equity trading analysis via Groww broker. Routes to specialized framework skills: technical analysis, position sizing, stop-loss, trailing stops, risk-reward, multi-timeframe, RSI divergence, and Fibonacci trading. Use this skill whenever the user asks to: analyze a stock, check…
technical-analysis
Systematic chart reading and technical analysis for NSE/BSE Indian equities. Covers trend identification, support/resistance mapping, volume analysis, indicator dashboards, and probabilistic scenario building. Uses Groww MCP for live data and yfinance for history. Use when the user asks to: read a chart, identify…
multi-timeframe-analysis
Multi-timeframe analysis using the 3-screen method for NSE/BSE equities. Higher timeframe sets bias, primary timeframe identifies setup, lower timeframe times the entry. Includes confluence scoring system. Use when the user asks: "what's the weekly trend", "daily vs weekly", "multi-timeframe check", "higher timeframe…