cross-chain-swapExecute a cross-chain token swap via Uniswap's bridge infrastructure. Handles quoting, safety validation, bridge monitoring, and destination confirmation. Use when the user wants to swap tokens across different chains.
Install via ClawdBot CLI:
clawdbot install wpank/cross-chain-swapExecutes a cross-chain token swap ā swapping a token on one chain for a different (or same) token on another chain. Delegates the full workflow to the cross-chain-executor agent, which handles quoting, route evaluation, safety checks, bridge monitoring, and destination confirmation.
Activate when the user asks:
| Parameter | Required | Default | Description |
| ---------------- | -------- | ---------- | ---------------------------------------------------- |
| tokenIn | Yes | ā | Input token symbol or address on source chain |
| tokenOut | Yes | ā | Output token symbol or address on destination chain |
| amount | Yes | ā | Amount to swap (human-readable, e.g., "1.5" or "1000") |
| sourceChain | Yes | ā | Source chain name (e.g., "ethereum", "arbitrum") |
| destChain | Yes | ā | Destination chain name (e.g., "base", "optimism") |
| slippage | No | auto | Slippage tolerance (e.g., "0.5" for 0.5%) |
| recipient | No | Same wallet| Recipient address on destination chain |
mcpuniswapgetSupportedChains.mcpuniswapgetTokenInfo.execute-swap skill instead.Task(subagent_type:cross-chain-executor) with:Cross-Chain Swap Complete
Source: 1.5 ETH on Ethereum
Destination: 2,850.25 USDC on Base
Fees: $3.50 (gas: $2.50, bridge: $1.00)
Settlement: 2 min 35 sec
Source Tx: 0xabc...123
Bridge ID: 0x789...abc
Dest Tx: 0xdef...456
Risk: LOW | Safety: APPROVED
| Error | User-Facing Message | Suggested Action |
| ---------------------------- | ---------------------------------------------------------------- | ------------------------------------ |
| Unsupported chain | "Chain [name] is not supported for cross-chain swaps." | Check supported chains |
| Same chain | "Source and destination are the same chain. Use a regular swap." | Use execute-swap skill |
| Safety veto | "This swap was blocked by safety checks: [reason]." | Reduce amount or check token |
| Risk veto | "Risk assessment vetoed: [reason]." | Choose a different route or amount |
| Bridge stuck | "Bridge settlement is taking longer than expected." | Wait or check order ID manually |
| Bridge failed | "Bridge operation failed. Funds should remain on source chain." | Check source wallet balance |
| Insufficient balance | "Not enough [token] on [chain] to execute this swap." | Check balance and reduce amount |
Generated Mar 1, 2026
A crypto investor wants to move assets from Ethereum mainnet to Layer 2 networks to reduce gas fees while maintaining exposure to different tokens. They need to swap ETH on Ethereum for USDC on Arbitrum to participate in yield farming opportunities with lower transaction costs.
A freelance developer based in Argentina receives payment in USDC on Polygon but needs to convert it to ETH on Ethereum to pay for cloud services billed in cryptocurrency. They require a seamless swap that handles the bridge transfer between chains automatically.
An NFT collector wants to purchase an artwork on the Base chain but only holds ETH on Optimism. They need to execute a cross-chain swap to convert their Optimism ETH to the required currency on Base before making the purchase, without managing multiple wallet interactions.
A DAO treasury holds DAI on Arbitrum but needs to distribute USDT rewards to contributors on Polygon. The organization requires a secure cross-chain swap that validates safety parameters and provides detailed fee breakdowns for transparent accounting.
A migrant worker in the US wants to send funds to family in the Philippines by converting ETH on Ethereum to local stablecoins on Polygon, which can be easily cashed out through local exchanges. They need reliable bridge monitoring during the settlement period.
Generate revenue by charging a percentage fee on each cross-chain swap transaction. The skill can integrate with Uniswap's fee structure while adding a small markup for the convenience of automated bridge handling and safety validation.
License the cross-chain swap functionality as an API service to crypto wallets, exchanges, and DeFi platforms. Enterprises pay subscription fees for access to the automated swap execution with built-in risk assessment and bridge monitoring capabilities.
Package the skill as part of white-label DeFi platforms for banks, fintech companies, or investment firms. Charge setup and maintenance fees while providing customized interfaces that handle cross-chain swaps for their specific user bases.
š¬ Integration Tip
Ensure proper chain name resolution for user-friendly input (e.g., mapping 'mainnet' to 'ethereum') and implement clear error messaging when tokens aren't available on specified chains.
Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.
Query DeFi portfolio data across 50+ chains via Zapper's GraphQL API. Use when the user wants to check wallet balances, DeFi positions, NFT holdings, token prices, or transaction history. Supports Base, Ethereum, Polygon, Arbitrum, Optimism, and more. Requires ZAPPER_API_KEY.
Interact with Solana blockchain via Helius APIs. Create/manage wallets, check balances (SOL + tokens), send transactions, swap tokens via Jupiter, and monitor addresses. Use for any Solana blockchain operation, crypto wallet management, token transfers, DeFi swaps, or portfolio tracking.