{
  "schemaVersion": "1.0",
  "item": {
    "slug": "batch-swap",
    "name": "Uniswap Batch Swap",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/wpank/batch-swap",
    "canonicalUrl": "https://clawhub.ai/wpank/batch-swap",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/batch-swap",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=batch-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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.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/batch-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/batch-swap",
    "agentPageUrl": "https://openagent3.xyz/skills/batch-swap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/batch-swap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/batch-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": "Batch Swap",
        "body": "Execute multiple token swaps in sequence with independent safety validation per swap."
      },
      {
        "title": "Activation",
        "body": "Use this skill when the user says any of:\n\n\"Swap X for Y and Z\"\n\"Rebalance to 50% ETH 50% USDC\"\n\"Buy 3 different tokens\"\n\"Execute these swaps: ...\""
      },
      {
        "title": "Input Extraction",
        "body": "ParameterRequiredDefaultSourceswapsYes—List of {tokenIn, tokenOut, amount}chainNoethereumDefault chain for all swapsstopOnFailureNotrueWhether to halt on first failure"
      },
      {
        "title": "Workflow",
        "body": "Parse all swaps from the user's message. Confirm token symbols resolve.\n\n\nPre-flight check: Verify total spending within daily limits and sufficient balance for all swaps using check_safety_status and get_agent_balance.\n\n\nSequential execution: For each swap:\n\nLaunch Task(subagent_type:trade-executor) with swap parameters\nWait for confirmation before starting next swap\nUpdate running balance between swaps\nIf stopOnFailure=true and swap fails, halt remaining swaps\n\n\n\nReport summary:\n\nBatch Swap Complete (3/3 succeeded)\n\n  #  Swap              Amount In    Amount Out   Tx\n  1  USDC → WETH      1,000 USDC   0.307 WETH   0xABC...\n  2  USDC → WBTC      1,000 USDC   0.015 WBTC   0xDEF...\n  3  USDC → UNI       1,000 USDC   142.3 UNI    0xGHI...\n\n  Total gas: $1.26"
      },
      {
        "title": "Error Handling",
        "body": "ErrorUser MessageSuggested ActionBATCH_PARTIAL_FAILURE\"Swap #N failed. Remaining halted.\"Review failed swap, re-run remainingINSUFFICIENT_BALANCE\"Insufficient balance for full batch.\"Reduce amountsSAFETY_AGGREGATE_LIMIT\"Total batch exceeds daily limit.\"Reduce total batch size"
      }
    ],
    "body": "Batch Swap\n\nExecute multiple token swaps in sequence with independent safety validation per swap.\n\nActivation\n\nUse this skill when the user says any of:\n\n\"Swap X for Y and Z\"\n\"Rebalance to 50% ETH 50% USDC\"\n\"Buy 3 different tokens\"\n\"Execute these swaps: ...\"\nInput Extraction\nParameter\tRequired\tDefault\tSource\nswaps\tYes\t—\tList of {tokenIn, tokenOut, amount}\nchain\tNo\tethereum\tDefault chain for all swaps\nstopOnFailure\tNo\ttrue\tWhether to halt on first failure\nWorkflow\n\nParse all swaps from the user's message. Confirm token symbols resolve.\n\nPre-flight check: Verify total spending within daily limits and sufficient balance for all swaps using check_safety_status and get_agent_balance.\n\nSequential execution: For each swap:\n\nLaunch Task(subagent_type:trade-executor) with swap parameters\nWait for confirmation before starting next swap\nUpdate running balance between swaps\nIf stopOnFailure=true and swap fails, halt remaining swaps\n\nReport summary:\n\nBatch Swap Complete (3/3 succeeded)\n\n  #  Swap              Amount In    Amount Out   Tx\n  1  USDC → WETH      1,000 USDC   0.307 WETH   0xABC...\n  2  USDC → WBTC      1,000 USDC   0.015 WBTC   0xDEF...\n  3  USDC → UNI       1,000 USDC   142.3 UNI    0xGHI...\n\n  Total gas: $1.26\n\nError Handling\nError\tUser Message\tSuggested Action\nBATCH_PARTIAL_FAILURE\t\"Swap #N failed. Remaining halted.\"\tReview failed swap, re-run remaining\nINSUFFICIENT_BALANCE\t\"Insufficient balance for full batch.\"\tReduce amounts\nSAFETY_AGGREGATE_LIMIT\t\"Total batch exceeds daily limit.\"\tReduce total batch size"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/wpank/batch-swap",
    "publisherUrl": "https://clawhub.ai/wpank/batch-swap",
    "owner": "wpank",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/batch-swap",
    "downloadUrl": "https://openagent3.xyz/downloads/batch-swap",
    "agentUrl": "https://openagent3.xyz/skills/batch-swap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/batch-swap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/batch-swap/agent.md"
  }
}