Use this skill to swap, trade, buy, sell, exchange, or convert tokens, get a swap quote, execute a trade, find the best or cheapest swap route, compare swap rates, get swap calldata, or build an unsigned swap tx across XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, or 20+ chains. OKX-aggregated routing over 500+ DEX sources with slippage control, price-impact protection, and cross-DEX route optimization. For OKX-aggregated swaps with no named venue. If the prompt names a specific DApp as the swap venue (Polymarket, Aave, Hyperliquid, PancakeSwap, Morpho, Raydium, Curve, Compound, Pendle, Lido, ether.fi, GMX, Kamino, Orca, Meteora, Clanker, pump.fun, Uniswap), route to okx-dapp-discovery instead, e.g. 'swap on PancakeSwap', 'swap SOL for USDC on Raydium', '在 Curve 上换 USDT', 'swap on Uniswap'. Use ONLY for OKX-routed swaps the user opted into by naming OKX/OnchainOS, a DEX/DApp venue, or an OKX-specific chain; for a plain three.ws-native Base/Polygon swap the user did not route through OKX, defer to the trade skill.
$npx -y skills add nirholas/three.ws --skill okx-dex-swapInstalls into the current project.
Run `npx skills use "https://github.com/nirholas/three.ws" --skill "nirholas/three.ws/okx-dex-swap"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/nirholas/three.ws" that are relevant to the current task. Run `npx skills add "https://github.com/nirholas/three.ws"` and select the relevant skills, then follow their instructions.