A comprehensive DeFi automation skill for accessing OKX OnchainOS market data, wallet balances, and DEX swap execution via uxc.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install okx-mcp-skill
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 okx-mcp-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The OKX OnchainOS MCP skill is a powerful extension designed to bridge AI agents with the extensive on-chain data and trading capabilities of OKX. By utilizing this skill within the Openclaw Skills ecosystem, developers can enable their agents to perform complex DeFi tasks across multiple ecosystems including Ethereum, Solana, and Base. It provides a structured interface for querying real-time market prices, analyzing token rankings, and managing wallet balances through a standardized protocol.
Built on top of the uxc utility, this skill ensures that technical workflows remain consistent and secure. It emphasizes a help-first approach where agents can inspect command schemas before execution, reducing errors in transaction planning. Whether you are building a trading bot, a portfolio tracker, or a research assistant, this skill provides the necessary primitives to interact with blockchain data at scale.
Follow these steps to initialize the skill within your environment:
# Configure your OKX API credentials
uxc auth credential set okx-mcp --auth-type api_key --api-key-header OK-ACCESS-KEY --secret-env OKX_ACCESS_KEY
# Bind the credential to the OKX OnchainOS endpoint
uxc auth binding add --id okx-mcp --host web3.okx.com --path-prefix /api/v1/onchainos-mcp --scheme https --credential okx-mcp --priority 100
# Create a local command link for easier access
uxc link okx-mcp-cli https://web3.okx.com/api/v1/onchainos-mcp
The skill organizes operations into four primary domains to streamline data retrieval within Openclaw Skills:
| Domain | Key Operations | Metadata / Purpose |
|---|---|---|
| Market | dex-okx-market-price, dex-okx-market-candlesticks | Provides current and historical price action. |
| Discovery | dex-okx-market-token-search, dex-okx-market-token-ranking | Identifies trending tokens and holder distributions. |
| Wallet | dex-okx-balance-total-value, dex-okx-balance-chains | Aggregates balances across multiple supported networks. |
| Swap | dex-okx-dex-quote, dex-okx-dex-swap | Manages liquidity quotes and transaction payloads. |
Loading
A secure interface for AI agents to interact with Notion workspaces using the Model Context Protocol and UXC CLI.

A robust interface for AI agents to interact with Linear's GraphQL API for issue management and team collaboration.

A high-performance interface for onchain investigation, providing deep access to Ethereum blockchain data via the Etherscan MCP.

A powerful tool for AI agents to discover, query, and visualize blockchain data directly from Dune Analytics.

Automate web browsers through the Model Context Protocol using Playwright and uxc for reliable agentic web interaction.

Enables AI agents to perform subgraph discovery, schema retrieval, and GraphQL execution using The Graph's MCP endpoint.








































