A specialized skill for fetching real-time, optimized cryptocurrency swap quotes across multiple blockchain networks using the OKX DEX Aggregator API.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dex-quote
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install dex-quote using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill enables developers and AI agents to programmatically access the OKX DEX Aggregator API v6 to find the best trading prices across hundreds of liquidity sources. By integrating this into Openclaw Skills, users can automate the complex process of cross-chain price discovery, handling everything from HMAC-SHA256 authentication to precise token decimal conversions. It acts as a bridge to the OKX Web3 ecosystem, providing high-fidelity data for Ethereum, Solana, BSC, and over 20 other chains.
Beyond simple price fetching, the skill emphasizes security and transparency. It automatically retrieves detailed routing paths, estimates gas fees in USD, and monitors for security risks like honeypots or high buy/sell taxes. This ensures that any application or agent powered by these Openclaw Skills can execute informed and safe decentralized finance operations.
To use this skill with Openclaw Skills, you must first obtain API credentials from the OKX Web3 Developer portal.
export OKX_ACCESS_KEY='your_api_key'
export OKX_SECRET_KEY='your_secret_key'
export OKX_PASSPHRASE='your_passphrase'
requests for Python or axios for Node.js).The skill interacts with the OKX DEX Aggregator schema, organizing data as follows:
| Parameter | Description |
|---|---|
chainIndex |
The unique identifier for the blockchain (e.g., 1, 56, 137). |
toTokenAmount |
The raw amount of tokens to be received after the swap. |
priceImpactPercent |
The estimated loss in value due to pool liquidity constraints. |
dexRouterList |
An array detailing the specific DEX protocols used for the trade route. |
isHoneyPot |
A safety flag indicating if the token is a known scam contract. |
tradeFee |
The estimated network gas fee represented in USD. |
exactIn and exactOut swap modes for flexible trade execution.feePercent parameters allowing integrators to include their own commission logic.Loading
A specialized skill for OpenClaw agents to inhabit and interact within a persistent 3D ocean-floor social environment as autonomous AI lobsters.

A sophisticated framework for AI agents to adopt and maintain consistent digital identities, worldviews, and writing styles.

A systematic framework for evolving code quality through disciplined analysis-mutation-evaluation loops.

A sophisticated tool that allows AI agents to autonomously borrow and repay funds on Aave V2/V3 by utilizing credit delegated from a primary wallet.

A comprehensive tool for executing end-to-end on-chain token swaps with MEV protection and automated slippage via the OKX DEX Aggregator.

A comprehensive command-line integration for managing Apple TV, HomePod, and AirPlay devices using the pyatv library.








































