ghost-auto-trader

ghost-auto-trader is a skill for Claude Code from mphinance/alpha-skills. It costs 0 tokens per session (524 once invoked), scanned A, original, MIT.

A deployment guide for an automated zero-day options trading system. It connects TradingView alerts to a web service, asks an AI check to validate signals, and can send approved orders to a broker.

In plain words
What is it for?
Use it to build a pipeline for zero-day-to-expiration options, where the options expire that same day. It covers alert reception, AI validation, order execution, profit and loss limits, and time-based exits.
Why use it?
It describes the wiring needed to move from a market alert to broker execution, including position monitoring and scheduled exits. Because it can place live orders, it requires careful broker and risk setup.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quant-skills plugin — 60 skills shipped together

Good fit Use it to build a pipeline for zero-day-to-expiration options, where the options expire that same day. It covers alert reception, AI validation, order execution, profit and loss limits, and time-based exits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mphinance/alpha-skills/ghost-auto-trader
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.

Any agent
npx skills add mphinance/alpha-skills --skill ghost-auto-trader
Clone the repo
git clone --depth 1 https://github.com/mphinance/alpha-skills

Made for: Claude Code.

Or install quant-skills, the plugin that ships this one along with the rest of its 60 skills.

Wrote 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.

agentmods badge for ghost-auto-trader

README.md
[![agentmods](https://agentmods.dev/badge/skills/mphinance/alpha-skills/ghost-auto-trader/github.svg)](https://agentmods.dev/skills/mphinance/alpha-skills/ghost-auto-trader)
Your own site
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/ghost-auto-trader"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/ghost-auto-trader/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.

agentmods 80×15 button for ghost-auto-trader

Your own site · 80×15
<a href="https://agentmods.dev/skills/mphinance/alpha-skills/ghost-auto-trader"><img src="https://agentmods.dev/badge/skills/mphinance/alpha-skills/ghost-auto-trader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00524
Opus 5.5 $0.00000 $0.00210
Sonnet 5.5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00052

Measured 1mo ago against content hash 1c9fdb58afbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ghost-auto-trader 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 1mo 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.

plugins/quant-skills/skills/ghost-auto-trader/SKILL.md · 38 lines

How it starts

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

Ghost Auto-Trader Architecture

This skill helps you deploy the Ghost Alpha Trading System for 0DTE options.

Architecture Pipeline

  1. Signal Generation: TradingView fires a "Ghost Alpha Grade A" alert based on momentum squeeze metrics.
  2. Webhook Receiver: A Python FastAPI/Flask backend receives the signal payload containing ticker, timeframe, grade, and relative volume.
  3. The AI Gate: The payload is sent to an LLM (e.g., Gemini Flash) for immediate contextual validation (checking macro alignment and news sentiment).
  4. Execution: If the AI gate approves, the system automatically buys the ATM/OTM 0DTE option via the broker API (e.g., Tradier).
  5. Position Management: A rigid 30-second monitor loop enforces +50% Take Profit, -40% Stop Loss, and a hard 3:00 PM ET time-based exit.

Choosing the execution broker

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:

  • Use the broker-mcp-selector skill to choose one, or check the broker directly in awesome-broker-mcp.
  • The default here, Tradier, is live on a tool call — there is no broker-enforced approval step, so your risk parameters and the AI gate are the entire guardrail. Size and test accordingly.
  • Paper/sandbox first. Run the full pipeline against a paper account for far longer than feels necessary before pointing it at real money. Prompt injection into the signal or news feed reaches the order in this design.

Usage

When the user asks to "set up a trading bot" or "build an auto-trader":

  1. Scaffold the main.py webhook listener.
  2. Scaffold the auto_trader.py execution engine with the AI gate.
  3. Ensure strict risk management parameters are hardcoded.

Read the full file on GitHub · 38 lines

Files

What ships with it

1 file 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.

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. 1mo ago First seen · 38 lines · 0 tokens per session scan A 1c9fdb58afbf

Subscribe to this mod's changes

ghost-auto-trader is a skill published in the GitHub repository mphinance/alpha-skills (28 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 524 tokens. 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-14.

Related

Other skills, from other repositories

aws-cost-operations

AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture.

sickn33/agentic-awesome-skills · 44 tokens

aws-cost-cleanup

Automated cleanup of unused AWS resources to reduce costs.

sickn33/agentic-awesome-skills · 15 tokens

azure-compute

Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost…

microsoft/skills · 154 tokens

azure-cost

Azure cost management: query costs, forecast spending, optimize to reduce waste. WHEN: "Azure costs", "Azure bill", "cost breakdown", "how much am I spending", "forecast spending", "optimize costs", "reduce spending", "orphaned resources", "rightsize VMs", "cost spike", "reduce storage costs", "AKS cost". DO NOT USE…

microsoft/skills · 94 tokens

cost-estimation

Forecast Azure spend and price planned resources or workloads. WHEN: "forecast Azure spending", "project next month cost", "compare forecast to my planning target", "how much will Azure cost", "estimate VM cost", "compare storage tiers", "compare Azure regions", "retail price", "EA rate card", "negotiated pricesheet".…

microsoft/skills · 97 tokens

cost-governance

Govern Azure costs with budgets, alerts, tags, and policy restrictions. WHEN: "Azure budget health", "configured budget overrun", "list Azure budgets", "create Azure budget", "budget alerts", "budget coverage", "missing CostCenter tags", "allowed VM SKUs", "allowed Azure regions", "would this SKU be denied", "cost…

microsoft/skills · 99 tokens