Skip to content
Back to skills

Liquidity Depth Analyzer

ASecurity

DEX liquidity analysis and slippage estimation for MEV trading. Use when implementing swaps, route selection, or position sizing. Triggers on: liquidity, slippage, price impact, depth, AMM math, Uniswap, Curve.

  • 416 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
datatypescript

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill liquidity-depth-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Liquidity Depth Analyzer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Liquidity Depth Analyzer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-liquidity-depth-analyzer/badge)](https://www.skillsdirectory.com/skills/aiskillstore-liquidity-depth-analyzer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: liquidity-depth-analyzer
description: "DEX liquidity analysis and slippage estimation for MEV trading. Use when implementing swaps, route selection, or position sizing. Triggers on: liquidity, slippage, price impact, depth, AMM math, Uniswap, Curve."
---

# Liquidity Depth Analyzer

DEX liquidity analysis and slippage estimation for MEV trading.

## When to Use

- Implementing swap execution
- Selecting optimal routes
- Sizing positions for trades
- Calculating price impact
- Validating arbitrage profitability

## Workflow

### Step 1: Check Liquidity Depth

Verify depth >= 3x trade size.

### Step 2: Calculate Price Impact

Ensure impact < 0.5% (50 bps).

### Step 3: Validate Profit After Slippage

Confirm profit survives slippage tolerance.

---

## Core Rule

**Never execute without knowing:**
1. Available liquidity at current price
2. Price impact for your size
3. Whether profit survives slippage

## Key Formulas
price_impact_bps = |1 - (in/out) / spot| × 10000
minAmountOut = expected × (1 - slippage_bps / 10000)

## Config
```typescript
const config = {
  max_price_impact_bps: 50,   // 0.5%
  max_slippage_bps: 100,      // 1%
  min_depth_multiplier: 3,    // depth >= 3x trade
};
```

## Abort Reasons

| Code | Action |
|------|--------|
| NO_POOL | Find alternative route |
| LOW_DEPTH | Reduce size or split |
| HIGH_PRICE_IMPACT | Reduce size |
| LOW_PROFIT | Skip opportunity |

Files in this skill

  • SKILL.md1.4 KB
  • skill-report.json8.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.