erc8004-agent-creation-guide

erc8004-agent-creation-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 57 tokens per session (1,415 once invoked), scanned A, original, Apache-2.0.

A step-by-step guide to creating an ERC-8004 trustless AI agent, including its identity NFT, metadata, on-chain registration, reputation, and validation. An NFT is a unique blockchain token that can represent the agent's identity.

In plain words
What is it for?
Use it to generate an agent identity, write its metadata, register it across supported chains, build its reputation, and connect it to an agent marketplace.
Why use it?
It turns the ERC-8004 standard into a concrete deployment process. This helps developers understand what must be prepared and registered before an agent can participate in an agent marketplace.

Skill for Claude CodeCodex

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

Good fit Use it to generate an agent identity, write its metadata, register it across supported chains, build its reputation, and connect it to an agent marketplace.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/erc8004-agent-creation-guide
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 nirholas/three.ws --skill erc8004-agent-creation-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

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 erc8004-agent-creation-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/erc8004-agent-creation-guide/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/erc8004-agent-creation-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/erc8004-agent-creation-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/erc8004-agent-creation-guide/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 erc8004-agent-creation-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/erc8004-agent-creation-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/erc8004-agent-creation-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,415 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 82
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 82
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 107
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00057 $0.01415
Opus 5.5 $0.00023 $0.00566
Sonnet 5.5 $0.00011 $0.00283
Haiku 4.5 $0.00006 $0.00142

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

Security

Grade A, and why

erc8004-agent-creation-guide 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 2mo 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.

curl -X POST https://api.pinata.cloud/pinning/pinJSONToIPFS \
data/skills/protocol/erc8004-agent-creation-guide/SKILL.md · 185 lines

How it starts

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

ERC-8004 Agent Creation Guide

A step-by-step guide to creating and deploying ERC-8004 Trustless Agents — from generating an identity NFT to building on-chain reputation across 12 chains.

ERC-8004 Overview

ERC-8004 ("Trustless Agents") is an Ethereum standard for AI agent identity:

Component Description
Agent NFT Each agent is an on-chain NFT (ERC-721)
Identity Name, description, capabilities stored on-chain
Reputation On-chain feedback and scoring system
Registry Global registry of all agents
Validation Trustless verification of agent capabilities

The 7-Step Process

Step 1: Generate Agent Identity

import { AgentFactory } from '@erc8004/sdk';

const factory = new AgentFactory(provider);

const agentIdentity = {
  name: "Sperax DeFi Advisor",
  description: "Expert AI agent for Sperax protocol — USDs yield, SPA staking, and Demeter farming",
  category: "defi",
  capabilities: [
    "portfolio-analysis",
    "yield-optimization",
    "risk-assessment",
    "trade-execution"
  ],
  // Resolve at mint time from platform config or the caller's selection —
  // never hardcode a model id. This string is uploaded to IPFS and minted
  // into immutable NFT metadata, so a stale id becomes permanent and public.
  model: resolveDefaultModel(),  // e.g. "<current-default-model>"
  version: "1.0.0"
};

Step 2: Create Agent Metadata

{
  "name": "Sperax DeFi Advisor",
  "description": "Expert for USDs, SPA, and Sperax Farms",
  "image": "ipfs://Qm.../agent-avatar.png",
  "external_url": "https://app.sperax.io/agents/defi-advisor",
  "attributes": [
    { "trait_type": "Category", "value": "DeFi" },
    { "trait_type": "Chain", "value": "Arbitrum" },
    { "trait_type": "Model", "value": "<current-default-model>" },
    { "trait_type": "Tools", "value": 12 },
    { "trait_type": "Reputation", "display_type": "number", "value": 0 }
  ],
  "properties": {
    "capabilities": ["portfolio-analysis", "yield-optimization"],
    "protocols": ["sperax", "aave", "uniswap"],
    "chains": ["arbitrum", "ethereum"]
  }
}

Read the full file on GitHub · 185 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. 2mo ago First seen · 185 lines · 57 tokens per session scan A 7241ec60a6b0

Subscribe to this mod's changes

erc8004-agent-creation-guide is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 57 tokens to every session and 1,415 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

erc8004-agent-creation-guide compared with skills from other repositories

erc8004-agent-creation-guide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
erc8004-agent-creation-guidenirholas/three.wsSkill287yesterdayApache-2.0A57Claude Code, Codex
pay-x402-servicenirholas/x402-payments-mcpSkill919d agoApache-2.0A51Claude Code
granite-pay-per-callnirholas/ibm-x402-mcpSkill919d agoApache-2.0A49Claude Code
pumpfun-token-researchnirholas/pumpfun-claims-botSkill2511d agononeA59Claude Code
jupiter-vrfdinternet-court/internet-court-skillSkill7.2k6d agononeA45Claude Code
vybe-token-market-intelvybenetwork/solana-mcp-vybeSkill3.2k4d agononeA60Claude Code, Codex
solana-security-reviewYD811/potbot-v2Skill223d agoMITA75Claude Code, Codex