Agent skill · research science · aiskillstore
defi-mev-battletest
Expert knowledge for DeFi/MEV bot development including critical pitfalls, backtesting realities, AMM mechanics, MEV extraction strategies, and production failure modes
Why this skill is useful
Adds critical insights and executable strategies for DeFi bot development that aren't widely known, including risk management and realistic backtesting techniques.
What it needs
About 11k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
DeFi/MEV Battle-Tested Expert Skill MANDATORY CONSULTATION: This skill MUST be consulted for ANY DeFi bot development, MEV strategy implementation, or automated trading system. Real-world failures and lessons learned here prevent catastrophic losses. Trigger Keywords arbitrage, MEV, searcher, bot, automated trading backtest, simulation, paper trading flash loan, sandwich, frontrun slippage, price impact, execution reorg, race condition, mempool market making, liquidity provision --- 1. CRITICAL PITFALL #1: "Arbitrage is Risk-Free" MYTH Reality: Theoretical 0% risk, practical tail risk = DEATH Hidden Risks in "Risk-Free" Arbitrage: Real Numbers: --- 2. CRITICAL PITFALL #2: Backtest Overconfidence 80% of bots that fail in production looked great in backtests Why Backtests Lie: Correct Approach: --- 3. CRITICAL PITFALL #3: AMM ≠ Order Book Wrong slippage model = silent bleeding Uniswap V3 Specific Gotchas: Curve-Specific Gotchas: --- 4. CRITICAL PITFALL #4: MEV Underestimation Public mempool = free alpha donation The MEV Food Chain: Private Orderflow is TABLE STAKES: MEV-Share Reality: --- 5. MUST-READ RESOURCES (10 articles = 1 year experience) Tier 1: Foundational (READ FIRST) Tier 2: Practical Failures (LEARN FROM OTHERS' LOSSES) Tier 3: Code Study (Skip star count, check content) Tier 4: Follow These Accounts --- 6. ARCHITECTURE PRINCIPLES (Non-Negotiable) Separation of Concerns: Kill Switch Requirements: --- 7. SIMULATION-FIRST DEVELOPMENT Not Paper Trading - Block Simulation: Foundry/Anvil Fork Testing: --- 8. REAL FAILURE MODES (From Production) Failure Mode 1: State Staleness Failure Mode 2: Sandwich Bait Failure Mode 3: Gas Price Prediction Failure Mode 4: Partial Execution --- 9. CHECKLIST BEFORE GOING LIVE --- 10. EXPECTED VALUE CALCULATION (Realistic) --- 11. EMBEDDED KNOWLEDGE: MEV-Share Technical Deep Dive This knowledge is embedded - no need to fetch external docs. How MEV-Share Actually Works MEV-Share Client Implementation --- 12. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/defi-mev-battletest