Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/mphinance/alpha-skillsnpx agentmods add skills/mphinance/alpha-skills/0dte-flowWrote 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/mphinance/alpha-skills/0dte-flow)<a href="https://agentmods.dev/skills/mphinance/alpha-skills/0dte-flow"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/0dte-flow.svg" alt="Measured on agentmods" 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.00098 | $0.01085 |
| Opus 5 | $0.00049 | $0.00543 |
| Sonnet 5 | $0.00020 | $0.00217 |
| Haiku 4.5 | $0.00010 | $0.00109 |
Grade A, and why
0dte-flow 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 7d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -H "Authorization: Bearer $TRADIER_TOKEN" \ How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
0DTE Day-Trading Flow
Ghost Alpha A+/A signals → Tradier XSP 0DTE options → same-day close.
Why XSP
XSP (Mini-SPX) is 1/10th of SPX, cash-settled / European (no assignment risk), with 0DTE M/W/F on Tradier. Cheap enough for a small account. Fallback: if XSP isn't tradeable, use SPY 5+ OTM ($0.10–$0.30).
Position sizing (example: $75 account)
| Rule | Value |
|---|---|
| Max per trade | $30 |
| Buffer | $10 |
| Trades per day | 2 sequential (never concurrent) |
| Strike | 2–3 OTM ($0.15–$0.50/contract) |
| Max daily loss | $60 (2 full losers = walk away) |
Entry — ALL must hold
Ghost Alpha Grade ≥ B on SPY 5min
AND signal = mega_bull OR mega_bear
AND RVOL > 1.2
AND time 9:30–11:30 AM ET
AND trend_age < 15 bars
AND no open 0DTE position
Exit cascade — first match wins
| # | Type | IF | THEN |
|---|---|---|---|
| S1 | 🔴 Hard stop | Loss ≥ -50% | SELL (non-negotiable) |
| S2 | 🔴 Grade death | Grade → D/F | SELL (thesis dead) |
| S3 | 🔴 Reversal | Signal flips bull↔bear | SELL (wrong side) |
| T1 | ⏰ EOD | Time ≥ 2:30 PM ET | SELL (theta cliff) |
| P1 | 🟢 Double | Gain ≥ +100% | SELL (take the W) |
| P2 | 🟢 Fading | Gain ≥ +30% AND Grade → C | SELL (lock it) |
| P3 | 🟢 Afternoon | Gain ≥ +50% AND time > 1 PM | SELL (theta) |
| T2 | ⏰ Dead money | Time ≥ 12 PM AND ±10% | SELL (free up trade 2) |
Re-entry: Trade 2 only if Trade 1 closed, buying power ≥ $20, and a new A+/A signal fires. Two losers → DONE for the day.
Guardrails (NON-NEGOTIABLE)
Max 1 open position · auto-close 2:30 PM ET · no averaging down EVER · Grade floor B · entries 9:30–11:30 AM only · no Friday 0DTE (witching risk).
Tradier order reference
Option symbol format: XSP260310C00675000 = XSP · 2026-03-10 · Call · $675.
# Today's chain
curl -s -H "Authorization: Bearer $TRADIER_TOKEN" \
"https://api.tradier.com/v1/markets/options/chains?symbol=XSP&expiration=$(date +%Y-%m-%d)"
# Buy to open
curl -s -X POST -H "Authorization: Bearer $TRADIER_TOKEN" \
"https://api.tradier.com/v1/accounts/$ACCOUNT_ID/orders" \
-d "class=option&symbol=XSP&option_symbol=XSP260310C00675000&side=buy_to_open&quantity=1&type=limit&price=0.35&duration=day"
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.
- 7d ago First seen · 94 lines · 98 tokens per session scan A 294e29e52aea
0dte-flow is a skill published in the GitHub repository mphinance/alpha-skills (21 stars, last pushed 9d ago), licensed MIT. It adds 98 tokens to every session and 1,085 once invoked, about $0.0005 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-30.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
vectorbt
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics.