/install erc8004-register
ERC-8004 Registration Skill
Register, update, validate, and fix agents on-chain via the ERC-8004 Identity Registry.
Use This When...
- "Register my agent on-chain"
- "I need to create a new ERC-8004 agent"
- "Update my agent's metadata"
- "Check if my agent registration is valid"
- "Fix my agent's registration issues"
- "Show my agent's on-chain info"
- "What agents do I own?"
- "Health check my agents"
Commands
register
Register a new agent on-chain.
python scripts/register.py register --name "AgentName" --description "Description" [--image URL] [--chain base]
Options:
--name(required): Agent name--description(required): Agent description--image: Image URL (must be https://)--chain: Blockchain (base, ethereum, polygon, monad, bnb). Default: base
update
Update an existing agent's metadata.
python scripts/register.py update \x3CagentId> [--name NAME] [--description DESC] [--image URL] [--add-service name=X,endpoint=Y] [--remove-service NAME] [--chain base]
info
Display agent information.
python scripts/register.py info \x3CagentId> [--chain base]
validate
Check registration for common issues.
python scripts/register.py validate \x3CagentId> [--chain base]
Checks:
- Missing
typefield - Local-path images (/home/..., ./, file://)
- Empty name/description
- Missing registrations array
- Unreachable image URLs
fix
Auto-fix common registration issues.
python scripts/register.py fix \x3CagentId> [--chain base] [--dry-run]
Auto-fixes:
- Missing
typefield - Missing
registrationsarray - Local-path images (removes them)
Use --dry-run to preview changes without applying.
self-check
Check all agents owned by your wallet.
python scripts/register.py self-check
Queries Agentscan for your agents, validates each, and prints a health report.
Cross-Skill Workflows
Post-Registration Flow
# 1. Register new agent
python scripts/register.py register --name "MyBot" --description "Trading assistant"
# 2. Validate the registration
python scripts/register.py validate 42 --chain base
# 3. Check initial reputation (from erc8004-reputation skill)
python scripts/reputation.py lookup 42 --chain base
# 4. Monitor for discovery (from erc8004-discover skill)
python scripts/discover.py info 42
Periodic Health Check
# Run self-check to validate all your agents
python scripts/register.py self-check
# Fix any issues found
python scripts/register.py fix 42 --chain base
Heartbeat Integration
For automated monitoring, run self-check periodically:
# Cron: check health every hour
0 * * * * cd /path/to/skill && python scripts/register.py self-check >> /var/log/agent-health.log 2>&1
# Or in a script:
#!/bin/bash
python scripts/register.py self-check
if [ $? -ne 0 ]; then
echo "Agent health check failed!" | notify-send
fi
Wallet Configuration
Set one of these environment variables:
export ERC8004_MNEMONIC="your twelve word mnemonic phrase here"
# OR
export ERC8004_PRIVATE_KEY="0x..."
Contract
Identity Registry: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 (same on all chains)
Supported Chains
| Chain | ID | Explorer |
|---|---|---|
| Base | 8453 | basescan.org |
| Ethereum | 1 | etherscan.io |
| Polygon | 137 | polygonscan.com |
| Monad | 143 | explorer.monad.xyz |
| BNB | 56 | bscscan.com |
Dependencies
pip install web3 eth-account
Related Skills
- erc8004-discover: Find and monitor agents
- erc8004-reputation: Rate agents and check trust scores
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install erc8004-register - 安装完成后,直接呼叫该 Skill 的名称或使用
/erc8004-register触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Erc8004 Register 是什么?
Register AI agents on-chain, update metadata, validate registrations, and auto-fix broken profiles via the ERC-8004 Identity Registry. Supports Base, Ethereum, Polygon, Monad, BNB. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1161 次。
如何安装 Erc8004 Register?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install erc8004-register」即可一键安装,无需额外配置。
Erc8004 Register 是免费的吗?
是的,Erc8004 Register 完全免费(开源免费),可自由下载、安装和使用。
Erc8004 Register 支持哪些平台?
Erc8004 Register 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Erc8004 Register?
由 aether(@aetherstacey)开发并维护,当前版本 v1.1.1。