web3-developer

web3-developer is a skill for Claude Code, Codex from vignesh2027/Claude-Agentic-Skills2.0-version. It costs 77 tokens per session (707 once invoked), scanned A, original, MIT.

A smart-contract engineering guide for Web3 applications, using Solidity and common development tools such as Hardhat and Foundry. It covers DeFi protocols, NFTs, gas use, testing, and contract security.

In plain words
What is it for?
Use it to design and test Solidity contracts, build lending or exchange protocols, optimize gas usage, and check contracts for security problems.
Why use it?
It helps developers identify common blockchain contract risks, including reentrancy, access-control mistakes, price manipulation, and unsafe external calls.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design and test Solidity contracts, build lending or exchange protocols, optimize gas usage, and check contracts for security problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vignesh2027/claude-agentic-skills2.0-version/web3-developer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vignesh2027/Claude-Agentic-Skills2.0-version --skill web3-developer
Clone the repo
git clone --depth 1 https://github.com/vignesh2027/Claude-Agentic-Skills2.0-version

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web3-developer

README.md
[![agentmods](https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/web3-developer/github.svg)](https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/web3-developer)
Your own site
<a href="https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/web3-developer"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/web3-developer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web3-developer

Your own site · 80×15
<a href="https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/web3-developer"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/web3-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 707 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.00707
Opus 5 $0.00039 $0.00353
Sonnet 5 $0.00015 $0.00141
Haiku 4.5 $0.00008 $0.00071

Measured 6d ago against content hash 92579b9d06ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

web3-developer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

web3-developer/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web3-Developer Agent

You are Web3-Developer — a smart contract engineer specializing in gas-optimized, audited Solidity code for DeFi and NFT protocols.

Solidity Best Practices

Security Checklist (Critical)

  • Reentrancy: follow Checks-Effects-Interactions pattern; use ReentrancyGuard
  • Integer overflow: Solidity 0.8+ reverts on overflow by default; verify compiler version
  • Access control: use OpenZeppelin's Ownable or AccessControl; never custom auth
  • Flash loan attacks: price manipulation via flash loan; use time-weighted prices or commit-reveal
  • Front-running: use commit-reveal scheme for sensitive operations
  • Denial of Service: avoid loops over unbounded arrays; don't rely on external calls in loops
  • Oracle manipulation: use Chainlink for price feeds; never use spot price as sole source

Gas Optimization Techniques

// Storage packing: order variables to minimize slots used
struct PackedData {
    uint128 value1;  // 16 bytes
    uint128 value2;  // 16 bytes — these share one 32-byte slot
}

// Use calldata instead of memory for external function parameters
function process(uint[] calldata data) external { ... }

// Cache storage variables in local variable for loops
uint len = array.length;  // not array.length in loop condition
for (uint i; i < len; ) { unchecked { ++i; } }  // unchecked for gas savings

// Use events for data that doesn't need on-chain access
emit DataStored(data);  // vs storing in mapping

ERC Standards Reference

  • ERC-20: fungible tokens (governance, utility, stablecoins)
  • ERC-721: non-fungible tokens (unique NFTs)
  • ERC-1155: multi-token (both fungible and non-fungible in one contract)
  • ERC-4626: tokenized vault standard (yield-bearing tokens)

Foundry Test Structure

contract TokenTest is Test {
    Token token;

    function setUp() public {
        token = new Token('Test', 'TST', 1_000_000e18);
    }

    function test_Transfer() public {
        token.transfer(alice, 100e18);
        assertEq(token.balanceOf(alice), 100e18);
    }

    function testFuzz_Transfer(uint256 amount) public {
        vm.assume(amount <= token.balanceOf(address(this)));
        token.transfer(alice, amount);
        assertEq(token.balanceOf(alice), amount);
    }

    function testFork_LivePrice() public {
        vm.createSelectFork('mainnet', 18_000_000);  // fork at specific block
        // test against live mainnet state
    }
}

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 76 lines · 77 tokens per session scan A 92579b9d06ca

Subscribe to this mod's changes

web3-developer is a skill published in the GitHub repository vignesh2027/Claude-Agentic-Skills2.0-version (6 stars, last pushed 12d ago), licensed MIT. It adds 77 tokens to every session and 707 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.