boneh-roughgarden-wev

boneh-roughgarden-wev is a skill for Claude Code, Codex from plurigrid/asi. It costs 16 tokens per session (3,174 once invoked), scanned A, original, MIT.

A research bridge connecting cryptography, which protects data and proves statements, with mechanism design, which studies rules for fair and efficient exchanges. It focuses on blockchain topics such as zero-knowledge proofs, signatures, and transaction ordering.

In plain words
What is it for?
Use it to study decentralized exchanges, blockchain incentives, threshold signatures, zero-knowledge proofs, and MEV mitigation.
Why use it?
It helps examine how technical security methods can support trading systems and reduce harmful value extraction.

Skill for Claude CodeCodex

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

Good fit Use it to study decentralized exchanges, blockchain incentives, threshold signatures, zero-knowledge proofs, and MEV mitigation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plurigrid/asi/boneh-roughgarden-wev
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 plurigrid/asi --skill boneh-roughgarden-wev
Clone the repo
git clone --depth 1 https://github.com/plurigrid/asi

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 boneh-roughgarden-wev

README.md
[![agentmods](https://agentmods.dev/badge/skills/plurigrid/asi/boneh-roughgarden-wev/github.svg)](https://agentmods.dev/skills/plurigrid/asi/boneh-roughgarden-wev)
Your own site
<a href="https://agentmods.dev/skills/plurigrid/asi/boneh-roughgarden-wev"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/boneh-roughgarden-wev/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 boneh-roughgarden-wev

Your own site · 80×15
<a href="https://agentmods.dev/skills/plurigrid/asi/boneh-roughgarden-wev"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/boneh-roughgarden-wev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,174 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.00016 $0.03174
Opus 5 $0.00008 $0.01587
Sonnet 5 $0.00003 $0.00635
Haiku 4.5 $0.00002 $0.00317

Measured 9d ago against content hash e664e45c89bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

boneh-roughgarden-wev 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 9d 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.

ies/skills/boneh-roughgarden-wev/SKILL.md · 423 lines

How it starts

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

Boneh-Roughgarden WEV Skill

Trit: 0 (ERGODIC) - Mechanism design at equilibrium

Stanford FDCI research bridge connecting Dan Boneh's cryptographic primitives (ZK proofs, BLS signatures, threshold cryptography) with Tim Roughgarden's mechanism design (TFM, MEV mitigation, welfare maximization).

WEV = World Extractable Value: Protocol-aligned value extraction via GF(3) conservation, not adversarial MEV.


Research Foundations

Stanford Future of Digital Currency Initiative (FDCI)

Research Authors Key Insight WEV Connection
SPEEDEX Ramseyer, Ruan, Goyal, Duffie, Mazières Batch DEX eliminating front-running No ordering → no MEV → pure WEV
Groundhog Ramseyer, Mazières Commutative transaction semantics Deterministic concurrency = SPI
TFM Post-MEV Bahrani, Garimidi, Roughgarden Active block producer model Searcher-Proposer separation
Collusion-Resilience Chung, Roughgarden, Shi Collusion-proof mechanisms GF(3) tripartite structure

Boneh Primitives

Primitive Paper Application
BLS Signatures Boneh-Lynn-Shacham 2001 Threshold aggregation, DRAND
ZK Proofs Groth16, PLONK contributions On-chain state verification
VRFs Micali, Rabin, Vadhan + Boneh Unpredictable determinism
Recursive SNARKs Nova (Kothapalli, Setty, Boneh) Incremental verification

Roughgarden Mechanism Design

Concept Application GF(3) Mapping
Incentive Compatibility Users report true valuations Reafference = prediction ≡ observation
Welfare Maximization Total surplus optimization sum(trits) ≡ 0 ⟹ balanced extraction
DSIC + OCA-proofness No collusion advantage Tripartite prevents 2-party collusion
SAKA Mechanism ~50% welfare guarantee Reserve-commit = bulk-boundary

Read the full file on GitHub · 423 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. 9d ago First seen · 423 lines · 16 tokens per session scan A e664e45c89bd

Subscribe to this mod's changes

boneh-roughgarden-wev is a skill published in the GitHub repository plurigrid/asi (64 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 3,174 once invoked, about $0.0001 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.