Skip to main content
Run any Skill in Manus
with one click

gas-compare

Stars175
Forks58
UpdatedApril 19, 2026 at 15:14

Compare per-test gas between the current branch and a base branch (default: main). Uses `forge test --json` to extract gas per test, then cross-references with test_metadata.json to produce per-test comparison tables grouped by source file. Router gas includes executor delegatecall cost, so it represents the full swap cost. Use when user says "gas compare", "gas report", "gas diff", "compare gas", "gas regression", "gas benchmark", or invokes /gas-compare.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly