smart-contract-reading-guide

smart-contract-reading-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 53 tokens per session (2,068 once invoked), scanned A, original, Apache-2.0.

A guide to reading smart contracts through blockchain explorers such as Etherscan. It explains how to inspect verified Solidity source code, understand contract interfaces, and decode transactions and blockchain activity.

In plain words
What is it for?
Checking whether contract code is verified, reading functions and interfaces, understanding DeFi protocols, and investigating on-chain transactions.
Why use it?
It helps people understand what a contract does before interacting with it, even if they are not Solidity developers.

Skill for Claude CodeCodex

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

Good fit Checking whether contract code is verified, reading functions and interfaces, understanding DeFi protocols, and investigating on-chain transactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/smart-contract-reading-guide
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 nirholas/three.ws --skill smart-contract-reading-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

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 smart-contract-reading-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/smart-contract-reading-guide/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/smart-contract-reading-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/smart-contract-reading-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/smart-contract-reading-guide/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 smart-contract-reading-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/smart-contract-reading-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/smart-contract-reading-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,068 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.02068
Opus 5.5 $0.00021 $0.00827
Sonnet 5.5 $0.00011 $0.00414
Haiku 4.5 $0.00005 $0.00207

Measured 1mo ago against content hash 8dc02d1b4267, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

smart-contract-reading-guide 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 1mo 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.

data/skills/development/smart-contract-reading-guide/SKILL.md · 266 lines

How it starts

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

Smart Contract Reading Guide

You don't need to be a Solidity developer to read smart contracts. This guide teaches you to understand what contracts do by reading their code on block explorers.

Finding Contract Code

Block Explorers

Chain Explorer URL
Ethereum Etherscan etherscan.io
Arbitrum Arbiscan arbiscan.io
Base BaseScan basescan.org
Optimism Optimistic Etherscan optimistic.etherscan.io
Polygon PolygonScan polygonscan.com

Steps to Read a Contract

  1. Go to the explorer → Enter contract address
  2. Click "Contract" tab
  3. Look for the green checkmark ("Contract Source Code Verified")
  4. If not verified → RED FLAG — don't interact with unverified contracts

Understanding Contract Structure

Solidity 101 for Readers

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

// Interface — defines what functions exist
interface IERC20 {
    function transfer(address to, uint256 amount) external returns (bool);
    function balanceOf(address account) external view returns (uint256);
}

// Contract — the actual code
contract MyToken is IERC20 {
    // State variables (stored on blockchain)
    string public name = "My Token";
    mapping(address => uint256) private _balances;
    address public owner;
    
    // Events (logs, used for tracking)
    event Transfer(address indexed from, address indexed to, uint256 value);
    
    // Modifier (access control)
    modifier onlyOwner() {
        require(msg.sender == owner, "Not owner");
        _;
    }
    
    // View function (read-only, free to call)
    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }
    
    // State-changing function (costs gas)
    function transfer(address to, uint256 amount) external returns (bool) {
        _balances[msg.sender] -= amount;
        _balances[to] += amount;
        emit Transfer(msg.sender, to, amount);
        return true;
    }
    
    // Owner-only function (⚠️ check these carefully)
    function mint(address to, uint256 amount) external onlyOwner {
        _balances[to] += amount;
    }
}

Read the full file on GitHub · 266 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. 1mo ago First seen · 266 lines · 53 tokens per session scan A 8dc02d1b4267

Subscribe to this mod's changes

smart-contract-reading-guide is a skill published in the GitHub repository nirholas/three.ws (256 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 2,068 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

context7-docs

Fetch up-to-date documentation and code examples for any library, framework, SDK, CLI tool, or cloud service. Use whenever the user asks about a specific library — even well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot — because training data may not reflect recent API changes or…

upstash/context7 · 157 tokens

eli5

Explain concepts in very simple terms suitable for a five-year-old.

genkit-ai/genkit · 16 tokens

socratic-quiz

Use this when the user wants to deeply understand something through guided questioning. Trigger phrases include: "quiz me", "help me understand", "Socratic", "teach me", "walk me through with questions", "test my understanding", or when the user asks for an explanation and would benefit more from guided discovery than…

pchalasani/claude-code-tools · 72 tokens

learning-coach

Explains any InvestSkill output like a mentor — every metric in plain words, why it matters, its good / bad range, and the lesson that teaches it — then asks 3–5 Socratic questions and "what would change your mind?". --level beginner / intermediate, --lang zh-TW, and a --quiz mode that drills a Learning lesson.

yennanliu/InvestSkill · 73 tokens

notebooklm

Programmatic access to Google NotebookLM for creating notebooks, adding sources (URLs, YouTube, PDFs, audio, video, images), chatting with content, generating artifacts (podcasts, videos, reports, quizzes, mind maps, flashcards, infographics), and downloading results. Includes capabilities beyond the web UI.

jmagar/claude-homelab · 67 tokens

product-taste

Help users build a professional eye for quality, articulate the reasoning behind successful product paradigms, and develop the conviction to make high-stakes decisions before data is available.

RefoundAI/lenny-skills · 37 tokens