ワンクリックで
gas-optimize
Gas optimization pass for existing Solidity contracts. Produces before/after gas diff, must show improvement to complete.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Gas optimization pass for existing Solidity contracts. Produces before/after gas diff, must show improvement to complete.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | gas-optimize |
| description | Gas optimization pass for existing Solidity contracts. Produces before/after gas diff, must show improvement to complete. |
| triggers | ["optimize gas","reduce gas costs","gas report","too expensive","gas optimization","reduce gas usage","lower transaction costs"] |
| agent | orchestrator |
| model | sonnet |
Runs a gas optimization loop on existing contracts. gas-optimizer identifies opportunities, contract-developer applies them, gas-optimizer confirms improvement. The pipeline does not complete until a positive diff is confirmed.
eth_skill_start({ skill: "gas-optimize", totalPhases: 1 })gas-optimizer to take a baseline snapshot and identify opportunitiescontract-developer with specific, line-referenced suggestionscontract-developer applies suggestions and runs tests to confirm no regressionsgas-optimizer to run forge snapshot --diff and confirm improvementgas-report.md and completeseth_reset()"optimize gas for the Vault contract"
"reduce gas costs in my ERC20"
"run a gas report"
"this transaction is too expensive, optimize it"
# Output:
gas-report.md — before/after table, list of changes applied, total savings %
forge snapshot is unavailable (Hardhat project): use hardhat-gas-reporter outputEnd-to-end protocol build pipeline — contract development, testing, auditing, gas optimization, deployment, and dApp integration. Hybrid sequential/parallel execution.
Shows all available eth-agents skills with trigger phrases and usage examples.
Extracts a reusable skill pattern from the current session and saves it to user scope for automatic activation in future sessions.
Security vulnerability analysis for Solidity smart contracts. Runs static analysis, optional dynamic testing and formal verification.
Full contract build pipeline — write → TDD loop → static audit → gas optimization. Produces a production-ready contract.
Multichain smart contract deployment with Etherscan verification. Requires explicit user confirmation before mainnet execution.