Back to list
aiskillstore

liquidity-depth-analyzer

by aiskillstore

Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

102🍴 3📅 Jan 23, 2026

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

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

Abort Reasons

CodeAction
NO_POOLFind alternative route
LOW_DEPTHReduce size or split
HIGH_PRICE_IMPACTReduce size
LOW_PROFITSkip opportunity

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon