token-standards-audit

token-standards-audit is a skill for Claude Code, Codex from PostOakLabs/ainumbers. It costs 65 tokens per session (624 once invoked), scanned A, original, MIT.

A verification workflow for several common blockchain token claims, including vault share calculations, proxy storage, royalties, and an airdrop proof. An airdrop proof shows that an allocation belongs to a published Merkle tree of claims.

In plain words
What is it for?
It is for auditing ERC-4626 vault math, identifying an ERC-1967 proxy implementation slot, calculating an ERC-2981 royalty, and checking a Merkle airdrop claim.
Why use it?
It checks both normal results and deliberately altered inputs, so errors in calculations or proofs are exposed rather than accepted. Each check gets evidence that can be reviewed later.

Skill for Claude CodeCodex

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

Good fit It is for auditing ERC-4626 vault math, identifying an ERC-1967 proxy implementation slot, calculating an ERC-2981 royalty, and checking a Merkle airdrop claim.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/postoaklabs/ainumbers/token-standards-audit
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 PostOakLabs/ainumbers --skill token-standards-audit
Clone the repo
git clone --depth 1 https://github.com/PostOakLabs/ainumbers

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 token-standards-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/postoaklabs/ainumbers/token-standards-audit/github.svg)](https://agentmods.dev/skills/postoaklabs/ainumbers/token-standards-audit)
Your own site
<a href="https://agentmods.dev/skills/postoaklabs/ainumbers/token-standards-audit"><img src="https://agentmods.dev/badge/skills/postoaklabs/ainumbers/token-standards-audit/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 token-standards-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/postoaklabs/ainumbers/token-standards-audit"><img src="https://agentmods.dev/badge/skills/postoaklabs/ainumbers/token-standards-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 624 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.00065 $0.00624
Opus 5.5 $0.00026 $0.00250
Sonnet 5.5 $0.00013 $0.00125
Haiku 4.5 $0.00006 $0.00062

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

Security

Grade A, and why

token-standards-audit 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 15d 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/token-standards-audit/SKILL.md · 41 lines

What it actually says

Token standards audit

Audit an ERC-4626 vault’s share math, an ERC-1967 proxy slot, an ERC-2981 royalty, and an airdrop proof in one pass.

Prompt

One pass over four token-standard claims, each under its own receipt.

  1. Call recompute_erc4626_vault_share_math on a synthetic vault (totalAssets, totalSupply, one deposit, one withdrawal). Record previewRetain/share math both directions and any rounding direction.
  2. Call classify_erc1967_proxy_slot on a synthetic storage dump. Record whether the proxy slot classifies as expected and which implementation slot it points to.
  3. Call calculate_erc2981_royalty for a synthetic sale. Record the royalty and the receiver; confirm rounding matches the standard's expectation.
  4. Call verify_merkle_airdrop_proof for one claimed airdrop allocation against a synthetic root. Record pass/fail and the proof path.
  5. Negative tests: perturb the vault's totalSupply by 1 wei and confirm the share math changes; corrupt one airdrop proof nibble and confirm it fails. Quote both.
  6. build_session_receipt over all four checks; anchor the root with anchor_stamp.
  7. Give me the ledger link and the OTS receipt.
  8. Write the audit note: each claim, its verdict, its hash, and the two receipts, so the protocol team pins the evidence to the block they audited. Call shape: every ChainGraph node tool takes its arguments nested under one wrapper object, e.g. {"policy_parameters": { ... }}; flat arguments are discarded by schema validation. If a named tool is not in your tool list, call call_tool with { "name": "", "arguments": { … } }. It runs the same validation and returns the same receipt.

How to run

Connect an MCP-capable host to https://mcp.ainumbers.co/mcp, then give the prompt above to the assistant.

Use synthetic inputs only. Never paste personal or production data.

Verify what came back

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. 15d ago Changed bcfd4ff40777
  2. 19d ago First seen · 41 lines · 65 tokens per session scan A 0f840ecb62e0

Subscribe to this mod's changes

token-standards-audit is a skill published in the GitHub repository PostOakLabs/ainumbers (11 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 624 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-09-27.

Related

Other skills, from other repositories

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

wshobson/agents · 46 tokens

building-pydantic-ai-agents

Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), workspaces, structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydanticai, or asks to build an AI agent, add tools/capabilities, attach a workspace, defer capability…

pydantic/pydantic-ai · 92 tokens

prompt-proximity-architecture

Turn an approved measurement charter, ICPs, and buyer jobs into a budget-aware prompt coverage blueprint across proximity bands, aided status, information acts, journey states, roles, locales, evidence grades, partitions, and measurement lanes. Use before prompt wording to define required, optional, and prohibited…

elvisun/newsjack · 67 tokens

fizz

Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects. Trigger on "fizz", "generate fuzz suite", "build fuzz harness", "stateful fuzzing", "fuzzing harness", "property testing", and "invariant suite".

pashov/skills · 60 tokens

foundry-testing

Write and debug Foundry tests and Solidity scripts. Use when writing unit, fuzz, fork, or invariant tests, writing bulloak BTT .tree specs (Branching Tree Technique), using cheatcodes, benchmarking gas, measuring coverage, writing deploy scripts, or working in tests/ or script/.

PaulRBerg/foundry-template · 64 tokens

smart-contract-testing

Guide for testing smart contracts using Foundry and Hardhat, covering unit tests, fuzz testing, invariant testing, fork testing, and gas benchmarking.

nirholas/three.ws · 33 tokens