web3-protocol-design

web3-protocol-design is a skill for Claude Code, Codex from dirtybits/agent-skills. It costs 64 tokens per session (1,733 once invoked), scanned A, original, MIT.

A design and review guide for web3 protocols, meaning systems that use blockchains, smart contracts, tokens, or decentralized governance. It organizes the actors, assets, rules, state changes, and trust assumptions involved.

In plain words
What is it for?
It helps specify token flows, staking, rewards, fees, disputes, permissions, bridges, oracles, upgrades, threat models, invariants, tests, and launch checks.
Why use it?
It exposes economic, technical, governance, and security risks before a protocol or token system is built or launched.

Skill for Claude CodeCodex

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

Good fit It helps specify token flows, staking, rewards, fees, disputes, permissions, bridges, oracles, upgrades, threat models, invariants, tests, and launch checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dirtybits/agent-skills/web3-protocol-design
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 dirtybits/agent-skills --skill web3-protocol-design
Clone the repo
git clone --depth 1 https://github.com/dirtybits/agent-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 web3-protocol-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/dirtybits/agent-skills/web3-protocol-design/github.svg)](https://agentmods.dev/skills/dirtybits/agent-skills/web3-protocol-design)
Your own site
<a href="https://agentmods.dev/skills/dirtybits/agent-skills/web3-protocol-design"><img src="https://agentmods.dev/badge/skills/dirtybits/agent-skills/web3-protocol-design/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-protocol-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/dirtybits/agent-skills/web3-protocol-design"><img src="https://agentmods.dev/badge/skills/dirtybits/agent-skills/web3-protocol-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,733 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.00064 $0.01733
Opus 5.5 $0.00026 $0.00693
Sonnet 5.5 $0.00013 $0.00347
Haiku 4.5 $0.00006 $0.00173

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

Security

Grade A, and why

web3-protocol-design 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 3mo 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.

skills/web3-protocol-design/SKILL.md · 157 lines

How it starts

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

Web3 Protocol Design

When To Use

Use this skill when the task involves:

  • designing a new web3 protocol or protocol feature
  • reviewing tokenomics, fees, staking, rewards, slashing, or dispute flows
  • specifying smart contract state, permissions, or account models
  • choosing on-chain, off-chain, oracle, bridge, or keeper boundaries
  • preparing a protocol spec, audit brief, test plan, or launch checklist

Design Workflow

  1. Define the protocol goal in one sentence, then list explicit non-goals.
  2. Identify actors, assets, chains, contracts, off-chain services, and external dependencies.
  3. Map the lifecycle as state transitions: initialization, normal use, settlement, recovery, upgrade, and shutdown.
  4. Specify trust assumptions for admins, signers, sequencers, bridges, oracles, keepers, governance, and users.
  5. Design incentives with concrete flows: who pays, who receives, when funds move, what can be slashed, and what can be extracted.
  6. Write invariants before implementation details. Treat every invariant as a future test or monitor.
  7. Threat-model the design against economic, technical, governance, liquidity, oracle, and UX failures.
  8. Define launch gates: tests, simulations, audits, monitoring, limits, emergency controls, and rollout stages.

Delivery And Activation Stages

Track design lock, implementation, merge, deployability, deployment and verification, client/operator configuration, feature activation, live smoke, and public launch approval as separate states. Do not use “complete,” “deployed,” or “live” interchangeably.

  • For a gated mechanism, specify the disabled/default state, enabling authority, dependent contracts and clients, operational inputs, monitoring, rollback, and evidence required to advance each state.
  • Treat user entry points, claim or exit paths, operator runbooks, custody and role assignments, address/config distribution, and live-flow verification as activation deliverables rather than incidental follow-up work.
  • Revalidate the candidate after prerequisite merges or deployment changes. Prior checks against an older head, base, address, or compiler artifact do not certify the resulting release.
  • On a non-production network with no live liabilities, prefer an explicitly approved clean break when it removes migration and compatibility machinery. Record the state, clients, addresses, and fixtures that the break invalidates.

Read the full file on GitHub · 157 lines

Files

What ships with it

3 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. 3mo ago First seen · 157 lines · 64 tokens per session scan A c86a842d09fc

Subscribe to this mod's changes

web3-protocol-design is a skill published in the GitHub repository dirtybits/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 64 tokens to every session and 1,733 once invoked, about $0.0003 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-08-31.

Related

web3-protocol-design compared with skills from other repositories

web3-protocol-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web3-protocol-designdirtybits/agent-skillsSkill22mo agoMITA64Claude Code, Codex
tokenomicsLuuOW/meridian-mcpSkill01mo agoMITA64Claude Code, Codex
wallet-cliBofAI/skillsSkill1684d agoMITA92Codex
conducting-cyber-risk-assessment-with-nist-800-30adriannoes/awesome-agentic-aiSkill1082d agoMITA219Claude Code, Codex
blockchain-managementj4flmao/agent-skillsSkill4613d agoMITB207Claude Code, Codex
aero-vote-radararaxis33/aero-vote-radarSkill3todayMITA84Claude Code, Codex
starchild-daoBankrBot/skillsSkill1.2kyesterdaynoneB106Claude Code, Codex