Agent skill

Implement Eip

by ethereum in ethereum/execution-specs

Implement EIP specification changes using repository conventions.

CC0-1.0Auto-check passed

Install Implement Eip

skills CLI
$ npx skills add ethereum/execution-specs --skill implement-eip -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ethereum/execution-specs implement-eip --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ethereum/execution-specs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/implement-eip .claude/skills/implement-eip && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
implement-eip
GitHub stars
1.2k
Token cost
~1.1k tokens
SKILL.md length
500 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
CC0-1.0

At a glance

Implement EIP specification changes using repository conventions.

  • Works in 4 steps: Add to Ops enum in… → Implement function in appropriate… → Register in op_implementation dict in… → …
  • SKILL.md covers Fork Directory Layout, Import Isolation (enforced by…, Adding a New Opcode and Gas Handling, plus 4 more sections
  • Calls uv

What it does

Implement Eip is an agent skill from ethereum/execution-specs. Implement EIP specification changes using repository conventions.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Ethereum. The repository describes itself as: Specification for the Execution Layer. Tracking network upgrades. The licence is CC0-1.0.

Example prompts

  • “/implement-eip”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Add to Ops enum in vm/instructions/init.py with hex value
  2. Implement function in appropriate vm/instructions/.py — follows pattern: STACK → GAS (charge_gas) → OPERATION → PROGRAM COUNTER. Opcodes…
  3. Register in op_implementation dict in vm/instructions/init.py
  4. Add gas constant in vm/gas.py if needed

What it can do on your machine

Read from SKILL.md and the folder at commit d7a84b8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Implement Eip loads about 1.1k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 500 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ethereum/execution-specs at commit d7a84b8, republished under its CC0-1.0 licence (© ethereum). 500 words, ~1,091 tokens.

Download SKILL.mdSave it as .claude/skills/implement-eip/SKILL.md (or your agent's skills folder).
name
implement-eip
description
Implement EIP specification changes using repository conventions.

Implement EIP

Patterns for implementing spec changes in src/ethereum/forks/. Run this skill before implementing an EIP or modifying fork code.

Fork Directory Layout

Each fork lives at src/ethereum/forks/<fork_name>/. Explore the latest fork directory for current structure. Key files:

  • __init__.py — FORK_CRITERIA, fork metadata
  • fork.py — state transition functions
  • blocks.py — block structure and validation
  • transactions.py — transaction types and processing
  • state_tracker.py — fork-specific state tracking
  • vm/instructions/__init__.py — Ops enum + op_implementation dict
  • vm/gas.py — gas constants and calculations
  • vm/precompiled_contracts/__init__.py — precompile address constants
  • vm/precompiled_contracts/mapping.py — PRE_COMPILED_CONTRACTS registry

Import Isolation (enforced by ethereum-spec-lint)

  • Within same fork: relative imports (from . import vm, from .state import ...)
  • Previous fork only: absolute imports (from ethereum.cancun import ...)
  • Shared modules: always OK (ethereum.crypto, ethereum.utils, ethereum.exceptions)
  • Future forks: NEVER allowed
  • Ancient forks (2+ back): NEVER allowed
  • Run ethereum-spec-lint to verify before committing

Adding a New Opcode

  1. Add to Ops enum in vm/instructions/__init__.py with hex value
  2. Implement function in appropriate vm/instructions/<category>.py — follows pattern: STACK → GAS (charge_gas) → OPERATION → PROGRAM COUNTER. Opcodes that touch state use the staged gas labels — see "Gas Handling" below.
  3. Register in op_implementation dict in vm/instructions/__init__.py
  4. Add gas constant in vm/gas.py if needed

Gas Handling

Recent forks meter two gas dimensions: execution gas and state gas (for durable state growth). Key rules:

  1. Gas constants and calculations go in vm/gas.py; a frame's mutable gas state lives on Evm.gas_meter.
  2. Extend the named helper vocabulary (charge_*, credit_*, restore_*, withhold_*, ...) instead of doing gas arithmetic by hand at call sites; encode each helper's invariant as an assert.
  3. State gas is charged by the frame whose opcode causes the creation, before the child's execution-gas share is withheld; the whole reservoir passes to the child.
  4. A failing frame settles its own meter before returning, so parents incorporate children unconditionally.
  5. Opcodes that touch state use labeled stages, with all charging before the operation: GAS (STATE-INDEPENDENT) → STATE ACCESS (STATE-DEPENDENT GAS) → STATE GAS → CHILD GRANT → OPERATION. Simple opcodes keep the bare GAS marker. generic_call/generic_create contain no pricing; they run the child lifecycle: PREFLIGHT → DESTINATION ACCESS → CHILD GRANT → DISPATCH → OUTCOME.
  6. Avoid "frame" in gas identifiers (a future EIP claims the term); when a name diverges from the spec's variable name, cross-reference the spec name in the docstring.
  7. A gas change is behavior-preserving only if the relative order of every charge, check, and trace event is unchanged; verify with the gas-related fill tests under tests/<fork>/.
Show full SKILL.md (112 more words)Show less

Adding a New Precompile

  1. Define address constant in vm/precompiled_contracts/__init__.py using hex_to_address("0x...")
  2. Create implementation file vm/precompiled_contracts/<name>.py
  3. Register in PRE_COMPILED_CONTRACTS dict in vm/precompiled_contracts/mapping.py
  4. Add gas constant in vm/gas.py

Adding a New Transaction Type

  1. Define @slotted_freezable @dataclass class in transactions.py
  2. Add to Transaction union type at bottom of file
  3. Handle in fork.py validation/processing logic
  4. Add exception type in exceptions.py if needed

Creating a New Fork

bash
uv run ethereum-spec-new-fork --new-fork=<name> --template-fork=<template>
  • Copies all files from template fork and applies codemods (renames, constant updates)
  • After running: update __init__.py docstring, fork-specific constants, run uv run ruff format
  • Fork criteria types: ByBlockNumber(N) (pre-merge), ByTimestamp(T) (post-merge), Unscheduled(order_index=N) (in development)

Branch Naming

  • Feature branches: eips/<fork_name>/eip-<number>
  • PR targets: forks/<fork_name>

© ethereum, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/implement-eip of ethereum/execution-specs.

Open the folder on GitHubat commit d7a84b8

Compare with similar skills

Implement Eip next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Implement Eip compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Implement Eip this skillethereum/execution-specs1.2k—~1.1kAutomated safety check: PassCC0-1.0
Wagmi Feature Developmentwevm/wagmi6.8k—~3.8kAutomated safety check: PassMIT
Release Roundethereumjs/ethereumjs-monorepo2.8k—~2kAutomated safety check: PassNone
NEAR Intents Swap Integrationinternet-court/internet-court-skill6.4k2 repos~939Automated safety check: PassCustom licence
Update Est Fixturesethereumjs/ethereumjs-monorepo2.8k—~3.3kAutomated safety check: PassNone
Swapper Depositswapperfinance/swapper-toolkit852—~1.8kAutomated safety check: PassMIT

Similar skills

  • Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.

    6.8k GitHub stars~3.8k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Release Round

    ethereumjs/ethereumjs-monorepo

    Runs a coordinated EthereumJS npm release round in six human-gated phases — intent and readiness, CHANGELOG, version bump, publish (human executes), post-publish verification, and announcements.

    2.8k GitHub stars~2k tokensUpdated 19 days ago
    DevelopmentAuto-check passed
  • NEAR Intents Swap Integration

    internet-court/internet-court-skill

    Builds cross-chain token swaps and bridge flows with the NEAR Intents 1Click API: quotes, deposit addresses, per-chain deposits and status polling.

    6.4k GitHub starsUsed in 2 repos~939 tokens
    Backend & APIsAuto-check passed
  • Update Est Fixtures

    ethereumjs/ethereumjs-monorepo

    Updates EthereumJS execution-spec test fixtures from an ethereum/execution-specs release, then (after a human merge) points the monorepo submodule, updates VM npm scripts, reports a first test run…

    2.8k GitHub stars~3.3k tokensUpdated 19 days ago
    DevelopmentAuto-check passed
  • Swapper Deposit

    swapperfinance/swapper-toolkit

    Deposit and bridge funds into a wallet or protocol using Swapper Finance.

    852 GitHub stars~1.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • Minara Crypto Trading and Wallet

    Minara-AI/minara-skills

    Drives the Minara CLI for crypto swaps, perps, limit orders, wallet transfers, deposits and withdrawals, plus AI market analysis.

    356 GitHub stars~5.7k tokensUpdated 20 days ago
    Business, Finance & HRAuto-check passed

More from ethereum/execution-specs

All 13 skills in this repo
  • Consume Hive

    ethereum/execution-specs

    Run locally filled fixtures against execution clients with a selected Hive simulator and a network client configuration from hive-tests.

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Eip Checklist

    ethereum/execution-specs

    Track EIP test coverage with the repository checklist system.

    1.2k GitHub stars~804 tokensUpdated today
    Auto-check passed
  • Fill Tests

    ethereum/execution-specs

    Fill test fixtures with the repository fill command. An agent skill from ethereum/execution-specs.

    1.2k GitHub stars~793 tokensUpdated today
    Auto-check passed
  • Grammar Check

    ethereum/execution-specs

    Audit grammar in documentation and code comments. An agent skill from ethereum/execution-specs.

    1.2k GitHub stars~424 tokensUpdated today
    Auto-check passed
  • Pytester

    ethereum/execution-specs

    Write and run isolated pytester-based plugin tests. An agent skill from ethereum/execution-specs.

    1.2k GitHub stars~403 tokensUpdated today
    Auto-check passed
  • Write Docstring

    ethereum/execution-specs

    Write specification docstrings using repository conventions.

    1.2k GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Works with

Questions about Implement Eip

What does Implement Eip do?

Implement EIP specification changes using repository conventions. Implement Eip is an agent skill from ethereum/execution-specs. Implement EIP specification changes using repository conventions.

How do I install Implement Eip in Claude Code?

Run `npx skills add ethereum/execution-specs --skill implement-eip -a claude-code`. Or copy the skill folder (.agents/skills/implement-eip in ethereum/execution-specs) into .claude/skills/implement-eip in your project. Claude Code loads it when a task matches its description.

How do I install Implement Eip in Codex?

Run `npx skills add ethereum/execution-specs --skill implement-eip -a codex`. Or copy the skill folder (.agents/skills/implement-eip in ethereum/execution-specs) into .agents/skills/implement-eip in your project. Codex loads it when a task matches its description.

Can I use Implement Eip in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ethereum/execution-specs --skill implement-eip -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/implement-eip, .gemini/skills/implement-eip, .github/skills/implement-eip and .opencode/skills/implement-eip in your project.

What does Implement Eip need to run?

Going by SKILL.md and its folder, Implement Eip needs the command-line tools its instructions call (uv).

Does Implement Eip access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Implement Eip safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Implement Eip use?

Implement Eip is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Implement Eip use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Implement Eip?

Skills that share tags, products or a category with Implement Eip: Wagmi Feature Development (wevm/wagmi, 6.8k stars), Release Round (ethereumjs/ethereumjs-monorepo, 2.8k stars), NEAR Intents Swap Integration (internet-court/internet-court-skill, 6.4k stars) and Update Est Fixtures (ethereumjs/ethereumjs-monorepo, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Implement Eip?

ethereum (a GitHub organization) maintains it in ethereum/execution-specs, which has 1,195 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 7, 2026.

Source: ethereum/execution-specs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.