batch-swapExecute multiple token swaps in sequence. Use when user wants to rebalance, swap into multiple tokens, or execute a multi-step trading plan. Each swap goes through full safety validation independently.
Install via ClawdBot CLI:
clawdbot install wpank/batch-swapExecute multiple token swaps in sequence with independent safety validation per swap.
Use this skill when the user says any of:
| Parameter | Required | Default | Source |
|-----------|----------|---------|--------|
| swaps | Yes | ā | List of {tokenIn, tokenOut, amount} |
| chain | No | ethereum | Default chain for all swaps |
| stopOnFailure | No | true | Whether to halt on first failure |
check_safety_status and get_agent_balance.Task(subagent_type:trade-executor) with swap parametersstopOnFailure=true and swap fails, halt remaining swapsBatch 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 | User Message | Suggested Action |
|-------|-------------|-----------------|
| BATCH_PARTIAL_FAILURE | "Swap #N failed. Remaining halted." | Review failed swap, re-run remaining |
| INSUFFICIENT_BALANCE | "Insufficient balance for full batch." | Reduce amounts |
| SAFETY_AGGREGATE_LIMIT | "Total batch exceeds daily limit." | Reduce total batch size |
Generated Mar 1, 2026
An investor wants to adjust their cryptocurrency portfolio allocation by swapping multiple tokens simultaneously to achieve target percentages, such as moving from a concentrated position to a diversified mix. This skill automates the sequential swaps with safety checks, ensuring each trade is validated independently to prevent errors.
A user aims to purchase several different tokens in a single transaction batch, for example, buying ETH, LINK, and MATIC from a stablecoin like USDC. The skill parses the list of swaps, executes them in order while updating balances, and provides a summary report for tracking.
A trader identifies price discrepancies across multiple token pairs and needs to execute a series of swaps quickly to capitalize on arbitrage opportunities. The skill handles the sequential trades with stop-on-failure options, allowing for partial execution if one swap fails.
A DeFi user wants to swap into multiple tokens to provide liquidity in various pools, requiring precise amounts for each token. The skill validates total spending against daily limits and balances, ensuring the batch stays within safety parameters before execution.
A company managing its crypto holdings needs to rebalance or diversify assets across different tokens for risk management or operational purposes. The skill facilitates batch swaps with independent safety checks, reducing manual effort and error risk.
Generate revenue by charging a small percentage fee on each swap executed through the batch skill, leveraging high-volume trading activities. This model benefits from the skill's automation, which encourages frequent use by users for rebalancing or multi-token acquisitions.
Offer the batch swap skill as part of a premium subscription plan for advanced traders or institutions, providing features like higher daily limits, priority execution, or detailed analytics. This model ensures recurring revenue from users who require frequent batch operations.
License the batch swap skill to other platforms, such as exchanges or wallet providers, who can integrate it into their services to enhance user functionality. Revenue comes from licensing fees or revenue-sharing agreements based on transaction volume generated through the integration.
š¬ Integration Tip
Ensure the skill integrates with existing balance and safety tools like mcp__uniswap__get_agent_balance and mcp__uniswap__check_safety_status to pre-validate swaps and prevent errors, and use Task(subagent_type:trade-executor) for reliable execution.
Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.
Query DeFi portfolio data across 50+ chains via Zapper's GraphQL API. Use when the user wants to check wallet balances, DeFi positions, NFT holdings, token prices, or transaction history. Supports Base, Ethereum, Polygon, Arbitrum, Optimism, and more. Requires ZAPPER_API_KEY.
Interact with Solana blockchain via Helius APIs. Create/manage wallets, check balances (SOL + tokens), send transactions, swap tokens via Jupiter, and monitor addresses. Use for any Solana blockchain operation, crypto wallet management, token transfers, DeFi swaps, or portfolio tracking.