
Pulls real-time token prices, OHLC candlestick data, and wallet PnL analytics from OKX's on-chain APIs. Handles the usual pain points like chain name resolution, token address lookup, and proper decimal formatting. The portfolio commands are solid for tracking DEX trade history and realized/unrealized gains across supported chains. Watch out for geo-restrictions (UK users get blocked from DEX endpoints) and some quirks like Solana requiring wrapped SOL addresses for price queries. Good for building trading dashboards or wallet analytics without wrestling with multiple DEX APIs yourself.
$ npx -y skills add okx/onchainos-skills --skill okx-dex-market --agent claude-codeInstalls into .claude/skills of the current project.
Query read-only DEX token, market, signal, social, trenches, and WebSocket data. Route writes and protocol-specific actions to the owning skill before executing a DEX command.
Preflight checks: At the start of each thread, complete the checks in ../okx-agentic-wallet/_shared/preflight.md. If missing, read _shared/preflight.md.
okx-dapp-discovery. Polymarket and supported-asset up/down phrases for BTC/ETH/SOL/XRP/BNB/DOGE/HYPE also route there. Example: "BTC 5-minute up/down market" routes to okx-dapp-discovery, not kline or price.okx-dapp-discovery. Analytical bundle/sniper detection requests remain in Trenches; apply the detailed rule in trenches.md.| User intent | Reference |
|---|---|
| Search/rank tokens; metadata; detailed price information; liquidity; holders; top traders; trades; risk metadata; or holder clusters | token.md |
| Single/batch prices; K-line/OHLC; index price; wallet PnL, win rate, or DEX trade history | market.md |
| Smart-money/KOL/whale feeds; custom-address tracking; aggregated buy signals; or a top-trader leaderboard | signal.md |
| News; market/per-coin sentiment; token vibe/hotness; or token KOL leaderboard | social.md |
| Meme launches; developer/rug history; bundle/sniper detection; or co-investor wallets | trenches.md |
Real-time onchainos ws monitoring or a custom WebSocket client | ws.md |
When a request spans modules, resolve the missing input first—for example use Token to resolve a contract address before Social vibe—and then load the next module Reference.
--help or the CLI Reference.--help only when the Reference lacks a needed detail or the installed CLI differs.notifications[]. If it is non-empty, load _shared/payment-notifications.md, render every matching notification, and follow its confirming: true procedure. If it is absent or empty, continue normally.okx-agentic-wallet (onchainos security token-scan) regardless of any other matching DEX capability.Use ../okx-agentic-wallet/_shared/chain-support.md as the canonical chain list. If it is unavailable, use the synchronized fallback at _shared/chain-support.md.
Sponsors