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.
npx agentmods add skills/nirholas/three.ws/smart-contract-auditingnpx skills add nirholas/three.ws --skill smart-contract-auditinggit clone --depth 1 https://github.com/nirholas/three.wsWrote 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.
[](https://agentmods.dev/skills/nirholas/three.ws/smart-contract-auditing)<a href="https://agentmods.dev/skills/nirholas/three.ws/smart-contract-auditing"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/smart-contract-auditing.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00114 | $0.03374 |
| Opus 5 | $0.00057 | $0.01687 |
| Sonnet 5 | $0.00023 | $0.00675 |
| Haiku 4.5 | $0.00011 | $0.00337 |
Grade A, and why
smart-contract-auditing 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 387 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smart Contract Auditing — From Zero to Expert
This skill teaches you to think like a top-tier smart contract auditor. You'll learn to find vulnerabilities that automated tools miss, write clear findings, and reason about protocol-level risks in DeFi systems.
The Auditor's Mindset
"Your job is not to confirm the code works. It's to prove it can break."
An auditor must think adversarially. Every function is a potential attack surface. Every external call is a trust boundary. Every assumption is a vulnerability waiting to happen.
┌─────────────────────────────────────────────────┐
│ AUDITOR'S MENTAL MODEL │
├─────────────────────────────────────────────────┤
│ │
│ 1. UNDERSTAND the protocol's invariants │
│ 2. ENUMERATE every state-changing path │
│ 3. CHALLENGE every assumption │
│ 4. SIMULATE adversarial scenarios │
│ 5. VERIFY mitigations are complete │
│ │
│ "What must ALWAYS be true?" ← start here │
│ "How can I make it false?" ← then ask this │
│ │
└─────────────────────────────────────────────────┘
Vulnerability Taxonomy
Tier 1 — Critical (Funds at Risk)
| Vulnerability | What Breaks | Classic Example |
|---|---|---|
| Reentrancy | State updated after external call | The DAO hack ($60M) |
| Flash Loan Attack | Price oracle manipulation in single tx | bZx ($8M), Cream ($130M) |
| Access Control | Missing onlyOwner / role checks |
Parity wallet freeze ($280M) |
| Unchecked Return Values | Silent failure on transfer | Token transfers returning false |
| Storage Collision | Proxy upgrades overwriting slots | Audius governance ($6M) |
Tier 2 — High (Protocol Malfunction)
| Vulnerability | What Breaks | How to Spot |
|---|---|---|
| Oracle Manipulation | Price feeds return stale/wrong data | Check updatedAt staleness |
| Integer Overflow/Underflow | Math wraps around (pre-0.8.0) | Solidity < 0.8 without SafeMath |
| Front-running | MEV bots sandwich user txs | Unprotected swaps, auctions |
| Denial of Service | Unbounded loops, gas griefing | Arrays that grow without limit |
| Signature Replay | Same sig reused across chains/contracts | Missing nonce or chainId |
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.
- 2d ago First seen · 387 lines · 114 tokens per session scan A 8c9861a068c7
smart-contract-auditing is a skill published in the GitHub repository nirholas/three.ws (110 stars, last pushed today), licensed Apache-2.0. It adds 114 tokens to every session and 3,374 once invoked, about $0.0006 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.
Other skills, from other repositories
blender-mcp
Drive Blender via the catalog blender MCP, with bpy recipes.
blender-mcp
Control Blender directly from Gauss via socket connection to the blender-mcp addon. Create 3D objects, materials, animations, and run arbitrary Blender Python (bpy) code. Use when user wants to create or modify anything in Blender.
threejs-docs
Comprehensive Three.js reference covering core API (objects, cameras, lights, materials, geometries, renderers, scenes, textures, math, animation, audio, loaders, helpers, nodes), all addons (controls, postprocessing, loaders, exporters, geometries, shaders, WebXR, physics), TSL (Three.js Shading Language) functions…
blender-mcp
Control Blender directly from Hermes via socket connection to the blender-mcp addon. Create 3D objects, materials, animations, and run arbitrary Blender Python (bpy) code. Use when user wants to create or modify anything in Blender.
blender-mcp
Control Blender directly from Hermes via socket connection to the blender-mcp addon. Create 3D objects, materials, animations, and run arbitrary Blender Python (bpy) code. Use when user wants to create or modify anything in Blender.
3d-website-architect
Expert skill for designing, building, and deploying modern premium websites with advanced animations and 3D interactive experiences using Three.js, React Three Fiber, GSAP, and Framer Motion. Use this skill whenever the user wants to build a website with 3D elements, create an immersive web experience, add interactive…