mainstream-spot-order

A cryptocurrency spot-trading system for six tokens across four blockchain networks, using 15-minute market data and six trading signals.

In plain words
What is it for?
Use it to research and optimise strategies, backtest individual token pairs, collect market data, and run paper or explicitly confirmed live trades.
Why use it?
It provides one workflow for collecting data, testing strategies, and running trades while defaulting to paper trading before real transactions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/okx/plugin-store/mainstream-spot-order
Any agent
npx skills add okx/plugin-store --skill mainstream-spot-order
Clone the repo
git clone --depth 1 https://github.com/okx/plugin-store

Made for: Claude Code, Codex.

Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,104 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00106 $0.08104
Opus 5 $0.00053 $0.04052
Sonnet 5 $0.00021 $0.01621
Haiku 4.5 $0.00011 $0.00810

Measured 2d ago against content hash 02b0b8eeef4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mainstream-spot-order 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 2d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (backtest.py, collect.py, config.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **No pip packages** — stdlib only (math, csv, json, os, time, subprocess, urllib)
skills/mainstream-spot-order/SKILL.md · 732 lines

How it starts

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

Mainstream Spot Order — Multi-Chain DEX Trading System

A 15-minute timeframe spot trading system across 6 mainstream tokens on 4 chains, with AI-driven auto-research strategy optimization.


Disclaimer

This system trades real cryptocurrency. Spot trading carries substantial risk of loss. Past backtest performance does not guarantee future results. Market conditions change. You are solely responsible for any financial losses incurred. Always start with paper trading (PAPER_TRADE = True) and only switch to live after extensive validation.


Live Trading Confirmation Gate

These gates are mandatory for the AI agent driving this skill. Before any real on-chain swap (onchainos swap swap, onchainos wallet contract-call, or any other write surface that broadcasts an Agentic Wallet TEE-signed transaction), ALL of the following MUST hold:

  1. Paper mode is the default. PAPER_TRADE = True (and any other paper / preview / dry-run flag) MUST remain the default. Real swaps MUST NOT be broadcast unless the user has explicitly switched to live mode via rule 2.
  2. Typed confirmation required. To switch a session from PAPER to LIVE the agent MUST first display the active wallet address, per-chain balance, the per-trade and daily notional caps from config.py, and the irreversibility / MEV / slippage exposure of on-chain swaps. The user MUST then reply with the exact typed string confirm live trade / 确认实盘交易. A conversational "yes / sure / ok / 可以" or simply editing PAPER_TRADE = False is NOT sufficient — the typed string MUST come from the live conversation.
  3. Preview before every write. Each swap MUST first run a quote / dry-run and show the user the resolved fields (chain, pair, side, size in base + quote, expected min-out, slippage, gas). The user confirms per trade — or, within an active session-level rule-2 token, only if the trade is within the caps surfaced in rule 2.
  4. Refuse on gate failure. If any of rules 1–3 cannot be satisfied, refuse and tell the user which gate failed. Do NOT "broadcast with a warning" or rely on the user having typed the confirmation in an earlier session.

Read the full file on GitHub · 732 lines

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. 2d ago First seen · 732 lines · 106 tokens per session scan A 02b0b8eeef4c

Subscribe to this mod's changes

mainstream-spot-order is a skill published in the GitHub repository okx/plugin-store (11 stars, last pushed 1mo ago), licensed MIT. It adds 106 tokens to every session and 8,104 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.

Related

Other skills, from other repositories

defi-yield

DeFi yield analysis and optimization — lending rates, LP yields, staking returns, yield farming strategies, risk-adjusted yield comparison, and protocol-level sustainability assessment.

HKUDS/Vibe-Trading · 37 tokens

okx-market

OKX cryptocurrency market data interface. Uses the OKX V5 REST API to retrieve spot, derivatives, index, and other crypto market data, including real-time prices, candlesticks, funding rates, open interest, and more. No authentication required, free to use.

HKUDS/Vibe-Trading · 59 tokens

tres-data-collection-commit

Trigger on-chain data collection (a "Commit") in Tres Finance for wallets that have already been onboarded. Use this skill whenever the user wants to collect data, pull balances, sync wallets, refresh on-chain data, run a commit, trigger a commit, or "collect" anything in Tres. This is the second step of the Tres…

anthropics/claude-plugins-community · 159 tokens

ansem-crypto

Use when evaluating crypto narratives, attention rotation, memecoin cycles, Solana-style ecosystem momentum, social distribution, and reflexive retail flows in an Ansem-style crypto market framework.

questflowai/investorskills · 41 tokens

arthur-hayes-liquidity

Use when evaluating crypto markets through an Arthur Hayes-style liquidity lens: dollar liquidity, funding, risk appetite, cycle psychology, and macro-driven crypto positioning.

questflowai/investorskills · 38 tokens

portfolio

Cross-chain DeFi portfolio discovery, rebalancing suggestions, and NEAR Intent construction. Activates when the user pastes a wallet address or asks about yield/positions/rebalancing. Bootstraps a per-user "portfolio" project, aggregates positions across all the user's addresses inside one project, and offers a…

suyoumo/ClawProBench · 69 tokens