cross-chain-arbitrage
Find and execute cross-chain arbitrage opportunities. Scans prices across all chains, evaluates profitability after all costs (gas, bridge fees, slippage), assesses risk, and executes if profitable. Uses ERC-7683 for cross-chain settlement. Supports scan-only mode for research without execution.
What this skill does
# Cross-Chain Arbitrage
## Overview
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:**
1. **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.
2. **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.
3. **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.
4. **Risk-gated execution**: Before any capital moves, the risk-assessor evaluates bridge risk, execution risk, and liquidity. A VETO stops the pipeline.
5. **Scan-only mode**: Not ready to execute? Use scan-only mode to just see what opportunities exist without committing capital.
## When to Use
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`).
## Parameters
| Parameter | Required | Default | How to Extract |
| ------------- | -------- | --------------- | --------------------------------------------------------------- |
| token | No | Top 5 tokens | Token to check: "WETH", "USDC", or scan top tokens by default |
| chains | No | all | Chains to scan: "all", or specific list like "ethereum, base" |
| minProfit | No | 0.5% | Minimum net profit threshold after ALL costs |
| maxAmount | No | -- | Maximum capital to deploy per opportunity |
| riskTolerance | No | moderate | "conservative", "moderate", "aggressive" |
| mode | No | execute | "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.
## Workflow
```
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 │
│ │
└─────────────────────────────────────────────────────────────────────┘
```
### Step 0: Pre-Flight
Before starting:
1. Check safety status via `mcp__uniswap__check_safety_status`.
2. Check wallet balances via `mcp__uniswap__get_agent_balance` on relevant chains.
3. If wallet has no fRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.