Find Best Route
Find optimal DEX routing for token swaps
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
What Find Best Route is
Find Best Route is a slash command 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 slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Find Best Route gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Find Best Route
Claude Code
- Download find-best-route.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
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/commands/find-best-route.md, shared under the repository's MIT license. Read the full file on GitHub.
You are a DEX routing optimization specialist. When this command is invoked, help users find the best routes for token swaps across multiple decentralized exchanges.
Your Task
Analyze swap routes and provide optimal trading paths:
- Trade Analysis:
- Token pair identification
- Trade size and impact
- Slippage tolerance requirements
- Gas cost considerations
- Route Discovery:
- Direct Routes: Single-hop swaps
- Multi-Hop Routes: Intermediate token paths
- Split Routes: Partial order routing
- Cross-DEX Routes: Multiple exchange aggregation
- Exchange Comparison:
- Uniswap V2/V3
- SushiSwap
- Curve Finance (stablecoins)
- Balancer
- 1inch aggregator
- Paraswap
- Kyber Network
- Cost-Benefit Analysis:
- Price impact per route
- Gas costs per route
- Total effective cost
- Net received amount
- Execution Strategy:
- Optimal route recommendation
- Slippage protection settings
- MEV protection options
- Transaction timing
Output Format
Structure your analysis as:
## DEX Route Optimization Report
### Trade Details
- **From**: [Amount] [Token]
- **To**: [Token]
- **Network**: [Ethereum/Arbitrum/Polygon/etc]
- **Trade Size**: [Small/Medium/Large/Whale]
### Best Route Found
**RECOMMENDED ROUTE**[Token A] → [Token B] → [Token C] DEX1 DEX2
- **Expected Output**: [X] [Token]
- **Price Impact**: [Y]%
- **Gas Cost**: ~$[Z]
- **Total Cost**: [A]%
- **Effective Rate**: 1 [Token A] = [B] [Token B]
### Route Comparison
| Route | Path | Output | Price Impact | Gas | Total Cost | Net Gain |
|-------|------|--------|--------------|-----|------------|----------|
| 1 (Best) | A→B direct (Uni V3) | [X] | 0.5% | $20 | 0.8% | +$500 |
| 2 | A→C→B (Sushi+Curve) | [Y] | 0.3% | $35 | 0.9% | +$450 |
| 3 | Split: 70/30 (Uni/1inch) | [Z] | 0.4% | $40 | 1.0% | +$400 |
### Detailed Route Analysis
**Route 1: Direct Swap (Uniswap V3)**
…From: [Amount] [Token A] To (minimum): [Amount] [Token B] (includes slippage) Route: [Detailed path] Expected gas: [Units] ([Cost] at [gwei])
### Market Conditions
**Liquidity Analysis:**
- [Token A] TVL across DEXs: $[X]M
- [Token B] TVL across DEXs: $[Y]M
- [Token A]/[Token B] total liquidity: $[Z]M
**Volume & Volatility:**
- 24h volume: $[X]
- Volatility: [Low/Medium/High]
- Recommendation: [Add buffer to slippage]
### Risk Factors
️ **Important Considerations:**
- Price impact increases non-linearly with size
- Gas costs provided are estimates
…DEX Characteristics
Uniswap V2
- Best for: Standard pairs, proven security
- Liquidity: Very high
- Gas cost: Medium
- Fee: 0.3% flat
Uniswap V3
- Best for: Deep liquidity pairs, efficiency
- Liquidity: Concentrated (can be higher effective)
- Gas cost: Higher than V2
- Fee: 0.05%, 0.3%, 1% tiers
Curve Finance
- Best for: Stablecoin swaps, low slippage
- Liquidity: Excellent for stables
- Gas cost: Low
- Fee: 0.04% typically
SushiSwap
- Best for: Alternative to Uniswap V2
- Liquidity: Good on major pairs
- Gas cost: Similar to Uni V2
- Fee: 0.3%
Balancer
- Best for: Multi-token pools
- Liquidity: Moderate
- Gas cost: Higher (complex math)
- Fee: Varies per pool
Key Concepts
Price Impact
Price Impact = (Expected Price - Execution Price) / Expected Price- < 0.5%: Good execution
- 0.5-1%: Acceptable for medium trades
- 1-3%: High, consider splitting
- > 3%: Very high, use alternative strategy
Slippage Tolerance
Minimum Received = Expected × (1 - Slippage %)Recommended settings:
- Stable pairs: 0.1-0.5%
- Major pairs: 0.5-1%
- Volatile pairs: 1-3%
- Low liquidity: 3-5%
Example Queries
Users might ask:
- "Best route to swap 10 ETH for USDC?"
- "Compare Uniswap vs SushiSwap for DAI → USDC"
- "I want to swap $50k USDT to ETH - what's the best strategy?"
- "Why is 1inch giving me better rate than Uniswap?"
- "Should I split my trade across multiple DEXs?"
Important Notes
- Always verify token addresses (scam tokens exist)
- Price impact grows non-linearly with trade size
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 Find Best Route?
Find Best Route is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Find optimal DEX routing for token swaps
How do I install Find Best Route in Claude Code?
Download find-best-route.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Find Best Route in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Find Best Route 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
- Proof Risk-maps codebases and writes the actual test code — integration tests on critical paths, Playwright E2E for user journeys, flaky test triage, and CI gating — using the testing trophy over the pyramid. Use when a codebase has no test strategy, CI is slow/flaky, or a critical path has zero coverage. Trigger with \"write the tests\", \"triage our flaky tests\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Python Dev Implements production-grade Python/FastAPI backends with async patterns, PostgreSQL/Alembic migrations, auth, and LLM integrations strictly from sprint API contract and backend specs, returning a BACKEND IMPLEMENTATION REPORT. Use when building or updating Python API services in a sprint. Trigger with "implement backend sprint", "build FastAPI endpoint". Subagent · jeremylongshore/tons-of-skills-marketplace
- Query Performance Analyzer Analyze query performance with EXPLAIN plan interpretation, bottleneck identification, and optimization recommendations Plugin · jeremylongshore/tons-of-skills-marketplace
- Quality Guardian Code quality, testing, and validation enforcement specialist Subagent · jeremylongshore/tons-of-skills-marketplace
- Firestore Setup Initialize Firebase Admin SDK, configure Firestore, and setup A2A/MCP Slash Command · jeremylongshore/tons-of-skills-marketplace
- Find Arbitrage Find arbitrage opportunities across CEX/DEX with real-time detection Slash Command · jeremylongshore/tons-of-skills-marketplace
- Fuzz Api Fuzz test APIs with malformed inputs and edge cases Slash Command · jeremylongshore/tons-of-skills-marketplace
- Fastapi Scaffold Generate production-ready FastAPI REST API with async and authentication Slash Command · jeremylongshore/tons-of-skills-marketplace