MCPInstall

ethereum-development

Master Ethereum development including EVM, gas optimization, and client interactions

Installs
51
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/pluginagentmarketplace/custom-plugin-blockchain --skill ethereum-development
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ethereum-development automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Ethereum Development Skill

Master Ethereum development including EVM internals, gas optimization, transaction mechanics, and client interactions.

Quick Start

# Invoke this skill for Ethereum development
Skill("ethereum-development", topic="gas", network="mainnet")

Topics Covered

1. EVM (Ethereum Virtual Machine)

Understand the execution environment:

  • Stack Machine: 256-bit words, 1024 depth
  • Memory: Linear byte array, expansion costs
  • Storage: Persistent key-value, 32-byte slots
  • Opcodes: Costs, effects, gas consumption

2. Gas Optimization

Reduce transaction costs:

  • Storage Packing: Fit multiple values in one slot
  • Calldata vs Memory: Choose efficiently
  • Loop Optimization: Cache storage reads
  • Custom Errors: Save gas on reverts

3. Transaction Mechanics

Master transaction lifecycle:

  • Types: Legacy (0), Access List (1), EIP-1559 (2)
  • Fee Estimation: Base fee, priority fee, max fee
  • Nonce Management: Sequential ordering
  • Receipts: Status, logs, gas used

4. Client Interactions

Work with Ethereum nodes:

  • RPC Methods: eth_, debug_, trace_
  • State Queries: Storage slots, code, balance
  • Event Subscriptions: Filter logs, topics

Code Examples

Gas-Efficient Storage

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;

contract Optimized {
    // Pack into single slot (32 bytes)
    struct User {
        uint128 balance;    // 16 bytes
        uint64 lastUpdate;  // 8 bytes
        uint32 nonce;       // 4 bytes
        bool active;        // 1 byte
        // 3 bytes padding
    }

    mapping(address => User) public users;
}

Read Storage Slot

import { createPublicClient, http, keccak256, encodePacked, pad } from 'viem';
import { mainnet } from 'viem/chains';

const client = createPublicClient({ chain: mainnet, transport: http() });

// Read mapping value: balances[address]
async function getBalance(contract: `0x${string}`, user: `0x${string}`) {
  const slot = keccak256(encodePacked(['address', 'uint256'], [user, 0n]));
  return await client.getStorageAt({ address: contract, slot });
}

EIP-1559 Transaction

import { createWalletClient, http, parseEther } from 'viem';

const client = createWalletClient({ transport: http() });

const hash = await client.sendTransaction({
  to: '0x...',
  value: parseEther('0.1'),
  type: 'eip1559',
  maxFeePerGas: parseGwei('30'),
  maxPriorityFeePerGas: parseGwei('2'),
});

Gas Optimization Cheatsheet

TechniqueSavingsExample
Storage packing~20k/slotuint128 + uint128 in one slot
Calldata vs memory~3/byteUse calldata for read-only
Unchecked math~80/opunchecked { i++; }
Custom errors~200+error Unauthorized()
Short-circuitVariableCheap checks first

Common Pitfalls

PitfallIssueSolution
Storage in loopsExpensive readsCache in memory first
String storageUses multiple slotsUse bytes32 when possible
Zero value storageFull refund goneDon't rely on SSTORE refunds

Troubleshooting

"Transaction underpriced"

# Check current gas prices
cast gas-price --rpc-url $RPC
cast basefee --rpc-url $RPC

Set maxFeePerGas to at least 2x current base fee.

"Out of gas"

# Trace transaction to find issue
cast run --trace $TX_HASH --rpc-url $RPC

"Nonce too low"

# Get current nonce
cast nonce $ADDRESS --rpc-url $RPC

CLI Commands

# Foundry essentials
forge build --sizes          # Contract sizes
forge test --gas-report      # Gas consumption
forge snapshot               # Gas snapshots
cast storage $ADDR $SLOT     # Read storage
cast call $ADDR "fn()"       # Simulate call

Test Template

contract GasTest is Test {
    function test_GasOptimization() public {
        uint256 gasBefore = gasleft();
        target.optimizedFunction();
        uint256 gasUsed = gasBefore - gasleft();

        assertLt(gasUsed, 50000, "Too much gas used");
    }
}

Cross-References

  • Bonded Agent: 02-ethereum-development
  • Related Skills: solidity-development, web3-frontend

Version History

VersionDateChanges
2.0.02025-01Production-grade with viem, gas optimization
1.0.02024-12Initial release

FAQ

What does the ethereum-development skill do?

Master Ethereum development including EVM, gas optimization, and client interactions

How do I install ethereum-development?

Run npx skills add https://github.com/pluginagentmarketplace/custom-plugin-blockchain --skill ethereum-development in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ethereum-development/ (personal) or .claude/skills/ethereum-development/ (project).

Which AI agents can use ethereum-development?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ethereum-development safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ethereum-development?

It is published by pluginagentmarketplace in pluginagentmarketplace/custom-plugin-blockchain. It has 51 recorded installs.

More from pluginagentmarketplace/custom-plugin-blockchain

View all →

smart-contract-security

pluginagentmarketplace/custom-plugin-blockchain

Master smart contract security with auditing, vulnerability detection, and incident response

Security263 installs

web3-frontend

pluginagentmarketplace/custom-plugin-blockchain

Master Web3 frontend development with wallet integration, viem/wagmi, and dApp UX

Frontend & Design250 installs

solidity-development

pluginagentmarketplace/custom-plugin-blockchain

Master Solidity smart contract development with patterns, testing, and best practices

Business & Finance208 installs

defi-protocols

pluginagentmarketplace/custom-plugin-blockchain

Open the skill to read its SKILL.md instructions.

blockchain-basics

pluginagentmarketplace/custom-plugin-blockchain

Master blockchain fundamentals including consensus, cryptography, and distributed systems

nft-development

pluginagentmarketplace/custom-plugin-blockchain

Open the skill to read its SKILL.md instructions.

Popular business & finance skills

View category →

sales-enablement

coreyhaines31/marketingskills

When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),

Business & Finance119.5K installs

revops

coreyhaines31/marketingskills

When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.

Business & Finance114.1K installs

sales-funnel-blueprint

autonnel/autonnel-skills

Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.

Business & Finance104.5K installs

pricing

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.

Business & Finance80K installs

cross-border-ecommerce

nexscope-ai/ecommerce-skills

Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

Business & Finance62.9K installs

pricing-strategy

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.

Business & Finance61.2K installs