Agent skill

Analyzing Liquidity Pools

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Analyze DEX liquidity pools for TVL, volume, fees, impermanent loss, and LP profitability.

MITAuto-check passedBusiness, Finance & HR

Install Analyzing Liquidity Pools

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-liquidity-pools -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace analyzing-liquidity-pools --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/analyzing-liquidity-pools .claude/skills/analyzing-liquidity-pools && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
analyzing-liquidity-pools
GitHub stars
2.8k
Token cost
~1.1k tokens
SKILL.md length
256 words
Files
12 (incl. scripts, references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Analyze DEX liquidity pools for TVL, volume, fees, impermanent loss, and LP profitability.

  • Works in 5 steps: Analyze a specific pool by address or… → Calculate impermanent loss for a price… → Estimate LP returns with fee APR and… → …
  • Analyzing liquidity pools
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 3 more sections
  • Runs Python scripts from its folder; calls python

What it does

Analyzing Liquidity Pools is an agent skill from jeremylongshore/tons-of-skills-marketplace. 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".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts and reference files (for example `ARD.md`, `PRD.md` and `config/settings.yaml`). Compatibility notes: Designed for Claude Code

It sits in Business, Finance & HR. It works with Uniswap. 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. The licence is MIT.

When your agent uses it

  • Analyzing liquidity pools
  • Calculating impermanent loss
  • Comparing DEX pools
  • With phrases like analyze liquidity pool

Example prompts

  • “analyze liquidity pool”
  • “calculate impermanent loss”
  • “LP returns”
  • “/analyzing-liquidity-pools”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Bash(crypto:liquidity-*)

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Analyze a specific pool by address or token pair
  2. Calculate impermanent loss for a price change
  3. Estimate LP returns with fee APR and position projections
  4. Compare pools across protocols or fee tiers
  5. Export results to JSON or CSV

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash(crypto:liquidity-*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • thegraph.com
    • info.uniswap.org
    • defillama.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Analyzing Liquidity Pools loads about 1.1k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 256 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~89
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 256 words, ~1,065 tokens.

Download SKILL.mdSave it as .claude/skills/analyzing-liquidity-pools/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
analyzing-liquidity-pools
description
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".
allowed-tools
Read, Write, Bash(crypto:liquidity-*)
compatibility
Designed for Claude Code
version
1.23.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
crypto, analyzing-liquidity

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:

    bash
    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:

    bash
    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:

    bash
    python ${CLAUDE_SKILL_DIR}/scripts/pool_analyzer.py --il-scenarios --token-pair ETH/USDC
  3. Estimate LP returns with fee APR and position projections:

    bash
    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:

    bash
    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:

    bash
    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:

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

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

bash
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:

bash
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:

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

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files (scripts, references) in skills/.curated/analyzing-liquidity-pools of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • ARD.md
  • PRD.md
  • config/settings.yaml
  • references/errors.md
  • references/examples.md
  • references/implementation.md
  • scripts/formatters.py
  • scripts/il_calculator.py
  • scripts/pool_analyzer.py
  • scripts/pool_fetcher.py
  • scripts/pool_metrics.py

Open the folder on GitHubat commit cfae287

Compare with similar skills

Analyzing Liquidity Pools next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Analyzing Liquidity Pools compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analyzing Liquidity Pools this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Notebook To Strategytradingstrategy-ai/trade-executor160—~1.1kAutomated safety check: PassCustom licence
Building Blocksaustintgriffith/ethskills295—~2.9kAutomated safety check: PassNone
Oracle Flashloan Analysisquillai-network/quillshield_skills130—~2.8kAutomated safety check: PassMIT
Octav APIinternet-court/internet-court-skill6.6k—~3.8kAutomated safety check: PassMIT
Uniswap SwapNethereum/Nethereum2.3k—~2.1kAutomated safety check: PassMIT

Similar skills

  • Notebook To Strategy

    tradingstrategy-ai/trade-executor

    Transfer code from a backtesting Jupyter notebook to a Trade Executor strategy module

    160 GitHub stars~1.1k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Building Blocks

    austintgriffith/ethskills

    DeFi legos and protocol composability on Ethereum and L2s. An agent skill from austintgriffith/ethskills.

    295 GitHub stars~2.9k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Oracle Flashloan Analysis

    quillai-network/quillshield_skills

    Detects price oracle manipulation and flash loan attack vectors in DeFi smart contracts.

    130 GitHub stars~2.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • Octav API

    internet-court/internet-court-skill

    Integrate with Octav API for cryptocurrency portfolio tracking, transaction history, and DeFi analytics across 50+ blockchain networks.

    6.6k GitHub stars~3.8k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Uniswap Swap

    Nethereum/Nethereum

    Swap tokens on Uniswap V2/V3/V4 using Nethereum (.NET/C). An agent skill from Nethereum/Nethereum.

    2.3k GitHub stars~2.1k tokensUpdated 6 days ago
    Business, Finance & HRAuto-check passed
  • Aomi Transact

    sickn33/agentic-awesome-skills

    Build natural-language crypto/DeFi agents and EVM MCP plugins (Claude Code, Cursor, Codex, Gemini).

    47k GitHub starsUsed in 1 repo~2.3k tokens
    Business, Finance & HRAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Analyzing Liquidity Pools

What does Analyzing Liquidity Pools do?

Analyze DEX liquidity pools for TVL, volume, fees, impermanent loss, and LP profitability. Analyzing Liquidity Pools is an agent skill from jeremylongshore/tons-of-skills-marketplace. Analyze DEX liquidity pools for TVL, volume, fees, impermanent loss, and LP profitability.

When should I use Analyzing Liquidity Pools?

Analyzing Liquidity Pools fits situations like: analyzing liquidity pools; calculating impermanent loss; comparing DEX pools; with phrases like analyze liquidity pool.

How do I install Analyzing Liquidity Pools in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-liquidity-pools -a claude-code`. Or copy the skill folder (skills/.curated/analyzing-liquidity-pools in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/analyzing-liquidity-pools in your project. Claude Code loads it when a task matches its description.

How do I install Analyzing Liquidity Pools in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-liquidity-pools -a codex`. Or copy the skill folder (skills/.curated/analyzing-liquidity-pools in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/analyzing-liquidity-pools in your project. Codex loads it when a task matches its description.

Can I use Analyzing Liquidity Pools in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill analyzing-liquidity-pools -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analyzing-liquidity-pools, .gemini/skills/analyzing-liquidity-pools, .github/skills/analyzing-liquidity-pools and .opencode/skills/analyzing-liquidity-pools in your project.

What does Analyzing Liquidity Pools need to run?

Going by SKILL.md and its folder, Analyzing Liquidity Pools needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Bash(crypto:liquidity-*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Analyzing Liquidity Pools access the network?

SKILL.md names 3 domains. As links in the text: thegraph.com, info.uniswap.org and defillama.com. This is read from the text; nothing was executed.

Is Analyzing Liquidity Pools safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Analyzing Liquidity Pools use?

Analyzing Liquidity Pools is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Analyzing Liquidity Pools use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.6k tokens, read only when the agent opens those files.

What are the alternatives to Analyzing Liquidity Pools?

Skills that share tags, products or a category with Analyzing Liquidity Pools: Notebook To Strategy (tradingstrategy-ai/trade-executor, 160 stars), Building Blocks (austintgriffith/ethskills, 295 stars), Oracle Flashloan Analysis (quillai-network/quillshield_skills, 130 stars) and Octav API (internet-court/internet-court-skill, 6.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analyzing Liquidity Pools?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.