Gas Optimizer

Gas Optimizer is a skill for Claude Code, Codex from XSpoonAi/spoon-awesome-skill. It costs 44 tokens per session (5,215 once invoked), scanned A, original, no licence file.

A gas-optimization tool for Ethereum and compatible blockchains that analyzes and simulates transaction gas use, recommends gas prices, batches transactions, and applies gas-saving patterns.

In plain words
What is it for?
Use it to analyze transaction costs, test gas usage, choose gas prices, batch transactions, and optimize contract calls.
Why use it?
It helps reduce the fees and execution costs of smart-contract interactions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to analyze transaction costs, test gas usage, choose gas prices, batch transactions, and optimize contract calls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xspoonai/spoon-awesome-skill/gas-optimizer
Install

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.

Any agent
npx skills add XSpoonAi/spoon-awesome-skill --skill gas-optimizer
Clone the repo
git clone --depth 1 https://github.com/XSpoonAi/spoon-awesome-skill

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for Gas Optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/xspoonai/spoon-awesome-skill/gas-optimizer/github.svg)](https://agentmods.dev/skills/xspoonai/spoon-awesome-skill/gas-optimizer)
Your own site
<a href="https://agentmods.dev/skills/xspoonai/spoon-awesome-skill/gas-optimizer"><img src="https://agentmods.dev/badge/skills/xspoonai/spoon-awesome-skill/gas-optimizer/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.

agentmods 80×15 button for Gas Optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/xspoonai/spoon-awesome-skill/gas-optimizer"><img src="https://agentmods.dev/badge/skills/xspoonai/spoon-awesome-skill/gas-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.05215
Opus 5 $0.00022 $0.02608
Sonnet 5 $0.00009 $0.01043
Haiku 4.5 $0.00004 $0.00522

Measured 6d ago against content hash d52f1280c200, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Gas Optimizer 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 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/gas_estimator.py, scripts/gas_optimizer.py, scripts/l2_comparison.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

web3-core-operations/gas-optimizer/SKILL.md · 624 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 6d ago First seen · 624 lines · 44 tokens per session scan A d52f1280c200

Subscribe to this mod's changes

Gas Optimizer is a skill published in the GitHub repository XSpoonAi/spoon-awesome-skill (17 stars, last pushed 5mo ago), with no licence file. It adds 44 tokens to every session and 5,215 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

blockchain-ethereum

Use this skill when asked about Ethereum internals, EVM deep dive, Ethereum consensus layer, execution clients, staking, EIPs, layer-2 scaling, account abstraction, PBS/MEV-Boost, EVM opcodes, and Ethereum protocol development. Languages: Go, Rust, C#, C++, Solidity. Covers EVM architecture (opcodes, gas metering…

j4flmao/agent-skills · 242 tokens

stablecoin-chain-explorer

Explore stablecoin TVL distribution and yield opportunities by blockchain. Query which chains have the most stablecoins, compare cross-chain yields, and find the best opportunities on Ethereum, BSC, Arbitrum, Base, Polygon, and more. Also for protocols and issuers researching where stablecoin TVL and liquidity…

barkermoney/barker-mcp · 102 tokens

solidity-language-docs

Solidity 0.8.36 — smart contracts, types, functions, modifiers, events, inheritance, libraries, assembly, ABI.

pledgeandgrow/pledge-skills · 34 tokens

gas-optimization

Use when reducing gas costs, auditing gas usage, or refactoring Solidity/Yul for efficiency — when a contract should be cheaper to deploy or call, or when the user mentions high gas fees, SSTORE/SLOAD costs, storage packing, calldata vs memory, unchecked math, loop costs, or transient storage (EIP-1153).

0xendale/evm-agent-toolkit · 72 tokens

vulnerability-scanning

Use when auditing an EVM/Solidity contract for security vulnerabilities — including reentrancy, access-control gaps, EIP-7702 delegation risks, EIP-1153 transient storage flaws, unsafe delegatecall, or hardcoded secrets — or when evaluating contract safety and producing a severity-rated finding set.

0xendale/evm-agent-toolkit · 67 tokens

arbitrage-analysis

Use when analyzing EVM/DeFi arbitrage opportunities — cross-DEX spot spreads, triangular cycles, stablecoin depegs, or MEV/price dislocation — or when the user wants opportunities quantified net of fees, gas, and slippage. Analysis only, not trade execution.

0xendale/evm-agent-toolkit · 64 tokens