Simulate and analyze flash loan strategies including arbitrage, liquidations, and collateral swaps
Installation
Open Claude Code and run this command:
/plugin install flash-loan-simulator@claude-code-plugins-plus
Use --global to install for all projects, or --project for current project only.
What It Does
Simulate and analyze flash loan strategies including arbitrage, liquidations, and collateral swaps across major DeFi protocols.
Features
- Strategy Simulation - Model complex multi-step flash loan transactions
- Profitability Analysis - Calculate net profit after all fees and costs
- Risk Assessment - Identify execution risks and competition levels
- Protocol Support - Aave V3, dYdX, Balancer, Uniswap V3
- Gas Optimization - Estimate gas costs and optimize strategies
- Historical Testing - Backtest strategies against historical data
Skills (1)
Simulate flash loan strategies with profitability calculations and risk assessment across Aave, dYdX, and Balancer.
ReadWriteEditGrepGlobBash(crypto:flashloan-*)
How It Works
The flash loan agent automatically activates when you discuss:
- Flash loan strategies and simulations
- DeFi arbitrage opportunities
- Liquidation strategies
- Collateral swaps and refinancing
- Multi-protocol DeFi transactions
Example Queries
Simulate a flash loan arbitrage between Uniswap and SushiSwap for ETH
Calculate profitability of liquidating this Aave position
What's the optimal flash loan amount for this arbitrage opportunity?
Simulate a collateral swap from USDC to ETH on Aave V3
Build a flash loan strategy to arbitrage these 3 DEXes