/quant-skills:ghost-auto-traderfrom quant-skills
Architects and deploys a zero-DTE options trading pipeline using TradingView webhooks, AI-gate validation via LLM, and broker execution. Useful for building automated trading bots with risk guards.
Ships in quant-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill helps you deploy the Ghost Alpha Trading System for 0DTE options.
This pipeline places live orders on a tool call — the AI gate is the only thing between a signal and a filled position, so the broker you wire in matters as much as the strategy. Before hardcoding a broker API:
broker-mcp-selector skill to choose one, or check
the broker directly in
awesome-broker-mcp.When the user asks to "set up a trading bot" or "build an auto-trader":
main.py webhook listener.auto_trader.py execution engine with the AI gate.scripts/guards.py into the project and call Guard.gate() immediately before every broker call. Run python3 scripts/verify_guards.py in CI; it must exit 0.scripts/guards.py, scripts/verify_guards.py)Guard.gate(order, model_approves, now) returns only {"approve": bool}; reasons go to a JSONL audit log with credentials redacted. Premium is computed in code from price, quantity and the contract multiplier. The model supplies one input, model_approves, so it can veto but never size up (extra size fields are ignored). Any exception, malformed input, corrupt log or failed audit write refuses.
Code-enforced (checked by verify_guards.py):
client_order_id refused; audit entry written before approvalStill prose / not enforced by this code:
order-lifecycle-safety for the environment-proof preflight; the guard does not check itrecord_pnl()This is not a human gate. An agent with filesystem access can edit guards.py, its ceilings, or the audit log, or call the broker directly bypassing the gate. It becomes a human gate only if arming happens in a terminal the agent cannot reach (separate user or machine, credentials the agent process never holds). Without that, treat the guard as a safety net against mistakes and prompt injection, not against a compromised agent.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
options-trading, trading-bot, webhook-trading, ai-gate, risk-management
npx claudepluginhub mphinance/alpha-skills --plugin quant-skills64 skills in this plugin
/0dte-flow0DTE day-trading playbook for a small account — Ghost Alpha signals into Tradier XSP (Mini-SPX) same-day options with strict IFTTT entry/exit rules and hard risk guardrails. Use when Michael wants to run a 0DTE session, size a contract, decide whether a signal qualifies, or apply the exit cascade. This is a DECISION-SUPPORT playbook — it drafts the plan; Michael places every order./backtest-expertExpert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development./batch-scannerOther plugins' skills for the same job