Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jeremylongshore avatar

Analyzing Liquidity Pools

  • 43 installs
  • 2.6k repo stars
  • Updated August 5, 2026
  • jeremylongshore/claude-code-plugins-plus-skills

Analyzes DEX liquidity pools across Uniswap, Curve, and Balancer for TVL, volume, fees, impermanent loss, and LP profitability.

About

Evaluates DEX liquidity pools for TVL, trading volume, fee income, and impermanent-loss risk, comparing pools across protocols and chains. A developer uses it to assess LP opportunities and project returns before providing liquidity.

  • Pool analysis by address or token pair via pool_analyzer.py
  • Impermanent-loss scenarios and fee-APR return estimates

Analyzing Liquidity Pools by the numbers

  • 43 all-time installs (skills.sh)
  • Ranked #216 of 479 Web3 & Blockchain skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill analyzing-liquidity-pools

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs43
repo stars2.6k
Last updatedAugust 5, 2026
Repositoryjeremylongshore/claude-code-plugins-plus-skills

What it does

Analyzes DEX liquidity pools across Uniswap, Curve, and Balancer for TVL, volume, fees, impermanent loss, and LP profitability.

Files

SKILL.mdMarkdownGitHub ↗

Analyzing Liquidity Pools

Overview

Analyze DEX liquidity pools across Uniswap, Curve, and Balancer to evaluate TVL, trading volume, fee income, and impermanent loss risk. Compare pools across protocols and chains to identify optimal LP opportunities.

Prerequisites

  • Python 3.8+ installed
  • Internet access for subgraph/API queries
  • Understanding of liquidity providing concepts (IL, fee tiers, TVL)

Instructions

1. Analyze a specific pool by address or token pair:

   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --pool 0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640
   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --pair ETH/USDC --protocol uniswap-v3

2. Calculate impermanent loss for a price change:

   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --il-calc --entry-price 2000 --current-price 3000  # 2000/3000 = ETH price at entry/now in USD

Project IL for various scenarios:

   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --il-scenarios --token-pair ETH/USDC

3. Estimate LP returns with fee APR and position projections:

   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --pool [address] --detailed
   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --pool [address] --position 10000  # 10000 = LP position size in USD

4. Compare pools across protocols or fee tiers:

   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --compare --pair ETH/USDC --protocols uniswap-v3,curve,balancer
   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --compare --pair ETH/USDC --fee-tiers 0.05,0.30,1.00

5. Export results to JSON or CSV:

   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --pool [address] --format json --output pool_analysis.json
   python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --compare --pair ETH/USDC --format csv --output pools.csv

Output

Pool analysis reports include chain, TVL, 24h volume, fee tier, fee APR, volume/TVL ratio, and token composition with current price. Impermanent loss reports show IL percentage, dollar impact, HODL vs LP value comparison, and breakeven analysis with days-to-recover based on fee income.

See ${CLAUDE_SKILL_DIR}/references/implementation.md for detailed output format examples.

Error Handling

ErrorCauseFix
Pool not foundWrong address or chainVerify address and target chain
Subgraph timeoutAPI latency or downtimeUses cached data with warning
Invalid pairUnsupported protocolCheck supported protocols list

Examples

Analyze top ETH/USDC pool - Full TVL, volume, and fee breakdown on Uniswap V3:

python pool_analyzer.py --pair ETH/USDC --protocol uniswap-v3 --chain ethereum

Calculate IL for 2x price increase - See dollar impact vs holding:

python pool_analyzer.py --il-calc --entry-price 100 --current-price 200  # 100/200 = token price at entry/now in USD

Compare Uniswap fee tiers - Find optimal fee tier for ETH/USDC:

python pool_analyzer.py --compare --pair ETH/USDC --fee-tiers 0.05,0.30,1.00

Export all ETH pairs - Dump pool data for further analysis:

python pool_analyzer.py --token ETH --format json --output eth_pools.json

Resources

  • The Graph: https://thegraph.com/ - Subgraph queries
  • Uniswap Info: https://info.uniswap.org/ - Pool explorer
  • DeFiLlama: https://defillama.com/ - TVL data
  • ${CLAUDE_SKILL_DIR}/references/implementation.md - Detailed output formats, configuration, cross-protocol comparison guide

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.