ghost-auto-trader

ghost-auto-trader is a skill for Claude Code from mphinance/alpha-skills. It costs 37 tokens per session (992 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 — 61 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 61 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 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 992 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.00037 $0.00992
Opus 5.5 $0.00015 $0.00397
Sonnet 5.5 $0.00007 $0.00198
Haiku 4.5 $0.00004 $0.00099

Measured 21d ago against content hash 0dbdf49d3d4e, 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 21d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/guards.py, scripts/verify_guards.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 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. Copy 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.

Read the full file on GitHub · 58 lines

Files

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.

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. 21d ago Changed · +20 lines · +37 tokens per session 0dbdf49d3d4e
  2. 2mo 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 (34 stars, last pushed 22d ago), licensed MIT. It adds 37 tokens to every session and 992 once invoked, about $0.0001 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-14.

Related

ghost-auto-trader compared with skills from other repositories

ghost-auto-trader next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ghost-auto-tradermphinance/alpha-skillsSkill3422d agoMITA37Claude Code
aws-cost-cleanupsickn33/agentic-awesome-skillsSkill51ktodayMITA15Claude Code
aws-cost-operationssickn33/agentic-awesome-skillsSkill51ktodayMITA44Claude Code
estimating-aws-workload-costsaws/agent-toolkit-for-awsSkill3.8ktodayApache-2.0A173Claude Code, Codex
azure-computemicrosoft/skillsSkill3.3kyesterdayMITA154Claude Code
azure-costmicrosoft/skillsSkill3.3kyesterdayMITA94Claude Code
cost-estimationmicrosoft/skillsSkill3.3kyesterdayMITA97Claude Code