{
  "schemaVersion": "1.0",
  "item": {
    "slug": "cross-chain-swap",
    "name": "Uniswap Cross Chain Swap",
    "source": "tencent",
    "type": "skill",
    "category": "金融交易",
    "sourceUrl": "https://clawhub.ai/wpank/cross-chain-swap",
    "canonicalUrl": "https://clawhub.ai/wpank/cross-chain-swap",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/cross-chain-swap",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=cross-chain-swap",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/cross-chain-swap"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/cross-chain-swap",
    "agentPageUrl": "https://openagent3.xyz/skills/cross-chain-swap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cross-chain-swap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cross-chain-swap/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "Executes a cross-chain token swap — swapping a token on one chain for a different (or same) token on another chain. Delegates the full workflow to the cross-chain-executor agent, which handles quoting, route evaluation, safety checks, bridge monitoring, and destination confirmation."
      },
      {
        "title": "When to Use",
        "body": "Activate when the user asks:\n\n\"Swap ETH on Arbitrum for USDC on Base\"\n\"Cross-chain swap\"\n\"Buy USDC on Optimism using ETH from mainnet\"\n\"Move my ETH from Ethereum to Arbitrum and convert to USDC\"\n\"Swap tokens across chains\"\n\"Exchange X on chain A for Y on chain B\""
      },
      {
        "title": "Parameters",
        "body": "ParameterRequiredDefaultDescriptiontokenInYes—Input token symbol or address on source chaintokenOutYes—Output token symbol or address on destination chainamountYes—Amount to swap (human-readable, e.g., \"1.5\" or \"1000\")sourceChainYes—Source chain name (e.g., \"ethereum\", \"arbitrum\")destChainYes—Destination chain name (e.g., \"base\", \"optimism\")slippageNoautoSlippage tolerance (e.g., \"0.5\" for 0.5%)recipientNoSame walletRecipient address on destination chain"
      },
      {
        "title": "Workflow",
        "body": "Extract parameters from the user's request. Identify:\n\nWhich token they want to send and on which chain.\nWhich token they want to receive and on which chain.\nThe amount to swap.\nResolve ambiguous chain references (e.g., \"mainnet\" = \"ethereum\").\n\n\n\nValidate inputs:\n\nVerify both chains are supported via mcp__uniswap__getSupportedChains.\nVerify tokens exist on their respective chains via mcp__uniswap__getTokenInfo.\nIf source and destination chain are the same: redirect to execute-swap skill instead.\n\n\n\nDelegate to cross-chain-executor: Invoke Task(subagent_type:cross-chain-executor) with:\n\ntokenIn, tokenOut, amount, sourceChain, destChain, slippage, recipient.\nThe agent handles the full 7-step workflow: quote, risk assessment, safety check, execution, bridge monitoring, confirmation, and reporting.\n\n\n\nPresent results: Format the execution report for the user, highlighting:\n\nAmounts sent and received.\nTotal fees (gas + bridge).\nSettlement time.\nAny warnings from safety or risk checks."
      },
      {
        "title": "Output Format",
        "body": "Cross-Chain Swap Complete\n\n  Source:      1.5 ETH on Ethereum\n  Destination: 2,850.25 USDC on Base\n  Fees:        $3.50 (gas: $2.50, bridge: $1.00)\n  Settlement:  2 min 35 sec\n\n  Source Tx:   0xabc...123\n  Bridge ID:   0x789...abc\n  Dest Tx:     0xdef...456\n\n  Risk: LOW | Safety: APPROVED"
      },
      {
        "title": "Important Notes",
        "body": "Cross-chain swaps involve bridge operations that take time to settle (typically 1-10 minutes).\nThe skill will monitor the bridge and report status updates during settlement.\nBridge fees and slippage apply in addition to normal swap fees.\nIf the bridge gets stuck, the executor will escalate with recovery instructions."
      },
      {
        "title": "Error Handling",
        "body": "ErrorUser-Facing MessageSuggested ActionUnsupported chain\"Chain [name] is not supported for cross-chain swaps.\"Check supported chainsSame chain\"Source and destination are the same chain. Use a regular swap.\"Use execute-swap skillSafety veto\"This swap was blocked by safety checks: [reason].\"Reduce amount or check tokenRisk veto\"Risk assessment vetoed: [reason].\"Choose a different route or amountBridge stuck\"Bridge settlement is taking longer than expected.\"Wait or check order ID manuallyBridge failed\"Bridge operation failed. Funds should remain on source chain.\"Check source wallet balanceInsufficient balance\"Not enough [token] on [chain] to execute this swap.\"Check balance and reduce amount"
      }
    ],
    "body": "Cross-Chain Swap\nOverview\n\nExecutes a cross-chain token swap — swapping a token on one chain for a different (or same) token on another chain. Delegates the full workflow to the cross-chain-executor agent, which handles quoting, route evaluation, safety checks, bridge monitoring, and destination confirmation.\n\nWhen to Use\n\nActivate when the user asks:\n\n\"Swap ETH on Arbitrum for USDC on Base\"\n\"Cross-chain swap\"\n\"Buy USDC on Optimism using ETH from mainnet\"\n\"Move my ETH from Ethereum to Arbitrum and convert to USDC\"\n\"Swap tokens across chains\"\n\"Exchange X on chain A for Y on chain B\"\nParameters\nParameter\tRequired\tDefault\tDescription\ntokenIn\tYes\t—\tInput token symbol or address on source chain\ntokenOut\tYes\t—\tOutput token symbol or address on destination chain\namount\tYes\t—\tAmount to swap (human-readable, e.g., \"1.5\" or \"1000\")\nsourceChain\tYes\t—\tSource chain name (e.g., \"ethereum\", \"arbitrum\")\ndestChain\tYes\t—\tDestination chain name (e.g., \"base\", \"optimism\")\nslippage\tNo\tauto\tSlippage tolerance (e.g., \"0.5\" for 0.5%)\nrecipient\tNo\tSame wallet\tRecipient address on destination chain\nWorkflow\n\nExtract parameters from the user's request. Identify:\n\nWhich token they want to send and on which chain.\nWhich token they want to receive and on which chain.\nThe amount to swap.\nResolve ambiguous chain references (e.g., \"mainnet\" = \"ethereum\").\n\nValidate inputs:\n\nVerify both chains are supported via mcp__uniswap__getSupportedChains.\nVerify tokens exist on their respective chains via mcp__uniswap__getTokenInfo.\nIf source and destination chain are the same: redirect to execute-swap skill instead.\n\nDelegate to cross-chain-executor: Invoke Task(subagent_type:cross-chain-executor) with:\n\ntokenIn, tokenOut, amount, sourceChain, destChain, slippage, recipient.\nThe agent handles the full 7-step workflow: quote, risk assessment, safety check, execution, bridge monitoring, confirmation, and reporting.\n\nPresent results: Format the execution report for the user, highlighting:\n\nAmounts sent and received.\nTotal fees (gas + bridge).\nSettlement time.\nAny warnings from safety or risk checks.\nOutput Format\nCross-Chain Swap Complete\n\n  Source:      1.5 ETH on Ethereum\n  Destination: 2,850.25 USDC on Base\n  Fees:        $3.50 (gas: $2.50, bridge: $1.00)\n  Settlement:  2 min 35 sec\n\n  Source Tx:   0xabc...123\n  Bridge ID:   0x789...abc\n  Dest Tx:     0xdef...456\n\n  Risk: LOW | Safety: APPROVED\n\nImportant Notes\nCross-chain swaps involve bridge operations that take time to settle (typically 1-10 minutes).\nThe skill will monitor the bridge and report status updates during settlement.\nBridge fees and slippage apply in addition to normal swap fees.\nIf the bridge gets stuck, the executor will escalate with recovery instructions.\nError Handling\nError\tUser-Facing Message\tSuggested Action\nUnsupported chain\t\"Chain [name] is not supported for cross-chain swaps.\"\tCheck supported chains\nSame chain\t\"Source and destination are the same chain. Use a regular swap.\"\tUse execute-swap skill\nSafety veto\t\"This swap was blocked by safety checks: [reason].\"\tReduce amount or check token\nRisk veto\t\"Risk assessment vetoed: [reason].\"\tChoose a different route or amount\nBridge stuck\t\"Bridge settlement is taking longer than expected.\"\tWait or check order ID manually\nBridge failed\t\"Bridge operation failed. Funds should remain on source chain.\"\tCheck source wallet balance\nInsufficient balance\t\"Not enough [token] on [chain] to execute this swap.\"\tCheck balance and reduce amount"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/wpank/cross-chain-swap",
    "publisherUrl": "https://clawhub.ai/wpank/cross-chain-swap",
    "owner": "wpank",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/cross-chain-swap",
    "downloadUrl": "https://openagent3.xyz/downloads/cross-chain-swap",
    "agentUrl": "https://openagent3.xyz/skills/cross-chain-swap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/cross-chain-swap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/cross-chain-swap/agent.md"
  }
}