Cross-Chain Arbitrage for Openclaw

Automate the discovery and execution of profitable price discrepancies across 11 blockchain networks with integrated risk management.

wpank
v0.1.0
Feb 11, 2026
0
1.9k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cross-chain-arbitrage

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cross-chain-arbitrage using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Cross-Chain Arbitrage?

The Cross-Chain Arbitrage skill is a sophisticated tool for Openclaw Skills designed to handle the entire lifecycle of a cross-chain trade. It eliminates the manual effort of monitoring prices across different Layer 1 and Layer 2 networks by simultaneously scanning Uniswap deployments for price gaps. Unlike simple price checkers, this skill performs an exhaustive financial analysis, itemizing every cost component—from source gas and bridge fees to destination slippage—ensuring that only net-profitable opportunities are presented to the user.

Built for high-stakes environments, the skill utilizes ERC-7683 for standardized cross-chain settlement and incorporates a multi-stage subagent pipeline. This architecture allows the agent to act as an opportunity-scanner, risk-assessor, and executor, providing a level of safety and speed that is difficult to achieve manually. Whether you are a professional trader or a developer building DeFi automation, this integration for Openclaw Skills offers a robust framework for navigating market inefficiencies.

Cross-Chain Arbitrage Use Cases

  • Scanning for WETH price differences between Arbitrum and Optimism to capture ephemeral spreads.
  • Generating comprehensive arbitrage research reports in scan-only mode without committing capital.
  • Automating profitable USDC movements across 11 chains to maintain portfolio balance.
  • Executing risk-gated trades where bridge liquidity and settlement times are analyzed before any funds move.

How Cross-Chain Arbitrage Works

  1. The agent initiates an opportunity-scanner subagent to compare token prices across all supported chains.
  2. It performs a pre-flight check on wallet balances and safety status via Uniswap MCP tools.
  3. All-in costs are calculated, including source gas, bridge fees, and estimated slippage on both chains.
  4. Only opportunities exceeding the minimum net profit threshold (default 0.5%) are presented to the user.
  5. Upon selection, a risk-assessor subagent evaluates bridge reliability and liquidity to issue an APPROVE or VETO decision.
  6. If approved and confirmed, the executor buys the token on the cheaper chain and bridges it via ERC-7683.
  7. A final portfolio-analyst subagent generates a post-trade P&L report comparing actual profit against the initial projection.

Cross-Chain Arbitrage Setup

To begin using this skill with Openclaw Skills, ensure your agent wallet is properly configured and funded across the target chains:

# Configure your agent wallet for multi-chain access
setup-agent-wallet --chains all

# Check safety status and balances before scanning
"Check my wallet balance on Base and Ethereum"

# Initiate a scan for specific tokens
"Scan for WETH arbitrage across all chains"

Cross-Chain Arbitrage Data Schema & Taxonomy

The skill processes and generates structured data to ensure transparency in every trade. Key data points include:

Data Component Description
Opportunity Table Ranked list of routes with gross spread, costs, and net profit.
Cost Itemization Breakdowns of source gas, bridge fees, destination gas, and slippage.
Risk Assessment Composite scores covering bridge mechanism, execution risk, and liquidity depth.
Execution Report Transaction hashes, order IDs (ERC-7683), and settlement timestamps.
P&L Analysis A comparison of projected vs. actual net gains after bridge settlement.

Cross-Chain Arbitrage Advanced Features

  • Multi-Subagent Pipeline: Distributes tasks between specialized scanner, assessor, and analyst agents.
  • ERC-7683 Integration: Utilizes the latest standards for cross-chain intent settlement.
  • Scan-Only Mode: Allows users to identify opportunities without immediate execution for market research.
  • Risk-Gated VETO System: Automatically blocks trades if bridge liquidity is low or settlement risk is too high.
  • Time-Sensitivity Awareness: Flags ephemeral opportunities that may expire during the manual confirmation process.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*