# Send Uniswap Batch Swap to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/batch-swap",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=batch-swap",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "batch-swap",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-10T10:44:57.307Z",
      "expiresAt": "2026-05-17T10:44:57.307Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=batch-swap",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=batch-swap",
        "contentDisposition": "attachment; filename=\"batch-swap-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "batch-swap"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Batch Swap

Execute multiple token swaps in sequence with independent safety validation per swap.

### Activation

Use this skill when the user says any of:

"Swap X for Y and Z"
"Rebalance to 50% ETH 50% USDC"
"Buy 3 different tokens"
"Execute these swaps: ..."

### Input Extraction

ParameterRequiredDefaultSourceswapsYes—List of {tokenIn, tokenOut, amount}chainNoethereumDefault chain for all swapsstopOnFailureNotrueWhether to halt on first failure

### Workflow

Parse all swaps from the user's message. Confirm token symbols resolve.


Pre-flight check: Verify total spending within daily limits and sufficient balance for all swaps using check_safety_status and get_agent_balance.


Sequential execution: For each swap:

Launch Task(subagent_type:trade-executor) with swap parameters
Wait for confirmation before starting next swap
Update running balance between swaps
If stopOnFailure=true and swap fails, halt remaining swaps



Report summary:

Batch Swap Complete (3/3 succeeded)

  #  Swap              Amount In    Amount Out   Tx
  1  USDC → WETH      1,000 USDC   0.307 WETH   0xABC...
  2  USDC → WBTC      1,000 USDC   0.015 WBTC   0xDEF...
  3  USDC → UNI       1,000 USDC   142.3 UNI    0xGHI...

  Total gas: $1.26

### Error Handling

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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wpank
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-10T10:44:57.307Z
- Expires at: 2026-05-17T10:44:57.307Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/batch-swap)
- [Send to Agent page](https://openagent3.xyz/skills/batch-swap/agent)
- [JSON manifest](https://openagent3.xyz/skills/batch-swap/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/batch-swap/agent.md)
- [Download page](https://openagent3.xyz/downloads/batch-swap)