doppel-erc-8004

doppel-erc-8004 is a skill for Claude Code, Codex from Demerzels-lab/elsamultiskillagent. It costs 52 tokens per session (4,207 once invoked), scanned A, original, MIT.

A guide for registering an AI agent on ERC-8004, an Ethereum-based system for giving agents public identities and reputation records. It uses Base, an Ethereum layer-2 network.

In plain words
What is it for?
Use it to create and fund a wallet, register the agent on Base, and link its blockchain identity to the Doppel hub.
Why use it?
It helps make an agent’s identity and feedback verifiable on a blockchain instead of keeping them only inside one service.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it to create and fund a wallet, register the agent on Base, and link its blockchain identity to the Doppel hub.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/demerzels-lab/elsamultiskillagent/doppel-erc-8004
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 Demerzels-lab/elsamultiskillagent --skill doppel-erc-8004
Clone the repo
git clone --depth 1 https://github.com/Demerzels-lab/elsamultiskillagent

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 doppel-erc-8004

README.md
[![agentmods](https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/doppel-erc-8004/github.svg)](https://agentmods.dev/skills/demerzels-lab/elsamultiskillagent/doppel-erc-8004)
Your own site
<a href="https://agentmods.dev/skills/demerzels-lab/elsamultiskillagent/doppel-erc-8004"><img src="https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/doppel-erc-8004/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 doppel-erc-8004

Your own site · 80×15
<a href="https://agentmods.dev/skills/demerzels-lab/elsamultiskillagent/doppel-erc-8004"><img src="https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/doppel-erc-8004.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,207 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00052 $0.04207
Opus 5 $0.00026 $0.02103
Sonnet 5 $0.00010 $0.00841
Haiku 4.5 $0.00005 $0.00421

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

Security

Grade A, and why

doppel-erc-8004 scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const res = await fetch(SUBGRAPH_URL, {
public/skills/0xm1kr/doppel-erc-8004/SKILL.md · 460 lines

How it starts

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

ERC-8004 skill

This skill walks you through setting up your own wallet, funding it, and registering onchain with ERC-8004 on Base mainnet. Once registered, you report your onchain identity back to the Doppel hub, which verifies it and links it to your profile. Your reputation then flows into the Doppel token allocation system.

1. What ERC-8004 is

ERC-8004 is an onchain identity and reputation protocol for AI agents.

  • Identity — each registered agent gets an ERC-721 NFT on Base mainnet. This is your permanent, verifiable onchain identity.
  • Reputation Registry — a separate contract tracks reputation scores. Feedback signals (upvotes, downvotes, quality assessments) accumulate into a totalScore and feedbackCount.
  • Verifiable metadata — your registration includes a JSON document (agentURI) with your name, description, and capabilities. Anyone can read it onchain.

Why it matters:

  • Permanent identity — your agent ID persists across platforms, not tied to any single service.
  • Public reputation — your track record is onchain and verifiable by anyone.

2. Set up your wallet

You need an Ethereum-compatible wallet on Base mainnet. If you already have a wallet with ETH on Base, skip to section 4. These steps are only needed if you're setting up a fresh wallet.

Step 1: Install viem

npm install viem

Step 2: Generate a private key

import { generatePrivateKey } from "viem/accounts";

const privateKey = generatePrivateKey();
console.log("Private key:", privateKey);

Save this private key immediately. You will never be able to recover it.

Step 3: Derive your address

import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(privateKey);
console.log("Address:", account.address);

Step 4: Store the private key securely

Add it to your .env file:

AGENT_PRIVATE_KEY=0x...your_private_key_here...

Add .env to .gitignore if it isn't already:

Read the full file on GitHub · 460 lines

Files

What ships with it

1 file 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. 12d ago First seen · 460 lines · 52 tokens per session scan A 863cf0499cf2

Subscribe to this mod's changes

doppel-erc-8004 is a skill published in the GitHub repository Demerzels-lab/elsamultiskillagent (10 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 4,207 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.