mev-analysis

Analyze MEV exposure and sandwich attack risks for Solana DEX trades.

266|54|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/agiprolabs/claude-trading-skills --skill mev-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mev-analysis
Source: https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/mev-analysis
Command: npx skills add https://github.com/agiprolabs/claude-trading-skills --skill mev-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps traders understand and mitigate risks associated with Maximal Extractable Value (MEV) on Solana Decentralized Exchanges (DEXs), particularly sandwich attacks.

Core Features & Use Cases

  • MEV Exposure Assessment: Estimate the profitability of sandwich attacks for a given trade.
  • Protection Strategies: Provides actionable steps like adjusting slippage, using Jito bundles, private RPCs, and trade splitting.
  • Sandwich Detection: Analyzes on-chain data to identify if a past transaction was a victim of a sandwich attack.
  • Use Case: Before executing a large swap on Jupiter, use this Skill to assess the MEV risk and apply the recommended protection strategies to ensure better execution prices.

Quick Start

Analyze the MEV risk for a 10 SOL trade with 100bps slippage on token mint 'ABC123...'.

Frequently Asked Questions about mev-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect if my Solana DEX transaction was a victim of a sandwich attack?

To detect a sandwich attack, you analyze transaction patterns within specific Solana slots to identify if your trade was targeted. This Skill examines on-chain data to pinpoint past sandwich attacks and assess your MEV exposure.

What is the best way to estimate MEV exposure before executing a large swap on Solana?

Estimating MEV exposure involves calculating the potential profitability of a sandwich attack for your specific trade parameters. This Skill analyzes your trade size and slippage settings to estimate the risk and potential costs.

How do I protect my DEX trading from MEV risks using Jito bundles and private RPCs?

Protecting your DEX trading from MEV risks involves actionable mitigation techniques like adjusting slippage, using Jito bundles, routing through private RPCs, and splitting trades. This Skill provides specific steps to implement these protection strategies.

Can I analyze MEV risk for a specific token mint and slippage tolerance on Solana?

Yes, you can analyze MEV risk for specific token mints and slippage tolerances on Solana. By inputting your trade details, such as a 10 SOL swap with 100bps slippage on a specific mint, the Skill assesses the associated sandwich attack profitability.

Does adjusting slippage and splitting trades actually help mitigate Solana MEV?

Adjusting slippage and splitting trades are effective mitigation techniques for reducing MEV exposure. This Skill provides actionable steps to configure these parameters properly, alongside utilizing Jito bundle submission and private RPC usage for better execution.