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

openocean

OpenOcean DEX aggregator. Best swap rates across 25+ blockchains with cross-chain support.

Why use this skill?

Integrate OpenOcean into your OpenClaw agent to access best swap rates across 25+ blockchains, support for cross-chain swaps, and optimized DeFi execution.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/0xterrybit/openocean
Or

What This Skill Does

The OpenOcean skill enables your AI agent to interact with the OpenOcean DEX aggregator, providing access to the best swap rates across 25+ blockchains. It functions as a powerful gateway for decentralized finance (DeFi) operations, allowing the agent to fetch competitive quotes, calculate optimal routing paths, and generate transaction data for cross-chain and intra-chain swaps. By integrating this skill, your agent can effectively navigate fragmented liquidity pools, ensuring users receive the most efficient trade execution while benefiting from MEV protection and smart routing.

Installation

To integrate this skill into your agent, execute the following command in your terminal: clawhub install openclaw/skills/skills/0xterrybit/openocean

Ensure that your environment is configured for the necessary network requests, as this skill relies on external API communication to fetch real-time market data and transaction payloads from OpenOcean's infrastructure.

Use Cases

  • Automated Portfolio Balancing: Automatically swap idle assets into stablecoins or high-yield tokens when market volatility thresholds are met.
  • Cross-Chain Arbitrage: Identify price discrepancies between different ecosystems (e.g., Ethereum vs. BSC) and execute cross-chain swaps in a single workflow.
  • DeFi Strategy Execution: Enable users to rebalance their yield farming positions or move assets between chains without manually interacting with multiple front-ends.
  • Smart Order Routing: Utilize the aggregator to execute large swaps that minimize slippage by splitting orders across multiple liquidity sources.

Example Prompts

  • "OpenOcean, what is the best swap rate for 1 ETH to USDC on the Arbitrum network, including a 1% referral fee?"
  • "Find the most efficient path to swap 500 USDC from Ethereum to USDT on BSC, providing me with the transaction data."
  • "Calculate the potential output for a swap of 1000 USDT to DAI on Polygon using the OpenOcean aggregator."

Tips & Limitations

  • Referral Fees: This skill is pre-configured with a 1% referral fee, which is automatically collected on-chain. You can adjust this up to 3% based on your needs.
  • Slippage Management: Always define a conservative slippage tolerance to prevent failed transactions during periods of high network congestion.
  • Security: Ensure that the agent is running in a secure environment. As this tool prepares transaction data for your wallet, always verify the destination address and swap details before signing any transactions. Note that this skill requires constant internet connectivity to reach the OpenOcean API endpoints.

Metadata

Stars1054
Views0
Updated2026-02-16
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-0xterrybit-openocean": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#defi#crypto#dex#trading#blockchain
Safety Score: 3/5

Flags: network-access, external-api