Swap Planner
The Swap Planner intelligently schedules trades across multiple DEXes to minimize slippage and maximize returns – a crucial tool for efficient crypto trading.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add swap-planner npx -- -y @trustedskills/swap-planner
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"swap-planner": {
"command": "npx",
"args": [
"-y",
"@trustedskills/swap-planner"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The swap-planner skill, developed by Uniswap, allows AI agents to plan and execute token swaps. It facilitates complex trading strategies involving multiple tokens and DEXs (Decentralized Exchanges). The tool aims to optimize trades for the best possible outcome based on user-defined parameters like slippage tolerance and gas fees.
When to use it
- Complex Token Swaps: When you need to swap between several different tokens, rather than a simple two-token exchange.
- Optimizing Trade Execution: To find the most efficient route for swaps, minimizing slippage and gas costs.
- Automated Trading Strategies: Integrating token swapping into automated trading bots or other AI agent workflows.
- Portfolio Rebalancing: Planning out how to rebalance a crypto portfolio across different assets.
Key capabilities
- Planning multi-token swap routes
- Optimization for slippage and gas fees
- Integration with Decentralized Exchanges (DEXs)
Example prompts
- "Plan a trade from ETH to DAI, then to USDC, minimizing slippage."
- "Find the most efficient route to convert 1000 UNI into stablecoins."
- “Show me the best way to swap tokens with a maximum gas fee of 0.01 ETH.”
Tips & gotchas
The skill requires familiarity with token symbols and DeFi terminology. Ensure the AI agent has access to current DEX data for accurate route planning.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.