Dex Aggregator Router
Find optimal DEX routes for token swaps across multiple exchanges
- Type
- Plugin
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Version
- 1.25.0
- Author
- Claude Code Plugins
What Dex Aggregator Router is
Dex Aggregator Router is a plugin published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.
Installing Dex Aggregator Router adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.
How to install Dex Aggregator Router
Claude Code
- Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace
- Install the plugin: claude plugin install dex-aggregator-router@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
- Restart the session if the new skills or commands don't appear straight away.
Claude Cowork
- Open Customize → Plugins and choose Add marketplace.
- Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub).
- Find Dex Aggregator Router in the list, click Install, then connect any connectors it needs from its Connectors tab.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/crypto/dex-aggregator-router/.claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.
Find optimal routing for token swaps across multiple decentralized exchanges to maximize output and minimize costs.
Installation
/plugin install dex-aggregator-router@claude-code-plugins-plusUsage
Find Best Route Command
/find-best-routeOr use the shortcut:
/routeExample Queries
# Simple swap routing
/route Best route to swap 10 ETH for USDC
# Compare exchanges
/route Compare Uniswap vs SushiSwap for DAI to USDC
# Large trade optimization
/route I want to swap $50,000 USDT to ETH - optimize routing
# Why aggregators differ
/route Why does 1inch show better rate than Uniswap?
# Multi-hop analysis
/route Should I swap LINK → ETH → USDC or LINK → USDC directly?Features
- Multi-DEX Comparison - Analyze routes across Uniswap, SushiSwap, Curve, Balancer
- Route Discovery - Find direct, multi-hop, and split order paths
- Price Impact Analysis - Calculate slippage for different trade sizes
- Gas Cost Optimization - Factor in transaction costs vs savings
- Aggregator Integration - Leverage 1inch, Paraswap, Matcha routing
- Execution Parameters - Optimal slippage and deadline settings
- MEV Protection - Recommendations for large trade protection
What It Analyzes
- Direct Routes - Single DEX, single hop swaps
- Multi-Hop Paths - Routes through intermediate tokens
- Split Orders - Partial routing across multiple DEXs
- Price Impact - Slippage based on trade size
- Gas Costs - Transaction fees for each route option
- Net Output - Total received after all costs
- Liquidity Depth - Pool sizes and available liquidity
Output Includes
- Recommended best route with detailed path
- Comparison table of top 3-5 routes
- Price impact calculations
- Gas cost estimates
- Slippage tolerance recommendations
- Execution parameters
- Risk factors and considerations
- Alternative strategies for large trades
Supported DEXs
Ethereum Mainnet
- Uniswap V2/V3 - Most liquid, standard pairs
- SushiSwap - Alternative with good liquidity
- Curve - Best for stablecoins
- Balancer - Multi-token pools
- 1inch - Meta-aggregator
- Paraswap - Smart routing
- CoW Swap - MEV-protected batch auctions
Layer 2s
- Arbitrum, Optimism, Base, Polygon support
- Network-specific liquidity considerations
Trade Size Recommendations
Small Trades (< $1,000)
- Prioritize low gas costs
- Use simple direct routes
- Uniswap V2 often best
Medium Trades ($1,000 - $10,000)
- Balance price impact and gas
- Consider multi-hop if beneficial
- Aggregators provide value
Large Trades ($10,000 - $100,000)
- Split routing often optimal
- Use MEV protection
- Higher slippage tolerance needed
Whale Trades (> $100,000)
- Consider OTC desks
- TWAP (time-weighted) execution
- Professional market makers
Key Metrics Explained
Price Impact
Percentage difference between expected and execution price due to trade size affecting pool balance.
Slippage Tolerance
Maximum acceptable price movement before transaction reverts.
Effective Rate
Final exchange rate after all fees, impacts, and costs.
Total Cost
Combined cost of price impact, DEX fees, and gas.
Optimization Strategies
Route Splitting
Divide trade across multiple DEXs to reduce per-pool impact.
Multi-Hop Routing
Route through intermediate tokens when direct pairs have poor liquidity.
Gas vs Impact Trade-off
Sometimes higher gas cost route has lower price impact, better for large trades.
Important Notes
- Always verify token contract addresses (scams exist)
- Price impact is non-linear - doubles trade size ≠ doubles impact
- Gas estimates are approximate, actual costs may vary
- Slippage protection is essential in volatile markets
- MEV bots can frontrun large trades without protection
- Aggregators like 1inch already do this optimization
- This provides routing analysis, not financial advice
Data Sources
Analysis references:
- DEX liquidity pools (on-chain data)
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Dex Aggregator Router?
Dex Aggregator Router is a plugin for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Find optimal DEX routes for token swaps across multiple exchanges
How do I install Dex Aggregator Router in Claude Code?
Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace Install the plugin: claude plugin install dex-aggregator-router@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.
Can I use Dex Aggregator Router in Claude Cowork?
Open Customize → Plugins and choose Add marketplace. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub). Find Dex Aggregator Router in the list, click Install, then connect any connectors it needs from its Connectors tab.
Is Dex Aggregator Router safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Geepers Orchestrator Python Coordinates specialized sub-agents to audit, build, or refactor Python projects (Flask apps, CLI tools, libraries, scripts). Use when starting or reviewing a Python codebase and needing end-to-end coverage. Trigger with \"audit this Python project\", \"build a Python tool\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Orchestrator Research Coordinates swarm-style parallel data gathering across APIs, websites, and system sources, then aggregates findings into a structured research report. Use when pulling data from multiple sources or validating link collections. Trigger with \"gather data from these APIs\", \"research and synthesize this topic\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Prd Transforms ideas and business plans into detailed PRDs with user personas, prioritized user stories, functional requirements, and acceptance criteria developers can build from. Use when starting a new product or feature and needing structured technical requirements. Trigger with \"write a PRD for this\", \"turn this idea into requirements\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Perf Profiles applications, identifies bottlenecks (DB, I/O, memory, CPU), and produces optimization recommendations with benchmarked metrics. Use when an app is slow, traffic is scaling, or you need a pre-release performance baseline. Trigger with \"profile this service\", \"find performance bottlenecks\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Disaster Recovery Planner Plan and implement disaster recovery procedures Plugin · jeremylongshore/tons-of-skills-marketplace
- Devx Team Developer Experience Team — 10 agents: Guide, Sample, Mock, Schema, Port, Change, Onboard, Bench, Compat, Gate Plugin · jeremylongshore/tons-of-skills-marketplace
- Discovery Questionnaire Generate custom discovery questionnaires for AI agency prospects Plugin · jeremylongshore/tons-of-skills-marketplace
- Devops Automation Pack 25 professional DevOps plugins for CI/CD, deployment, Docker, Kubernetes, and infrastructure automation. Save 20+ hours of manual work. Plugin · jeremylongshore/tons-of-skills-marketplace