# gas

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 255 installs · ★ 15 repo stars
- Author: therealharpaljadeja
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/therealharpaljadeja/monskills/tree/HEAD/skills/gas/SKILL.md
- Updated: 2026-10-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/gas

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill gas -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/gas/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/gas/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill gas -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/gas/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill gas -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/gas/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install therealharpaljadeja/monskills skills/gas
```

2. **Manually: put the files in place**
- File: `.github/skills/gas/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill gas -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/therealharpaljadeja/monskills --path skills/gas
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/gas/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add therealharpaljadeja/monskills --skill gas -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/therealharpaljadeja/monskills/tree/HEAD/skills/gas/SKILL.md

## When to use it
- 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
- Explain why Monad charges based on the limit, not actual usage
- How much gas does a 1 MON transfer cost?
- Compare `SLOAD` cost in Ethereum and Monad

## Similar
- [sui-networks-gas](https://affpapa.org/en/nevibecode/skills/sui-networks-gas.md) — skill · 184 installs
- [gas-war-sniper-teneo](https://affpapa.org/en/nevibecode/skills/gas-war-sniper-teneo.md) — skill · 534 installs
- [Ethereum Developer](https://affpapa.org/en/nevibecode/prompts/ethereum-developer.md) — prompt · ★ 178201 repo stars
- [blockchain-expert](https://affpapa.org/en/nevibecode/skills/blockchain-expert.md) — skill · 296 installs
- [OpenZeppelin](https://affpapa.org/en/nevibecode/mcp/openzeppelin.md) — MCP server · 1077 installs
- [Multi-Chain Gas Estimator — ETH, Base, Polygon, Arb](https://affpapa.org/en/nevibecode/mcp/multi-chain-gas-estimator-eth-base-polygon-arb.md) — MCP server · 3624 installs

From the same set: [therealharpaljadeja/monskills](https://affpapa.org/en/nevibecode/by/therealharpaljadeja/monskills.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
