Interactive ERC-8004 agent registration via chat. Guides users through a prefill form, shows draft, confirms, then registers on-chain using agent0-sdk.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install basecred-8004-registration或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install basecred-8004-registration⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/basecred-8004-registration/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: basecred-8004-registration description: Interactive ERC-8004 agent registration via chat. Guides users through a prefill form, shows draft, confirms, then registers on-chain using agent0-sdk. ---
Register AI agents on the ERC-8004 on-chain registry through a guided chat experience.
When the user triggers registration, auto-fill every field you can from:
.env — wallet address derived from private key)Do NOT ask questions one by one. Prefill first, ask later.
Before showing the draft, briefly explain the config so users understand what's pre-selected and what alternatives exist:
⚙️ Config defaults (you can change these later):
Chain: Base (8453) — where your agent lives on-chain
Others: Ethereum, Polygon, BNB, Arbitrum, Celo, Gnosis, Scroll
Storage: Fully onchain — agent data stored directly on-chain
Alternative: IPFS — data pinned to IPFS, hash stored on-chain
Trust: Reputation — other agents/users rate your agent on-chain
Others: Crypto-Economic (staking/slashing guarantees)
TEE Attestation (hardware-level trust proof)
x402: Off — no payment protocol
On: agent can charge for services via x402 payment protocol
Active: On — agent is discoverable and accepting requests
Off: registered but hidden from discovery
Wallet: Your agent's on-chain identity address
Two ways to set it:
Option A: Paste your wallet address
→ Just paste your 0x... address
→ Agent will be linked to this address on-chain
Option B: Add private key to .env (for signing)
→ Set PRIVATE_KEY=0x... in your .env file
→ Wallet auto-detected + can sign transactions
→ Enables setWallet() via EIP-712 after registration
💡 Option A is easier. Option B is needed if you want
the agent to sign transactions on your behalf.
Show this once at the start, not repeated on every draft.
Send the entire draft + buttons as one message using the message tool. This keeps buttons directly below the draft.
Important: Use message action=send with both message (the draft text) and buttons (inline buttons). Do NOT split into reply + separate button message. After sending, reply with NO_REPLY to avoid duplicate.
Use ✅ (filled) and ⚠️ (missing/needs attention):
📋 Agent Registration Draft
── Basic Info ──
✅ Name: Mr. Tee
✅ Description: AI agent with a CRT monitor...
✅ Image: pbs.twimg.com/...
✅ Version: 1.0.0
✅ Author: 0xdas
✅ License: MIT
── Endpoints ──
✅ A2A: a2a.teeclaw.xyz/a2a
⚠️ MCP: (none)
── Skills & Domains ──
✅ Skills (5): natural_language_processing/natural_language_processing,
natural_language_processing/natural_language_generation/summarization,
natural_language_processing/information_retrieval_synthesis/question_answering,
analytical_skills/coding_skills/coding_skills,
images_computer_vision/images_computer_vision
✅ Domains (5): technology/blockchain/blockchain, technology/blockchain/defi,
technology/technology, technology/software_engineering/software_engineering,
technology/software_engineering/devops
✅ Custom: agent_orchestration/agent_coordination,
social_media/content_management
── Config ──
✅ Chain: Base (8453)
✅ Storage: Fully onchain
✅ Active: true
✅ Trust: reputation
✅ x402: false
✅ Wallet: 0x1348...e41 (auto .env)
Tap to edit a section or register:
Buttons (attached to same message):
Row 1: [✏️ Basic Info] [✏️ Endpoints]
Row 2: [✏️ Skills & Domains] [✏️ Config]
Row 3: [✅ Register] [❌ Cancel]
Instant feedback: When any button is tapped, immediately acknowledge before doing anything else:
| Button | Instant Feedback | |--------|-----------------| | ✏️ Basic Info | "📝 Editing Basic Info..." | | ✏️ Endpoints | "🔗 Editing Endpoints..." | | ✏️ Skills & Domains | "🏷️ Editing Skills & Domains..." | | ✏️ Config | "⚙️ Editing Config..." | | ✅ Register | "⏳ Starting registration on Base..." | | ❌ Cancel | "❌ Registration cancelled." | | ↩️ Back to Draft | "📋 Back to draft..." |
Then show the edit form. Always include ↩️ Back to Draft button.
Current values:
• Name: Mr. Tee
• Description: AI agent with a CRT...
• Image: pbs.twimg.com/...
• Version: 1.0.0
• Author: 0xdas
• License: MIT
Type field name and new value, e.g. "name: CoolBot"
Or type "done" to go back.
Buttons: [↩️ Back to Draft]
Current:
• A2A: https://a2a.teeclaw.xyz/a2a
• MCP: (none)
Paste a URL to set, or "clear mcp" / "clear a2a" to remove.
Buttons: [↩️ Back to Draft]
Toggleable inline buttons (multi-select). Each button shows a human-readable label but stores the full OASF taxonomy path as the value.
Skills: (OASF taxonomy paths)
[NLP ✅] → natural_language_processing/natural_language_processing
[Summarization ✅] → natural_language_processing/natural_language_generation/summarization
[Q&A ✅] → natural_language_processing/information_retrieval_synthesis/question_answering
[Code Gen ✅] → analytical_skills/coding_skills/coding_skills
[CV ✅] → images_computer_vision/images_computer_vision
[Data Analysis] → analytical_skills/data_analysis/data_analysis
[Web Search] → natural_language_processing/information_retrieval_synthesis/web_search
[Image Gen] → images_computer_vision/image_generation/image_generation
[Translation] → natural_language_processing/natural_language_generation/translation
[Task Automation] → tool_interaction/workflow_automation
[+ Custom] [↩️ Back to Draft]
Domains: (OASF taxonomy paths)
[Blockchain ✅] → technology/blockchain/blockchain
[DeFi ✅] → technology/blockchain/defi
[Technology ✅] → technology/technology
[SE ✅] → technology/software_engineering/software_engineering
[DevOps ✅] → technology/software_engineering/devops
[Finance] → finance/finance
[Healthcare] → healthcare/healthcare
[Education] → education/education
[Entertainment] → entertainment/entertainment
[Science] → science/science
[Creative Arts] → creative_arts/creative_arts
[Dev Tools] → technology/software_engineering/development_tools
[+ Custom] [↩️ Back to Draft]
Display behavior:
natural_language_processing/natural_language_processing)+ Custom prompts user to type a custom OASF path or labelTrust models (multi-select):
[Reputation ✅] [Crypto-Economic] [TEE Attestation]
Other config:
[Chain: Base ▼] [Storage: Onchain ▼] [x402: Off ▼]
[↩️ Back to Draft]
| Trust Model | Description | |-------------|-------------| | Reputation | On-chain feedback & scoring. Default for most agents. | | Crypto-Economic | Staking/slashing guarantees. For financial agents. | | TEE Attestation | Hardware-level trust proof. For high-security agents. |
After any edit, re-send the updated full draft as a single message with buttons (same as Step 2). Repeat until user taps ✅ Register.
Only after explicit ✅ Register confirmation.
...
安装 Basecred ERC-8004 Registration 后,可以对 AI 说这些话来触发它
Help me get started with Basecred ERC-8004 Registration
Explains what Basecred ERC-8004 Registration does, walks through the setup, and runs a quick demo based on your current project
Use Basecred ERC-8004 Registration to interactive ERC-8004 agent registration via chat
Invokes Basecred ERC-8004 Registration with the right parameters and returns the result directly in the conversation
What can I do with Basecred ERC-8004 Registration in my developer & devops workflow?
Lists the top use cases for Basecred ERC-8004 Registration, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/basecred-8004-registration/ 目录(个人级,所有项目可用),或 .claude/skills/basecred-8004-registration/(项目级)。重启 AI 客户端后,用 /basecred-8004-registration 主动调用,或让 AI 根据上下文自动发现并使用。
Basecred ERC-8004 Registration 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Basecred ERC-8004 Registration 可免费安装使用。请查阅仓库了解许可证信息。
Interactive ERC-8004 agent registration via chat. Guides users through a prefill form, shows draft, confirms, then registers on-chain using agent0-sdk.
Automate my developer & devops tasks using Basecred ERC-8004 Registration
Identifies repetitive steps in your workflow and sets up Basecred ERC-8004 Registration to handle them automatically
Basecred ERC-8004 Registration 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。