360 Secure SkillHub
360 安全技能中心

Uniswap Compare Pools

核心功能:跨Uniswap V2/V3/V4版本及各费率层级,对比指定代币对的池,按TVL、APY、流动性深度等维度排行推荐。典型场景:询问代币对最佳池、版本对比、最优费率等。输入需指定代币对,可选链、对比维度;输出为结构化对比表格+明确推荐,自动排除零流动性/无活动池。

wpank
wpank
热度 47.71
最近更新 2026-05-11 16:09:51
分类:数据依赖:第三方 API应用场景:财务 / 数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add compare-pools
Metadata
name
compare-pools
description
Compare all Uniswap pools for a token pair across fee tiers and versions. Use when the user asks which pool is best, wants to compare V3 vs V4, or wants to find the optimal fee tier.
model
opus
allowed-tools
["Task(subagent_type:pool-researcher)"]

Compare Pools

Overview

Compares all available Uniswap pools for a token pair across fee tiers (1bp, 5bp, 30bp, 100bp) and protocol versions (V2, V3, V4). Delegates to pool-researcher in comparison mode to rank pools by APY, liquidity depth, and utilization.

When to Use

Activate when the user asks:

  • "Compare ETH/USDC pools"
  • "Which pool is best for ETH/USDC?"
  • "V3 vs V4 for this pair"
  • "Best fee tier for WETH/USDC"
  • "Which fee tier has the best APY?"
  • "Compare liquidity across fee tiers"

Parameters

Parameter Required Default Description
token0 Yes — First token name, symbol, or address
token1 Yes — Second token name, symbol, or address
chain No All chains Chain name or "all" for cross-chain comparison
compareBy No all Focus: "tvl", "volume", "apy", or "all"

Workflow

  1. Extract parameters from the user's request.

  2. Delegate to pool-researcher: Invoke Task(subagent_type:pool-researcher) asking for a comparison of all pools for the token pair. The agent will discover pools across fee tiers and versions, gather data for each, and rank them.

  3. Present comparison: Format as a comparison table with a clear recommendation.

Output Format

Pool Comparison: WETH/USDC (Ethereum)

  | Pool       | Fee    | TVL     | Vol 24h  | APY 7d | Depth 1% | Recommended |
  | ---------- | ------ | ------- | -------- | ------ | -------- | ----------- |
  | V3 0.05%   | 5bp    | $332M   | $610M    | 21.3%  | $5M      | Best APY    |
  | V3 0.30%   | 30bp   | $85M    | $45M     | 8.2%   | $2M      |             |
  | V3 1.00%   | 100bp  | $12M    | $3M      | 4.1%   | $500K    |             |
  | V2 0.30%   | 30bp   | $25M    | $8M      | 3.5%   | $1M      |             |

  Recommendation: V3 0.05% pool — highest APY with deepest liquidity.

Important Notes

  • Delegates to pool-researcher — no direct MCP tool calls.
  • Pools with zero liquidity or no activity are excluded from comparison.
  • Ranking considers multiple factors: APY, depth, stability, and utilization.

Error Handling

Error User-Facing Message Suggested Action
No pools found "No active pools found for X/Y." Check token names or try another chain
Single pool only "Only one pool exists for X/Y." Shows single pool analysis instead