Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nirholas/three.ws --skill ethereum-gas-optimizationgit clone --depth 1 https://github.com/nirholas/three.wsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nirholas/three.ws/ethereum-gas-optimization)<a href="https://agentmods.dev/skills/nirholas/three.ws/ethereum-gas-optimization"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/ethereum-gas-optimization/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nirholas/three.ws/ethereum-gas-optimization"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/ethereum-gas-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.01216 |
| Opus 5.5 | $0.00015 | $0.00486 |
| Sonnet 5.5 | $0.00007 | $0.00243 |
| Haiku 4.5 | $0.00004 | $0.00122 |
Grade A, and why
ethereum-gas-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ethereum Gas Optimization
When to use this skill
Use when the user asks about:
- Reducing gas costs for Ethereum transactions
- Best time to submit transactions for lower fees
- Whether to use L2 vs mainnet for a specific operation
- Understanding gas pricing mechanics (EIP-1559)
- Optimizing DeFi operations for gas efficiency
- Estimating transaction costs before execution
Gas Optimization Framework
1. Gas Price Mechanics (EIP-1559)
Understanding the fee model:
- Base fee: Set by the network — adjusts up/down based on block fullness. This portion is burned.
- Priority fee (tip): Paid to validators — determines transaction priority within a block.
- Max fee: Your maximum willingness to pay (base + priority). Unused portion is refunded.
- Gas limit: Maximum gas units the transaction can consume. Set too low = transaction fails. Set too high = overpaying.
- Total cost: Gas Used * (Base Fee + Priority Fee)
Current gas prices can be checked on:
- Etherscan gas tracker
- blocknative.com
- In-wallet gas estimation
2. Timing Strategies
Gas prices follow predictable patterns:
- Lowest fees: Weekends (Saturday/Sunday), and weekday early morning UTC (2:00-8:00 UTC) when US/Asia overlap is minimal
- Highest fees: Weekday US market hours (14:00-20:00 UTC), especially during NFT mints or market volatility
- Avoid: Periods of extreme market volatility — gas spikes during crashes as everyone rushes to manage positions
- Tools: Gas price alert services that notify when fees drop below your threshold
3. Transaction Optimization Techniques
Reduce gas consumption:
- Batch transactions: Use multicall or batching contracts to combine multiple operations into one transaction
- Approve exact amounts: Approving the exact amount needed uses slightly less gas than unlimited approval, but the gas savings are minimal — the real benefit is security
- Token transfers: ERC-20 transfers cost ~65K gas. ETH transfers cost only 21K gas. Minimize unnecessary token movements.
- Avoid partial fills: Set appropriate slippage to avoid reverted transactions that still cost gas
- Cancel with replacement: If a transaction is stuck, send a 0 ETH transaction to yourself with the same nonce and higher gas price
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 102 lines · 37 tokens per session scan A 28edb75b9847
ethereum-gas-optimization is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 37 tokens to every session and 1,216 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
ethereum-gas-optimization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ethereum-gas-optimizationnirholas/three.ws | Skill | 287 | yesterday | Apache-2.0 | A | 37 | Claude Code, Codex |
| pay-x402-servicenirholas/x402-payments-mcp | Skill | 9 | 19d ago | Apache-2.0 | A | 51 | Claude Code |
| granite-pay-per-callnirholas/ibm-x402-mcp | Skill | 9 | 19d ago | Apache-2.0 | A | 49 | Claude Code |
| pumpfun-token-researchnirholas/pumpfun-claims-bot | Skill | 25 | 11d ago | none | A | 59 | Claude Code |
| jupiter-vrfdinternet-court/internet-court-skill | Skill | 7.2k | 6d ago | none | A | 45 | Claude Code |
| vybe-token-market-intelvybenetwork/solana-mcp-vybe | Skill | 3.2k | 4d ago | none | A | 60 | Claude Code, Codex |
| solana-security-reviewYD811/potbot-v2 | Skill | 22 | 3d ago | MIT | A | 75 | Claude Code, Codex |