Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/analyzing-liquidity-pools

@820dfc8
Run it yourself

Analyze DEX liquidity pools for TVL, volume, fees, impermanent loss, and LP profitability. Use when analyzing liquidity pools, calculating impermanent loss, or comparing DEX pools. Trigger with phrases like "analyze liquidity pool", "calculate impermanent loss", "LP returns", "pool TVL", "DEX pool metrics", or "compare pools".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/analyzing-liquidity-pools

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesimplementation.md

≈689 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Analyzing Liquidity Pools - Implementation Reference

Detailed Output Formats

Pool Analysis Summary

==============================================================================
  LIQUIDITY POOL ANALYZER                           2026-01-15 15:30 UTC
==============================================================================

  POOL: USDC/WETH (Uniswap V3 - 0.05%)
------------------------------------------------------------------------------
  Chain:          Ethereum
  TVL:            $500.5M
  24h Volume:     $125.3M
  Fee Tier:       0.05%

  FEE METRICS
------------------------------------------------------------------------------
  24h Fees:       $62,650
  Fee APR:        4.57%
  Volume/TVL:     0.25

  TOKEN COMPOSITION
------------------------------------------------------------------------------
  USDC:           $252.1M (50.4%)
  WETH:           $248.4M (49.6%)
  Current Price:  $2,450/ETH
==============================================================================

Impermanent Loss Report

  IMPERMANENT LOSS CALCULATION
------------------------------------------------------------------------------
  Entry Price:    $2,000/ETH
  Current Price:  $3,000/ETH
  Price Change:   +50%

  IL (%)          -5.72%
  IL ($1000 LP):  -$57.20

  Value if HODL:  $1,250.00
  Value in LP:    $1,192.80

  BREAKEVEN ANALYSIS (0.05% fee tier)
------------------------------------------------------------------------------
  Daily Fees:     $0.63 (at $500M TVL, $125M vol)
  Days to Break:  91 days
  Monthly Fees:   $18.90
==============================================================================

Configuration

Settings in ${CLAUDE_SKILL_DIR}/config/settings.yaml:

  • Default chain: Primary chain to query
  • Cache TTL: How long to cache subgraph data
  • Subgraph endpoints: URLs for each protocol
  • Fee tier defaults: Common fee tier options

Advanced Comparisons

Cross-Protocol Comparison

When comparing pools across protocols, the analyzer normalizes:

  • Fee structures (fixed vs dynamic)
  • TVL denominated in USD
  • Volume-weighted fee APR
  • Gas costs per trade

Fee Tier Analysis

For Uniswap V3, compare fee tiers for the same pair:

  • 0.01% - Stablecoin pairs
  • 0.05% - Major pairs (ETH/USDC)
  • 0.30% - Standard pairs
  • 1.00% - Exotic pairs

Data Sources


Tons of Skills by Intent Solutions | jeremylongshore.com

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides tools to analyze DEX liquidity pools, calculating metrics such as TVL, volume, fees, and impermanent loss. It fetches data from reputable external sources including The Graph and DeFiLlama. The primary security consideration is the ingestion of external data from these sources, which represents a standard but identifiable indirect prompt injection surface.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
What it can do
Reads files Edits files Runs commands
version
1.24.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "crypto",
  "analyzing-liquidity"
]
All 3 allowed tools
ReadWriteBash(crypto:liquidity-*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/analyzing-liquidity-pools