简介
基于链上数据的Uniswap V2/V3/V4跨版本池子比较工具,智能分析APY、流动性深度与费用层级,助力流动性提供者做出最优资金配置决策。
原始描述
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.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
中文使用说明 来自收录源
核心功能
compare-pools 是一款面向 Uniswap 流动性提供者的池子比选分析 Skill。用户指定任意代币对(如 ETH/USDC)后,该工具自动调用 pool-researcher Subagent,在全链范围内检索该代币对的所有活跃流动性池,涵盖 Uniswap V2、V3(多费率档位)及 V4 版本,并基于 TVL、24h 交易量、7日 APY、1% 滑点深度等关键指标进行综合排名,最终输出带明确推荐的对比表格。
显著优点
- 跨版本全景扫描:打破 V2/V3/V4 版本壁垒,一次性呈现所有可用池,解决用户"该选哪个版本"的决策困境
- 多费率精准比选:针对 V3/V4 的 1bp/5bp/30bp/100bp 等费率档位进行收益-深度权衡,帮助 LP 找到收益与风险的最优平衡点
- 委托式安全架构:本身为纯 Markdown 文档型 Skill,无直接链上操作代码,实际数据获取与计算交由专用 Subagent 处理,降低攻击面
- 量化决策输出:以结构化表格呈现对比结果,并给出"Best APY"等明确推荐标签,降低用户决策成本
- 跨链支持:支持单链聚焦或全链对比,满足多链流动性布局需求
潜在局限
- 依赖 Subagent 质量:核心数据与分析逻辑完全依赖
pool-researcher的实现质量,若子代理数据源延迟或算法有误,直接影响输出准确性 - 无实时价格校准:未提及对预言机价格或无常损失(IL)的实时计算,APY 为历史数据回测,不代表未来收益
- 推荐维度单一:当前示例以 APY 为首要推荐依据,对风险偏好不同的用户(如追求稳定深度而非高收益)缺乏个性化策略
- T2 来源可信度:来自个人开发者 GitHub 仓库,虽公开可追溯,但缺乏顶级机构背书,长期维护稳定性存疑
适合人群
- Uniswap V3/V4 流动性提供者,尤其在多费率档位间犹豫的 LP
- 量化交易团队或做市商,需快速评估不同池的流动性深度与资金效率
- DeFi 投研分析师,进行跨版本、跨链流动性池的横向对比研究
常规风险
- 智能合约风险:Skill 本身安全,但最终资金操作仍需通过其他工具与 Uniswap 合约交互,合约漏洞风险未消除
- 数据时效性:APY、TVL 等链上数据具有滞后性,高波动市场下推荐可能失效
- 无常损失风险:高收益池往往伴随高波动代币对,Skill 未内置 IL 预警,用户需自行评估
- 子代理故障:若
pool-researcher不可用,将导致查询失败或返回空结果
技能正文
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
-
Extract parameters from the user's request.
-
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. -
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 |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。