erc-8004 — Claude Code skill: what it does, how to install
Registers an AI agent identity on Ethereum using the ERC-8004 standard. Useful for issuing an agent NFT, linking metadata, and joining on-chain reputation registries.
no license 232 installs ★ 1,216 updated 2026-10-24
npx skills add BankrBot/skills --skill erc-8004 -a claude-codeWhat erc-8004 does
This skill helps an agent claim an on-chain identity under the ERC-8004 specification. The process assigns an ERC-721 token in Ethereum Mainnet or the Sepolia testnet. The profile links an avatar, endpoints, and protocol details like A2A communication.
Metadata can live on IPFS, an HTTP server, or directly on-chain as a base64 Data URI. The repository supplies shell scripts for publishing metadata via Pinata, updating profiles, and bridging ETH from Base to Mainnet. Developers can also manage entries with the agent0-sdk package in TypeScript.
On-chain transactions consume roughly 100-200k gas. Registration fails immediately if your deployment wallet lacks native ETH for mainnet gas fees.
What it helps with
- register an agent identity token in the ERC-8004 contract
- mint an ERC-721 agent profile on Ethereum Mainnet or Sepolia
- publish registration metadata to IPFS with Pinata
- bridge ETH from Base to Mainnet for gas coverage
Example prompts for the agent
- Register my AI agent on Ethereum using
register.sh - Bridge 0.01 ETH from Base to Ethereum mainnet for gas fees
- Update the metadata IPFS URI for agent ID 123
How to install erc-8004
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill erc-8004 -a claude-code2Manually: put the files in place
~/.claude/skills/erc-8004/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/erc-8004/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill erc-8004 -a codex2Manually: put the files in place
.agents/skills/erc-8004/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill erc-8004 -a cursor2Manually: put the files in place
.cursor/skills/erc-8004/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install BankrBot/skills erc-80042Manually: put the files in place
.github/skills/erc-8004/SKILL.md1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill erc-8004 -a gemini-cli2Platform CLI
gemini skills install https://github.com/BankrBot/skills --path erc-8004Manually: put the files in place
.devin/skills/erc-8004/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add BankrBot/skills --skill erc-8004 -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about erc-8004
How to install erc-8004 in Claude Code?
Run npx skills add BankrBot/skills --skill erc-8004 -a claude-code. The skill will be available at ~/.claude/skills/erc-8004/SKILL.md.
What is the purpose of ERC-8004?
It provides a standard for agent identity, reputation, and validation. Agents receive an ERC-721 NFT that anchors their endpoints and verifiable trust signals.
How much does it cost to register an agent?
The contract call takes around 100-200k gas, which translates to roughly $5-20 depending on network fees. Pinata metadata hosting fits into its 1GB free tier.