smithery/aiskillstore

liquidity-depth-analyzer

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.

Installation

$ npx skills add smithery/aiskillstore --skill liquidity-depth-analyzer

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/aiskillstore · top by installs.

npx skills add smithery/aiskillstore

Browse all from smithery/aiskillstore

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,418 B
  • docs SUMMARY.md 242 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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

priceimpactbps = |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

Code Action
NO_POOL Find alternative route
LOW_DEPTH Reduce size or split
HIGHPRICEIMPACT Reduce size
LOW_PROFIT Skip opportunity