Individual skill
simulating-flash-loans
Simulate flash loan strategies with profitability calculations and risk assessment across Aave, dYdX, and Balancer. Use when simulating flash loans, analyzing arbitrage profitability, evaluating liquidation opportunities, or comparing flash loan providers. Trigger with phrases like "simulate flash loan", "flash loan arbitrage", "liquidation profit", "compare Aave dYdX", "flash loan strategy", or "DeFi arbitrage simulation".
skills/.curated/simulating-flash-loans/SKILL.md
Source commit 0500b275e963c027f6b410e8c49c0446945c574e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 12, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,917
- Repository last updated
- Nov 12, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- automation Repository topic
- claude-code Repository topic
- devops Repository topic
- mcp Repository topic
- ai-agents Repository topic
- anthropic Repository topic
- claude-code-plugins Repository topic
- developer-tools Repository topic
- llm Repository topic
- crypto Declared skill tag
- simulating-flash Declared skill tag
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
ARD.mddoc · 21,945 bytesPRD.mddoc · 8,939 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesSKILL.mdcore · 4,610 bytesconfig/settings.yamlasset · 9,599 bytesreferences/errors.mddoc · 6,673 bytesreferences/examples.mddoc · 15,350 bytesreferences/implementation.mddoc · 3,005 bytesscripts/flash_simulator.pyruns · 14,927 bytesscripts/formatters.pyruns · 17,787 bytesscripts/profit_calculator.pyruns · 9,292 bytesscripts/protocol_adapters.pyruns · 12,189 bytesscripts/risk_assessor.pyruns · 13,190 bytesscripts/strategy_engine.pyruns · 19,270 bytes
Read excerpt
# Simulating Flash Loans
## Contents
[Overview](#overview) | [Prerequisites](#prerequisites) | [Instructions](#instructions) | [Output](#output) | [Error Handling](#error-handling) | [Examples](#examples) | [Resources](#resources)
## Overview
Simulate flash loan strategies across Aave V3, dYdX, and Balancer with profitability calculations, gas cost estimation, and risk assessment. Evaluate flash loan opportunities without executing real transactions.
## Prerequisites
1. Install Python 3.9+ with `web3`, `httpx`, and `rich` packages
2. Configure RPC endpoint access (free public RPCs via https://chainlist.org work fine)
3. Optionally add Etherscan API key for better gas estimates