gas — Claude Code skill: Monad gas mechanics, how to install
Skill for Claude Code, Codex, Cursor, Copilot, Gemini CLI and OpenCode: explains gas mechanics in Monad blockchain. Loaded when writing smart contracts, estimating gas or building transaction UI.
no license 255 installs ★ 15 updated 2026-10-12
npx skills add therealharpaljadeja/monskills --skill gas -a claude-codeWhat gas does
Monad implements EIP-1559 but charges gas based on the set limit, not actual consumption (gas_limit * price_per_gas). This stems from asynchronous execution: blocks are built before transactions execute, so real usage is unknown upfront. An inflated limit directly increases the user's bill.
A block holds up to 200M gas, one transaction up to 30M. The base fee controller climbs slower than in Ethereum and drops faster, producing more stable pricing. Cold state access (SLOAD, BALANCE, external calls) costs 3–4 times more: 10,100 gas for a cold account vs 2,600 in Ethereum, 8,100 for a storage slot vs 2,100. Cryptographic precompiles (ecRecover, ecMul, ecPairing) cost 2–5 times more.
For operations with fixed costs (a MON transfer always takes 21,000 gas), the skill advises setting the limit explicitly rather than relying on eth_estimateGas. If a wallet adds a buffer or the estimate call fails, the user pays for the entire inflated limit.
What it helps with
- understand why Monad charges gas_limit instead of gas used
- set a precise limit for a native MON transfer
- estimate the cost increase for cold storage and external contract access
- account for precompile price differences when verifying signatures or handling ZK
- show users the real transaction cost before submitting
Example prompts for the agent
- Explain why Monad charges based on the limit, not actual usage
- How much gas does a 1 MON transfer cost?
- Compare
SLOADcost in Ethereum and Monad
How to install gas
1Skills CLI (Vercel)
npx skills add therealharpaljadeja/monskills --skill gas -a claude-code2Manually: put the files in place
~/.claude/skills/gas/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/gas/
1Skills CLI (Vercel)
npx skills add therealharpaljadeja/monskills --skill gas -a codex2Manually: put the files in place
.agents/skills/gas/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add therealharpaljadeja/monskills --skill gas -a cursor2Manually: put the files in place
.cursor/skills/gas/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install therealharpaljadeja/monskills skills/gas2Manually: put the files in place
.github/skills/gas/SKILL.md1Skills CLI (Vercel)
npx skills add therealharpaljadeja/monskills --skill gas -a gemini-cli2Platform CLI
gemini skills install https://github.com/therealharpaljadeja/monskills --path skills/gasManually: put the files in place
.devin/skills/gas/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add therealharpaljadeja/monskills --skill gas -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about gas
How to install gas in Claude Code?
Run npx skills add therealharpaljadeja/monskills --skill gas -a claude-code, the skill lands in ~/.claude/skills/gas/SKILL.md.
What does the gas skill do?
Explains gas mechanics in Monad: charging by limit instead of actual consumption, increased cost of cold access and precompiles, base fee controller parameters. Loaded when working with transactions, gas estimation and Monad UI.
How does Monad gas differ from Ethereum?
Monad charges gas_limit, not actual usage, because blocks are built before execution. Cold operations (SLOAD, BALANCE) cost 3–4 times more, precompiles 2–5 times more. A block holds 200M gas vs 30M in Ethereum.