Sponsor Suno AI Music arrow_forward
Plugin

Dex Aggregator Router

Find optimal DEX routes for token swaps across multiple exchanges

Type
Plugin
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

  1. Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace
  2. Install the plugin: claude plugin install dex-aggregator-router@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
  3. Restart the session if the new skills or commands don't appear straight away.

Claude Cowork

  1. Open Customize → Plugins and choose Add marketplace.
  2. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub).
  3. 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-plus

Usage

Find Best Route Command

/find-best-route

Or use the shortcut:

/route

Example 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

  1. Direct Routes - Single DEX, single hop swaps
  2. Multi-Hop Paths - Routes through intermediate tokens
  3. Split Orders - Partial routing across multiple DEXs
  4. Price Impact - Slippage based on trade size
  5. Gas Costs - Transaction fees for each route option
  6. Net Output - Total received after all costs
  7. 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

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.