Flash Loan Simulator
Simulate and analyze flash loan strategies including arbitrage, liquidations, and collateral swaps
- Type
- Plugin
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Version
- 1.30.0
- Author
- Intent Solutions IO
What Flash Loan Simulator is
Flash Loan Simulator is a plugin published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.
Installing Flash Loan Simulator adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.
How to install Flash Loan Simulator
Claude Code
- Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace
- Install the plugin: claude plugin install flash-loan-simulator@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
- Restart the session if the new skills or commands don't appear straight away.
Claude Cowork
- Open Customize → Plugins and choose Add marketplace.
- Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub).
- Find Flash Loan Simulator in the list, click Install, then connect any connectors it needs from its Connectors tab.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/crypto/flash-loan-simulator/.claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.
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
Installation
/plugin install flash-loan-simulator@claude-code-plugins-plusFREE RPC Endpoints: No Alchemy Required
Run flash loan simulations using free public RPC endpoints - no Alchemy subscription needed.
Quick Comparison
Annual Savings: $588-2,388 for flash loan development.
Why Free RPCs Work for Flash Loan Simulations
Simulation Requirements:
- Read blockchain state (getBlock, getTransaction, call)
- Query DeFi protocol data (Aave, Uniswap, Balancer)
- Gas estimation (estimateGas)
- Historical data for backtesting
Free RPCs provide:
- 25-100 requests/second (more than enough for simulations)
- Archive node access (historical data)
- Multi-chain support (Ethereum, Polygon, Arbitrum)
- 99.9% uptime
You DON'T need Alchemy's premium features for simulations (webhooks, NFT API, trace API are for production, not testing).
Free RPC Provider Catalog
1. Ankr (Best for Multi-Chain)
What: Public RPC endpoints for 15+ chains
Limits:
- Ethereum: 30 requests/second
- No rate limits on queries
- Archive data available
Setup:
{
"rpcEndpoint": "eth"
}Cost: $0 (no API key required)
Chains: Ethereum, Polygon, Arbitrum, Optimism, BSC, Avalanche
2. Infura Free Tier
What: Free tier with 100K requests/day
Limits:
- 100,000 requests/day (sufficient for development)
- 10 requests/second
- Requires free account (no credit card)
Setup:
{
"rpcEndpoint": "https://mainnet.infura.io/v3/YOUR_FREE_KEY"
}Get Free Key: infura.io/register (no payment required)
Cost: $0 (free tier)
3. Chainstack Free Plan
What: 3M requests/month free
Limits:
- 3,000,000 requests/month
- 25 requests/second
- Free account (no card)
Setup:
{
"rpcEndpoint": "https://nd-XXX-XXX-XXX.p2pify.com/YOUR_FREE_KEY"
}Get Free Key: chainstack.com/pricing
Cost: $0 (free plan)
4. Public Ethereum RPC (Fastest Setup)
What: Community-run public endpoints
Limits:
- Variable rate limits
- May be slower during peak times
- No signup required
Setup:
{
"rpcEndpoint": "https://eth.llamarpc.com"
}Cost: $0 (completely free)
Alternatives:
- https://ethereum.publicnode.com
- https://cloudflare-eth.com
- https://rpc.flashbots.net (MEV-protected)
Configuration with Free RPCs
Option 1: Ankr (Recommended - No Signup)
{
"protocols": {
"aave": { "enabled": true, "fee": 0.0009 },
"dydx": { "enabled": true, "fee": 0 },
"balancer": { "enabled": true, "fee": 0.001 }
},
"simulation": {
"slippageTolerance": 0.01,
"gasPrice": "auto",
"minProfitUSD": 50
},
"rpcEndpoint": "eth"
}Cost: $0 (vs Alchemy $49/mo)
Option 2: Infura Free Tier (Best Features)
{
"rpcEndpoint": "https://mainnet.infura.io/v3/YOUR_FREE_KEY"
}Setup Steps:
- Sign up at infura.io (free, no card)
- Create project
- Copy API key
- Paste into config
Cost: $0 for 100K requests/day
Option 3: Multi-Chain Setup (All Free)
{
"networks": {
"ethereum": "eth",
"polygon": "polygon",
"arbitrum": "arbitrum",
"optimism": "optimism"
}
}Cost: $0 across all chains
Cost Comparison: Flash Loan Development
Paid Approach (Alchemy)
Annual Subscriptions:
- Alchemy Growth: $49/mo → $588/year
- Alchemy Scale: $199/mo → $2,388/year (if high usage)
Advantages:
- 660 requests/second
- Advanced analytics dashboard
- Dedicated support
Free Approach (Public RPCs)
Annual Subscriptions:
- Ankr: $0
- Infura free tier: $0
- Public RPCs: $0
- Total: $0/year
Advantages:
- 25-100 requests/second (sufficient for simulations)
- Archive data for backtesting
- No rate limit concerns for development
Savings: $588-2,388/year with identical simulation quality.
Real Use Case Examples
Flash Loan Arbitrage Simulation
const { ethers } = require('ethers');
// Before (Alchemy - Paid)
const provider = new ethers.providers.JsonRpcProvider(
`https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}` // $49-199/mo
);
// After (Ankr - FREE)
const provider = new ethers.providers.JsonRpcProvider(
'eth' // $0/mo
);
// Same simulation capability, zero cost
const uniswapPrice = await uniswapContract.getAmountsOut(...);
const sushiswapPrice = await sushiswapContract.getAmountsOut(...);
const profit = calculateArbitrage(uniswapPrice, sushiswapPrice); Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Flash Loan Simulator?
Flash Loan Simulator is a plugin for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Simulate and analyze flash loan strategies including arbitrage, liquidations, and collateral swaps
How do I install Flash Loan Simulator in Claude Code?
Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace Install the plugin: claude plugin install flash-loan-simulator@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.
Can I use Flash Loan Simulator in Claude Cowork?
Open Customize → Plugins and choose Add marketplace. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub). Find Flash Loan Simulator in the list, click Install, then connect any connectors it needs from its Connectors tab.
Is Flash Loan Simulator safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Full Team Full tonone team — all 31 agents (Engineering + Product + Operations) with all 177 skills Plugin · jeremylongshore/tons-of-skills-marketplace
- Freshie Inventory Manager Unified command center for the freshie ecosystem inventory database — discovery scans, compliance grading, batch remediation, querying, and reporting across 51 tables of plugin/skill/pack metadata Plugin · jeremylongshore/tons-of-skills-marketplace
- Framer Pack Claude Code skill pack for Framer (18 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Fuzz Api Fuzz test APIs with malformed inputs and edge cases Slash Command · jeremylongshore/tons-of-skills-marketplace
- Flexport Pack 24 governed Flexport v3 and MCP operator workflows for freight, trade data, webhooks, and secure integrations Plugin · jeremylongshore/tons-of-skills-marketplace
- Fireflies Pack Operator-grade Fireflies.ai GraphQL and Webhooks V2 pack with 24 governed meeting-data workflows Plugin · jeremylongshore/tons-of-skills-marketplace
- Flyio Pack Operator-grade Fly.io skill pack for controlled app, Machine, data, security, deployment, and observability workflows (18 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Firecrawl Pack Operator-grade Firecrawl v2 skill pack with 30 governed acquisition, security, reliability, and production workflows Plugin · jeremylongshore/tons-of-skills-marketplace