Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
跨链套利 | Cross-Chain Arbitrage. Uniswap 跨链套利机会 | Uniswap cross-chain arbitrage. 发现不同链上的价格差异 | Find price differences across chains. 触发词:跨链、套利、Uniswap、arbitrage.
跨链套利 | Cross-Chain Arbitrage. Uniswap 跨链套利机会 | Uniswap cross-chain arbitrage. 发现不同链上的价格差异 | Find price differences across chains. 触发词:跨链、套利、Uniswap、arbitrage.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
This skill automates the discovery and execution of cross-chain arbitrage opportunities -- finding price differences for the same token across Uniswap deployments on different chains and profiting from the spread. It handles the entire pipeline: scanning prices across 11 chains, calculating all-in costs, risk assessment, cross-chain execution via ERC-7683, and profit reporting. Why this is 10x better than doing it manually: Simultaneous multi-chain price scanning: Manually checking ETH prices on Ethereum, Base, Arbitrum, Optimism, Polygon, and 6 other chains takes significant effort. The opportunity-scanner does this across all supported chains in seconds. All-in cost calculation: The most common arbitrage mistake is ignoring costs. This skill itemizes every cost component (source gas, bridge fee, destination gas, slippage on both sides) and only presents opportunities that are profitable after all costs. Time-sensitivity awareness: Arbitrage opportunities are ephemeral -- they can disappear in seconds. The skill warns about this throughout and moves quickly, but honestly flags when an opportunity may have closed by the time the user confirms. Risk-gated execution: Before any capital moves, the risk-assessor evaluates bridge risk, execution risk, and liquidity. A VETO stops the pipeline. Scan-only mode: Not ready to execute? Use scan-only mode to just see what opportunities exist without committing capital.
Activate when the user says anything like: "Find ETH arbitrage across chains" "Cross-chain arb opportunities" "Are there any price differences for WETH across chains?" "Profit from price differences" "Scan for arbitrage on Base vs Ethereum" "Is there an arb opportunity for USDC?" "Cross-chain arbitrage with $5K" "Just scan for arb -- don't execute" (scan-only mode) Do NOT use when the user wants a same-chain swap (use execute-swap), wants to bridge without arbitrage (use bridge-tokens), or wants general LP yield opportunities (use scan-opportunities or find-yield).
ParameterRequiredDefaultHow to ExtracttokenNoTop 5 tokensToken to check: "WETH", "USDC", or scan top tokens by defaultchainsNoallChains to scan: "all", or specific list like "ethereum, base"minProfitNo0.5%Minimum net profit threshold after ALL costsmaxAmountNo--Maximum capital to deploy per opportunityriskToleranceNomoderate"conservative", "moderate", "aggressive"modeNoexecute"execute" (full pipeline) or "scan" (scan-only, no execution) If mode is "scan" or the user says "just scan" / "don't execute" / "show me opportunities", skip Steps 3-4 and only present the opportunity report.
CROSS-CHAIN ARBITRAGE PIPELINE ┌─────────────────────────────────────────────────────────────────────┐ │ │ │ Step 1: SCAN (opportunity-scanner) │ │ ├── Compare token prices across all chains │ │ ├── Calculate gross profit for each discrepancy │ │ ├── Itemize ALL costs (gas, bridge, slippage) │ │ ├── Filter: only net profit > minProfit │ │ └── Output: Ranked Arbitrage Opportunities │ │ │ │ │ ▼ │ │ ┌───────────────────────────────────────────────────┐ │ │ │ SCAN-ONLY MODE? │ │ │ │ Yes → Present report, STOP. │ │ │ │ No → Continue to Step 2. │ │ │ └───────────────────────────────────────────────────┘ │ │ │ │ │ ▼ USER SELECTION │ │ ┌───────────────────────────────────────────────────┐ │ │ │ Present opportunities to user. │ │ │ │ User picks which opportunity to execute. │ │ │ │ WARN: "Opportunity may expire before execution." │ │ │ └───────────────────────────────────────────────────┘ │ │ │ │ │ ▼ │ │ │ │ Step 2: RISK CHECK (risk-assessor) │ │ ├── Evaluate bridge risk (mechanism, settlement time) │ │ ├── Evaluate execution risk (slippage, speed) │ │ ├── Evaluate liquidity on both chains │ │ ├── Decision: APPROVE / VETO / HARD_VETO │ │ └── Output: Risk Assessment │ │ │ │ │ ▼ CONDITIONAL GATE │ │ ┌───────────────────────────────────────────────────┐ │ │ │ APPROVE → Proceed with confirmation │ │ │ │ VETO / HARD_VETO → STOP with report │ │ │ └───────────────────────────────────────────────────┘ │ │ │ │ │ ▼ USER CONFIRMATION │ │ ┌───────────────────────────────────────────────────┐ │ │ │ "Execute this arb? Opportunity may have shifted │ │ │ │ since scan. Confirm to proceed." │ │ │ └───────────────────────────────────────────────────┘ │ │ │ │ │ ▼ │ │ │ │ Step 3: EXECUTE (cross-chain-executor) │ │ ├── Buy on cheaper chain │ │ ├── Bridge to expensive chain via ERC-7683 │ │ ├── Monitor bridge settlement │ │ ├── (Sell on expensive chain if needed) │ │ └── Output: Execution Report │ │ │ │ │ ▼ │ │ │ │ Step 4: REPORT (portfolio-analyst) │ │ ├── Calculate actual profit/loss after all costs │ │ ├── Compare to projected profit │ │ └── Output: P&L Report │ │ │ └─────────────────────────────────────────────────────────────────────┘
Before starting: Check safety status via mcp__uniswap__check_safety_status. Check wallet balances via mcp__uniswap__get_agent_balance on relevant chains. If wallet has no funds, stop and inform the user.
Cross-Chain Arbitrage Complete Route: {token}: {source_chain} -> {dest_chain} Amount: ${amount} Net P&L: +${net_profit} ({net_pct}%) Time: {total_elapsed} Cost Breakdown: Gas: ${gas} Bridge: ${bridge_fee} Slippage: ${slippage} Pipeline: Scan -> Risk -> Execute -> Report (all passed)
Cross-Chain Arbitrage Scan Scanned: {n_tokens} tokens across {n_chains} chains Found: {n_opportunities} opportunities (> {minProfit}% net profit) {opportunity table} To execute: "Cross-chain arb, execute opportunity #N"
Cross-Chain Arbitrage -- Risk Vetoed Opportunity: {token} {source} -> {dest} ({gross_spread}% gross) Risk: VETOED — {reason} {risk dimension details} Pipeline: Scan -> Risk (VETOED) -- No execution.
Arbitrage opportunities are ephemeral. By the time the user reads the scan results and confirms, the price discrepancy may have closed. The skill warns about this prominently and does not guarantee profits. All-in cost calculation is critical. Never present gross spread as profit. Always itemize and subtract: source gas, bridge fee, destination gas, slippage on both sides. An opportunity showing 0.8% gross might be 0.2% net (or even negative). Bridge settlement time is the main risk. During the 1-10 minute bridge settlement, the price on the destination chain can move, eliminating or even reversing the profit. The risk-assessor factors this in. Scan-only mode is the safe default. If unsure whether the user wants to execute, default to scan-only. They can always say "execute #1" afterward. Not every scan will find opportunities. Well-arbitraged tokens (WETH, USDC) rarely have spreads > 0.5% after costs. Set expectations accordingly. Gas costs matter more for small amounts. A $100 arb with $15 in total costs is barely profitable. Warn about this for small trade sizes. This is NOT risk-free. Despite the word "arbitrage," cross-chain arb carries real risk: bridge failure, price movement during settlement, smart contract risk. Always present it as a risky activity.
ErrorUser-Facing MessageSuggested ActionNo opportunities found"No arb opportunities above {minProfit}% net profit across {chains}."Lower minProfit or try different tokensOpportunity expired"Price discrepancy has closed since scan. Opportunity no longer profitable."Re-scan for fresh opportunitiesRisk-assessor VETO"Risk assessment vetoed: {reason}."Try smaller amount or different routeRisk-assessor HARD_VETO"Blocked: {reason}. Bridge liquidity may be insufficient."Cannot proceed with this opportunityBridge failed"Bridge operation failed. Funds should remain on {source_chain}."Check source wallet balanceBridge stuck"Bridge settlement delayed ({elapsed} vs {expected}). Monitoring..."Wait or check order ID manuallySource chain swap failed"Failed to buy {token} on {source_chain}: {reason}."Check balance and gasInsufficient balance"Not enough {token} on {source_chain}: have ${X}, need ${Y}."Reduce amount or bridge funds firstSafety limit exceeded"Trade amount exceeds safety spending limits."Reduce amount or adjust limitsWallet not configured"No wallet configured for transactions."Set up wallet with setup-agent-walletUser declines confirmation"Arbitrage cancelled. Scan results shown above for reference."No action neededProfit less than projected"Actual profit (${X}) was less than projected (${Y}) due to price movement."Expected for ephemeral opportunitiesNegative profit (loss)"This trade resulted in a loss of ${X} due to price movement during settlement."Inherent risk of cross-chain arbitrage
Data access, storage, extraction, analysis, reporting, and insight generation.
Largest current source with strong distribution and engagement signals.