From gas-fee-optimizer
Fetches real-time gas prices, estimates DeFi transaction costs, analyzes patterns, predicts prices, and finds optimal windows across Ethereum and chains like Polygon.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gas-fee-optimizer:optimizing-gas-feesThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Gas fee optimization skill that:
Gas fee optimization skill that:
ETHERSCAN_API_KEY for higher rate limitscd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py current
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py current --chain polygon
eth_transfer, erc20_transfer, erc20_approve, uniswap_v2_swap, uniswap_v3_swap, sushiswap_swap, curve_swap, nft_mint, nft_transfer, opensea_listing, aave_deposit, aave_withdraw, compound_supply, compound_borrow, bridge_deposit):
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py estimate --operation uniswap_v2_swap --all-tiers
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py estimate --gas-limit 150000 --tier fast # 150000 = configured value
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py optimal
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py patterns
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py patterns --daily
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py predict --time 14
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py compare
cd ${CLAUDE_SKILL_DIR}/scripts && python3 gas_optimizer.py history --blocks 50
| Chain | Native Token | Block Time |
|---|---|---|
| Ethereum | ETH | ~12 sec |
| Polygon | MATIC | ~2 sec |
| Arbitrum | ETH | ~0.25 sec |
| Optimism | ETH | ~2 sec |
| Base | ETH | ~2 sec |
| Tier | Percentile | Confirmation Time |
|---|---|---|
| Slow | 10th | 10+ blocks (~2+ min) |
| Standard | 50th | 3-5 blocks (~1 min) |
| Fast | 75th | 1-2 blocks (~30 sec) |
| Instant | 90th | Next block (~12 sec) |
See ${CLAUDE_SKILL_DIR}/references/errors.md for:
See ${CLAUDE_SKILL_DIR}/references/examples.md for:
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin gas-fee-optimizerOptimizes gas usage in Solidity smart contracts on EVM chains with chain-specific analysis (full for Ethereum L1, calldata-focused for L2s). Scans, fixes, verifies.
Monitors Ethereum mempools for pending transactions, gas prices, DEX swaps, and MEV opportunities via Python scripts. Useful for gas optimization and transaction analysis.