# Liquidity Analysis

DEX liquidity depth assessment, slippage estimation, and pool composition analysis for...

- Repository: https://github.com/agiprolabs/claude-trading-skills (507 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-09-03
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add agiprolabs/claude-trading-skills --skill liquidity-analysis -g -a claude-code -y`
Codex: `npx skills add agiprolabs/claude-trading-skills --skill liquidity-analysis -g -a codex -y`
Cursor: `npx skills add agiprolabs/claude-trading-skills --skill liquidity-analysis -g -a cursor -y`
Gemini CLI: `npx skills add agiprolabs/claude-trading-skills --skill liquidity-analysis -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add agiprolabs/claude-trading-skills`

## Description

DEX liquidity depth assessment, slippage estimation, and pool composition analysis for Solana tokens

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Liquidity Analysis, DEX Depth Assessment for Solana Tokens

Liquidity analysis answers three critical questions before every trade: **Can I get in at a reasonable price?** **Can I get out when I need to?** and **Is this pool safe?** Without it, you risk excessive slippage, failed exits, and rug pulls.

## Why Liquidity Analysis Matters

**Position sizing**: Maximum position size is bounded by available liquidity. A $10K position in a pool with $20K TVL will move the price significantly. Rule of thumb: keep trade size under 2% of pool depth to limit slippage below 1%.

**Execution cost**: Slippage is a direct cost. On a 5 SOL buy, the difference between 0.3% and 3% slippage is real money lost on every entry and exit.

**Rug risk detection**: Thin liquidity, single pools, unlocked LP tokens, and newly created pools are warning signs. Liquidity analysis catches these before you enter.

**Exit planning**: Entry liquidity may differ from exit liquidity. If LP is unlocked and owned by one wallet, it can be pulled at any time.

## Key Concepts

### Total Value Locked (TVL)

Total value of assets deposited in a pool. For a SOL/TOKEN pool with 100 SOL and 1M TOKEN at $0.01 each, TVL = 100 * SOL_price + 1M * $0.01. TVL alone is insufficient, you need depth at the current price range.

### Liquidity Depth

How much can be traded before moving the price X%. In constant-product AMMs, depth is uniform. In concentrated liquidity (CLMM), depth varies by price range, thick near the current price, thin or zero outside active ranges.

### Concentration Factor (CLMM)

Concentrated liquidity pools focus capital in a narrow price range, providing deeper liquidity within that range but nothing outside it. A pool with $50K TVL concentrated in a +/-5% range provides the same depth as a $500K constant-product pool within that range, but zero depth beyond it.

### Slippage Curve

The rest: https://github.com/agiprolabs/claude-trading-skills/blob/HEAD/skills/liquidity-analysis/SKILL.md
