A powerful command-line utility for executing token swaps and trades on the Base network via Openclaw Skills.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install trade
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 trade using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Trade skill is an essential component of Openclaw Skills designed for developers and AI agents to perform on-chain asset exchanges. By leveraging the CDP Swap API, this skill allows users to convert between tokens like USDC, ETH, and WETH with high precision and minimal configuration. It bridges the gap between terminal-based workflows and decentralized finance, providing a robust interface for liquidity management directly on the Base network.
Integrating this skill into your environment empowers your AI agents to manage portfolios and execute trades autonomously or through user-driven commands. Whether you are building automated trading bots or looking for a faster way to swap assets without a GUI, the Openclaw Skills trade module offers the flexibility and security required for modern blockchain interactions.
First, verify your authentication status within the Openclaw Skills ecosystem:
npx awal@latest status
If the wallet is not authenticated, refer to the authenticate-wallet skill. Once ready, you can perform a swap using the following syntax:
npx awal@latest trade <amount> <from> <to> [options]
Example of a $1 USDC to ETH swap:
npx awal@latest trade '$1' usdc eth
The Trade skill processes inputs and provides outputs according to the following structures:
| Alias | Token Name | Decimals | Contract Address |
|---|---|---|---|
| usdc | USD Coin | 6 | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
| eth | Ethereum | 18 | 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE |
| weth | Wrapped ETH | 18 | 0x4200000000000000000000000000000000000006 |
'$1.00' (Always use single quotes for shell safety).0.50 or 0.001.5 or 100.500000 (auto-detected based on token decimals).--chain option (defaults to Base) within Openclaw Skills.--slippage flag.Loading
Enable your AI agent to send USDC to any Ethereum address or ENS name on the Base network instantly.

A specialized tool for discovering, searching, and inspecting paid API services within the x402 bazaar marketplace.

A tool for AI agents to automatically pay for and call paid API services using USDC on the Base network.

A developer tool for building Express servers that charge USDC for API access via the x402 payment protocol.

A protocol and toolset for discovering, inspecting, and making automated USDC payments to API endpoints directly via an AI agent.

A comprehensive CLI tool for monitoring cryptocurrency wallets, DeFi positions, and gas prices across multiple blockchain networks.








































