/quant-skills:order-lifecycle-safetyfrom quant-skills
Enforces idempotency, reconcile-before-retry, audit-before-forward, and environment-proof preflight rules for broker order paths. Use when handling timeouts, unknown outcomes, or retry safety.
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.
Pure markdown. No dependencies, no code to install. These are the rules an order path must own itself; do not assume an external approval gate exists.
client_order_id on every orderclient_order_id generated by your code, once, before the first send.references/broker-caveats.md.| Repeat of an existing id | Correct behaviour | Label |
|---|---|---|
| Same id, same terms | Return the first result; do not create a second order | REPLAY |
| Same id, different terms | Refuse; never mutate or resubmit under that id | ID_REUSED |
Implement this in your own layer (compare a hash of symbol, side, qty, type, price, TIF). Do not rely on the broker to do it; broker behaviour varies (see caveats).
A timeout, 5xx, dropped connection, or crash after send means the outcome is unknown, not failed.
UNKNOWN in the audit log.UNKNOWN, alert a human. Never blind-retry.UNKNOWN (not FAILED) and go to section 3.If the audit write fails, do not forward: fail closed.
Never infer paper vs live from config, env var names, base URLs, or account-number shape. Config can be wrong or edited.
references/broker-caveats.md. If none does, treat the environment as unproven and require a human to confirm in a terminal the agent cannot reach.See references/ for tables.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
order-lifecycle, broker-safety, idempotency, audit-log, preflight
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-scannerRun the full suite of stock-screening strategies in sequence and export results to Google Sheets (one tab per strategy). Use when Michael wants to run the nightly/weekend scans, refresh the screener tabs, run a specific strategy, or understand which strategies are available and what each surfaces./breadth-chart-analystThis skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the US Stock Market Uptrend Stock Ratio charts. Use this skill when the user provides breadth chart images for analysis, requests market breadth assessment, positioning strategy recommendations, or wants to understand medium-term strategic and short-term tactical market outlook based on breadth indicators. Also works WITHOUT chart images by fetching CSV data directly from public sources. All analysis and output are conducted in English./breakout-trade-plannerGenerate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat management, and Alpaca-compatible order templates (stop-limit bracket for pre-placement, limit bracket for post-confirmation). Use when user has VCP screener results and wants actionable trade plans with entry/stop/target levels and position sizing./broker-mcp-selectorPick a broker MCP server your AI agent can actually execute trades through, and wire it up safely. Use when the user wants to place, submit, or automate real orders; connect an agent to a brokerage account; choose between Alpaca, IBKR, Tradier, Robinhood, Schwab, Kraken and other broker MCP servers; move from analysis to execution; or check whether a broker's MCP server can trade, is read-only, or is safe to connect to real money. This is the "hands" that execute what the rest of the Alpha Skills suite decides.Other plugins' skills for the same job