solidity-auditor

solidity-auditor is a skill for Claude Code, Codex from schwepps/skills. It costs 104 tokens per session (1,234 once invoked), scanned A, original, MIT.

A review guide for Solidity smart contracts, which are programs that run on blockchain networks.

In plain words
What is it for?
Use it for full contract audits, vulnerability reviews, gas or storage optimisation, architecture checks, and DeFi protocol reviews.
Why use it?
It helps find security flaws and design or cost problems before a contract is deployed, when mistakes can be difficult to undo.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/schwepps/skills/solidity-auditor
Any agent
npx skills add schwepps/skills --skill solidity-auditor
Clone the repo
git clone --depth 1 https://github.com/schwepps/skills

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 solidity-auditor

README.md
[![agentmods](https://agentmods.dev/badge/skills/schwepps/skills/solidity-auditor.svg)](https://agentmods.dev/skills/schwepps/skills/solidity-auditor)
Your own site
<a href="https://agentmods.dev/skills/schwepps/skills/solidity-auditor"><img src="https://agentmods.dev/badge/skills/schwepps/skills/solidity-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,234 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00104 $0.01234
Opus 5 $0.00052 $0.00617
Sonnet 5 $0.00021 $0.00247
Haiku 4.5 $0.00010 $0.00123

Measured 4d ago against content hash abb8282a2bd6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

solidity-auditor 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 4d 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.

solidity-auditor/SKILL.md · 129 lines

How it starts

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

Solidity Smart Contract Auditor

A professional-grade smart contract audit skill covering security vulnerabilities, gas optimization, storage patterns, and code architecture. Adapted to Solidity version specifics.

Audit Types

Determine the audit type based on user request:

User Request Audit Type Primary Reference
"Full audit", "comprehensive review" Full Audit All references
"Security audit", "vulnerability scan" Security Focused references/security-checklist.md
"Gas optimization", "reduce gas costs" Gas Optimization references/gas-optimization.md
"Storage optimization", "storage patterns" Storage Optimization references/storage-optimization.md
"Code review", "architecture review" Architecture Review references/architecture-review.md
"DeFi audit", "protocol review" DeFi Protocol Security + Architecture references

Core Audit Workflow

Phase 1: Preparation

  1. Identify Solidity Version: Check pragma statement. Read references/version-specific.md for version-specific considerations:

    • Pre-0.8.0: Check for SafeMath usage, arithmetic vulnerabilities
    • 0.8.0+: Review unchecked blocks, check custom errors usage
  2. Understand Scope:

    • List all contracts, interfaces, libraries
    • Identify external dependencies (OpenZeppelin, etc.)
    • Note inheritance hierarchy
    • Document entry points (external/public functions)
  3. Gather Context: Ask if not provided:

    • Protocol purpose and intended behavior
    • Deployment chain(s)
    • Expected user flows
    • Admin roles and privileges

Phase 2: Static Analysis

  1. Run automated checks mentally using patterns from the security checklist:

    • Access control patterns
    • State-changing operations flow (checks-effects-interactions)
    • External call patterns
    • Arithmetic operations (especially in unchecked blocks)
  2. Map attack surface:

    • External/public functions
    • Functions handling ETH/tokens
    • Functions with access control
    • Upgrade mechanisms

Read the full file on GitHub · 129 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 129 lines · 104 tokens per session scan A abb8282a2bd6

Subscribe to this mod's changes

solidity-auditor is a skill published in the GitHub repository schwepps/skills (16 stars, last pushed 7mo ago), licensed MIT. It adds 104 tokens to every session and 1,234 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

design-impact-reporting

Communicate design's contribution to business and user outcomes in stakeholder language. Use when reporting results upward. For choosing the metrics in the first place, use metrics-definition (ux-strategy).

Owl-Listener/designer-skills · 44 tokens

design-system-governance

Define how the system evolves — contribution model, versioning, deprecation, and change management. Use when multiple teams contribute. For driving uptake use design-system-adoption (designer-toolkit); for design file history use version-control-strategy (design-ops).

Owl-Listener/designer-skills · 62 tokens

motion-system

Define motion tokens — durations, easing vocabulary, and reduced-motion handling — for consistency product-wide. Use when standardising motion across a system. For crafting one specific animation, use animation-principles (interaction-design).

Owl-Listener/designer-skills · 48 tokens

version-control-strategy

Define version control for design files, components, and libraries — branching, naming, and release. Use when file history is chaotic. For design system contribution rules, use design-system-governance (design-systems).

Owl-Listener/designer-skills · 50 tokens

design-token-audit

Audit token usage across a product for coverage, drift, and hard-coded values. Use when tokens exist and you suspect they are being bypassed. For defining tokens in the first place, use design-token (design-systems).

Owl-Listener/designer-skills · 52 tokens

design-token

Define and organise tokens for colour, spacing, type, and elevation with naming and usage rules. Use when establishing the token layer. For auditing existing usage use design-token-audit (designer-toolkit); for multi-brand mapping use theming-system.

Owl-Listener/designer-skills · 55 tokens