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.
npx skills add okx/plugin-store --skill mainstream-spot-ordergit clone --depth 1 https://github.com/okx/plugin-storeWrote 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.
[](https://agentmods.dev/skills/okx/plugin-store/mainstream-spot-order)<a href="https://agentmods.dev/skills/okx/plugin-store/mainstream-spot-order"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/mainstream-spot-order/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.
<a href="https://agentmods.dev/skills/okx/plugin-store/mainstream-spot-order"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/mainstream-spot-order.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 32 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 474 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 501 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00106 | $0.08104 |
| Opus 5.5 | $0.00042 | $0.03242 |
| Sonnet 5.5 | $0.00021 | $0.01621 |
| Haiku 4.5 | $0.00011 | $0.00810 |
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 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.
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) 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:
- 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. - 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 stringconfirm live trade/确认实盘交易. A conversational "yes / sure / ok / 可以" or simply editingPAPER_TRADE = Falseis NOT sufficient — the typed string MUST come from the live conversation. - 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.
- 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.
What ships with it
17 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.
- .claude-plugin/plugin.json 527 B
- .gitignore 242 B
- backtest.py 2.2 KB runs code
- collect.py 16 KB runs code
- config.py 11 KB runs code
- dashboard.html 45 KB
- LICENSE 807 B
- live.py 16 KB runs code
- okx.py 13 KB runs code
- plugin.yaml 550 B
- prepare.py 7.7 KB runs code
- program.md 2.1 KB
- README.md 1.8 KB
- requirements.txt 97 B
- strategy.py 17 KB runs code
- SUMMARY.md 1.6 KB
- system_diagram.html 24 KB
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.
- 1mo ago First seen · 732 lines · 106 tokens per session scan A 02b0b8eeef4c
mainstream-spot-order is a skill published in the GitHub repository okx/plugin-store (12 stars, last pushed 18d ago), licensed MIT. It adds 106 tokens to every session and 8,104 once invoked, about $0.0004 per session on Opus 5.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.
Other skills, from other repositories
mpp-agent
Pay HTTP 402 APIs via Machine Payments Protocol (MPP).
bridge
Cross-chain token transfers using Wormhole and CCTP.
hyperliquid
Hyperliquid L1 perps DEX (69% market share).
marginfi
MarginFi — Solana lending and borrowing.
token-pick
One token recommendation and one prediction market pick - scored, quantified, with a skip branch when signals are weak.
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…