Optimize blockchain gas costs by analyzing prices, patterns, and timing. Use when checking gas prices, estimating costs, or finding optimal windows. Trigger with phrases like "gas prices", "optimize gas", "transaction cost", "when to transact".
Install with Tessl CLI
npx tessl i github:jeremylongshore/claude-code-plugins-plus-skills --skill optimizing-gas-fees88
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Gas fee optimization skill that:
ETHERSCAN_API_KEY for higher rate limitscd {baseDir}/scripts && python3 gas_optimizer.py currentFor specific chain:
cd {baseDir}/scripts && python3 gas_optimizer.py current --chain polygonFor known operations:
cd {baseDir}/scripts && python3 gas_optimizer.py estimate --operation uniswap_v2_swap --all-tiersFor custom gas limit:
cd {baseDir}/scripts && python3 gas_optimizer.py estimate --gas-limit 150000 --tier fastAvailable operations: 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 {baseDir}/scripts && python3 gas_optimizer.py optimalHourly patterns:
cd {baseDir}/scripts && python3 gas_optimizer.py patternsDaily patterns:
cd {baseDir}/scripts && python3 gas_optimizer.py patterns --dailycd {baseDir}/scripts && python3 gas_optimizer.py predict --time 14cd {baseDir}/scripts && python3 gas_optimizer.py comparecd {baseDir}/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 {baseDir}/references/errors.md for:
See {baseDir}/references/examples.md for:
22fc789
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.