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

cross-chain-swap

Execute 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.

Why use this skill?

Learn how to use the OpenClaw cross-chain-swap skill to bridge and exchange assets across different blockchains securely and efficiently using Uniswap infrastructure.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/wpank/cross-chain-swap
Or

What This Skill Does

The cross-chain-swap skill is a specialized agent capability designed to facilitate seamless asset transfers between disparate blockchain networks. By leveraging Uniswap's robust bridge infrastructure, this skill abstracts the complex technical requirements of bridging assets, managing cross-chain liquidity, and navigating diverse gas fee structures. The agent handles the end-to-end lifecycle of a swap, including sourcing quotes, performing safety and risk assessments, executing the transaction, and providing real-time monitoring of bridge status until settlement is confirmed on the destination chain. It effectively acts as a orchestrator for the cross-chain-executor subagent, ensuring that users can move liquidity across networks like Ethereum, Arbitrum, Base, and Optimism without needing to interact with multiple protocol interfaces or manual bridge bridges.

Installation

To integrate this skill into your OpenClaw agent instance, execute the following command in your terminal: clawhub install openclaw/skills/skills/wpank/cross-chain-swap This installs the necessary dependencies and registers the skill within your agent's active execution context.

Use Cases

This skill is ideal for DeFi power users, liquidity providers, and anyone needing to rebalance their portfolio across multiple Layer-2 solutions. Primary use cases include:

  • Optimizing yield by moving assets to chains with higher farming returns.
  • Converting assets across ecosystems (e.g., swapping native ETH on Ethereum for USDC on Base).
  • Consolidating multi-chain assets into a single chain for simplified management.
  • Executing arbitrage opportunities where price discrepancies exist between networks.

Example Prompts

  1. "Swap 2 ETH on Ethereum for USDC on Arbitrum with minimal slippage."
  2. "I need to move 500 USDC from Base to Optimism and convert it to WETH. Please handle the bridge."
  3. "Exchange my mainnet ETH for USDC on Base and make sure the transaction is secure."

Tips & Limitations

  • Chain Validation: Always verify that your source and destination chains are enabled via mcp__uniswap__getSupportedChains before attempting a swap.
  • Slippage: For high-volatility tokens, consider setting a custom slippage parameter rather than using the default 'auto' mode to ensure execution success.
  • Same-Chain Swaps: If the source and destination are the same, the system will automatically reroute to the standard execute-swap skill, which is more cost-efficient.
  • Safety: The agent includes built-in risk assessment. If a bridge route is deemed high-risk, the agent will prompt for manual confirmation or abort the transaction. Always review the 'Risk' and 'Safety' output fields carefully.

Metadata

Author@wpank
Stars919
Views0
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-cross-chain-swap": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#crypto#defi#bridge#web3#blockchain
Safety Score: 3/5

Flags: network-access, external-api, code-execution