{
  "schemaVersion": "1.0",
  "item": {
    "slug": "execute-swap",
    "name": "Uniswap Execute Swap",
    "source": "tencent",
    "type": "skill",
    "category": "金融交易",
    "sourceUrl": "https://clawhub.ai/wpank/execute-swap",
    "canonicalUrl": "https://clawhub.ai/wpank/execute-swap",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/execute-swap",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=execute-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/execute-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/execute-swap",
    "agentPageUrl": "https://openagent3.xyz/skills/execute-swap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/execute-swap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/execute-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": "Execute Swap",
        "body": "Execute a token swap on Uniswap with full safety validation."
      },
      {
        "title": "Activation",
        "body": "Use this skill when the user says any of:\n\n\"Swap X for Y\"\n\"Buy X with Y\"\n\"Sell X for Y\"\n\"Trade X for Y\"\n\"Exchange X to Y\"\n\"Convert X to Y\""
      },
      {
        "title": "Input Extraction",
        "body": "Extract these parameters from the user's message:\n\nParameterRequiredDefaultSourcetokenInYes—Token name/symbol/addresstokenOutYes—Token name/symbol/addressamountYes—Numeric valuechainNoethereumChain name or contextslippageNo0.5%Explicit percentageroutingNoauto\"via V3\", \"use UniswapX\", etc."
      },
      {
        "title": "Workflow",
        "body": "Validate inputs: Resolve token symbols using search_tokens. Confirm chain is supported.\n\n\nPre-flight safety check: Call check_safety_status to verify:\n\nSpending limits have room for this trade\nRate limits are not exhausted\nCircuit breaker is not tripped\n\n\n\nDelegate to trade-executor: Launch Task(subagent_type:trade-executor) with:\n\ntokenIn, tokenOut, amount, chain\nslippageTolerance (in bps)\nroutingPreference (auto/v2/v3/v4/uniswapx)\n\n\n\nReport result to the user in a clear format:\n\nSwap Executed Successfully\n\n  Input:  500.00 USDC\n  Output: 0.1538 WETH ($499.55)\n  Price:  1 WETH = $3,248.04\n  Impact: 0.01%\n  Gas:    $0.42\n\n  Tx: https://basescan.org/tx/0xABC...\n\n  Safety: All 7 checks passed"
      },
      {
        "title": "Error Handling",
        "body": "ErrorUser MessageSuggested ActionSAFETY_SPENDING_LIMIT_EXCEEDED\"This swap would exceed your $X daily limit.\"Reduce amount or waitSAFETY_TOKEN_NOT_ALLOWED\"TOKEN is not on your allowlist.\"Add to configSAFETY_SIMULATION_FAILED\"Swap simulation failed: [reason].\"Check addresses, try smallerINSUFFICIENT_LIQUIDITY\"Not enough liquidity at acceptable slippage.\"Try smaller amount"
      },
      {
        "title": "MCP server dependency",
        "body": "This skill relies on Uniswap MCP tools for chain support lookup, token search, safety checks, and swap execution.\nWhen used in isolation (for example, from a skills catalog), ensure the Agentic Uniswap MCP server is running:\n\nRepo: Agentic-Uniswap MCP server\nPackage: @agentic-uniswap/mcp-server"
      }
    ],
    "body": "Execute Swap\n\nExecute a token swap on Uniswap with full safety validation.\n\nActivation\n\nUse this skill when the user says any of:\n\n\"Swap X for Y\"\n\"Buy X with Y\"\n\"Sell X for Y\"\n\"Trade X for Y\"\n\"Exchange X to Y\"\n\"Convert X to Y\"\nInput Extraction\n\nExtract these parameters from the user's message:\n\nParameter\tRequired\tDefault\tSource\ntokenIn\tYes\t—\tToken name/symbol/address\ntokenOut\tYes\t—\tToken name/symbol/address\namount\tYes\t—\tNumeric value\nchain\tNo\tethereum\tChain name or context\nslippage\tNo\t0.5%\tExplicit percentage\nrouting\tNo\tauto\t\"via V3\", \"use UniswapX\", etc.\nWorkflow\n\nValidate inputs: Resolve token symbols using search_tokens. Confirm chain is supported.\n\nPre-flight safety check: Call check_safety_status to verify:\n\nSpending limits have room for this trade\nRate limits are not exhausted\nCircuit breaker is not tripped\n\nDelegate to trade-executor: Launch Task(subagent_type:trade-executor) with:\n\ntokenIn, tokenOut, amount, chain\nslippageTolerance (in bps)\nroutingPreference (auto/v2/v3/v4/uniswapx)\n\nReport result to the user in a clear format:\n\nSwap Executed Successfully\n\n  Input:  500.00 USDC\n  Output: 0.1538 WETH ($499.55)\n  Price:  1 WETH = $3,248.04\n  Impact: 0.01%\n  Gas:    $0.42\n\n  Tx: https://basescan.org/tx/0xABC...\n\n  Safety: All 7 checks passed\n\nError Handling\nError\tUser Message\tSuggested Action\nSAFETY_SPENDING_LIMIT_EXCEEDED\t\"This swap would exceed your $X daily limit.\"\tReduce amount or wait\nSAFETY_TOKEN_NOT_ALLOWED\t\"TOKEN is not on your allowlist.\"\tAdd to config\nSAFETY_SIMULATION_FAILED\t\"Swap simulation failed: [reason].\"\tCheck addresses, try smaller\nINSUFFICIENT_LIQUIDITY\t\"Not enough liquidity at acceptable slippage.\"\tTry smaller amount\nMCP server dependency\n\nThis skill relies on Uniswap MCP tools for chain support lookup, token search, safety checks, and swap execution. When used in isolation (for example, from a skills catalog), ensure the Agentic Uniswap MCP server is running:\n\nRepo: Agentic-Uniswap MCP server\nPackage: @agentic-uniswap/mcp-server"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/wpank/execute-swap",
    "publisherUrl": "https://clawhub.ai/wpank/execute-swap",
    "owner": "wpank",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/execute-swap",
    "downloadUrl": "https://openagent3.xyz/downloads/execute-swap",
    "agentUrl": "https://openagent3.xyz/skills/execute-swap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/execute-swap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/execute-swap/agent.md"
  }
}