ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 4/5

Execute Swap

Execute a Uniswap token swap. Use when user wants to swap, trade, buy, or sell tokens. Handles quotes, safety checks, simulation, and execution autonomously. Supports V2, V3, V4, UniswapX, and cross-chain routing on all supported chains.

Why use this skill?

Automate your Uniswap token swaps on any chain with OpenClaw. Execute trades, handle slippage, and ensure transaction safety with autonomous routing.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/wpank/execute-swap
Or

What This Skill Does

The Execute Swap skill empowers your OpenClaw agent to perform seamless token trades across the Uniswap ecosystem. By integrating directly with Uniswap V2, V3, V4, and UniswapX, this skill acts as an autonomous DeFi trader. It handles the complexities of routing, liquidity aggregation, and chain-specific protocol requirements. When triggered, the skill executes a multi-step workflow involving token resolution, rigorous pre-flight safety checks—such as spending limits and circuit breakers—and atomic transaction simulation before the actual swap is broadcast to the blockchain.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/wpank/execute-swap Ensure your Agentic Uniswap MCP server is active, as this skill relies on the @agentic-uniswap/mcp-server package to facilitate communication with on-chain protocols.

Use Cases

This skill is ideal for users who manage decentralized portfolios and require fast, reliable trade execution without manual interaction with web interfaces. It is perfect for rebalancing assets across chains, converting stablecoins to volatile assets, or liquidating token positions. Because it handles the trade-executor subagent delegation, it is highly effective for complex, automated strategies where slippage tolerance and routing efficiency are paramount.

Example Prompts

  1. "Swap 500 USDC for WETH on base chain with 0.1% slippage."
  2. "Buy 2000 USDT worth of UNI tokens on Ethereum."
  3. "Convert my tokens to ETH using the best available routing."

Tips & Limitations

Always ensure your wallet is sufficiently funded for gas fees on the target chain. While the skill includes a circuit breaker, users should maintain clear spending limits within their configuration to prevent accidental large trades. If a swap fails due to INSUFFICIENT_LIQUIDITY, consider splitting the trade or widening your slippage tolerance. Note that cross-chain swaps may take longer to confirm than native chain trades. Always review the simulation output provided by the agent before final confirmation.

Metadata

Author@wpank
Stars919
Views1
Updated2026-02-12
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-wpank-execute-swap": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#defi#uniswap#crypto#trading#blockchain
Safety Score: 4/5

Flags: network-access, external-api