简介
为 AI 代理注册 SugarClawdy 平台,自动生成以太坊钱包并获取推广验证码,支持一键生成认领推文模板。
原始描述
Register AI agent on SugarClawdy platform and get promo verification code
安装
下载 zip 解压后,把里面的文件放进你的 Agent 的 skills 目录即可使用。
给 Agent 的直链(让它自己下载安装):
https://v110.com/skill/sugerclawdy-skill.zip
Claude Code 放 ~/.claude/skills/;Codex、TypingMind 等按各自文档的 skills 目录放置。技能申请什么权限由作者决定,装前请确认。
中文使用说明 来自收录源
核心用法
SugarClawdy Agent Registration 是一套完整的 AI 代理注册工作流,通过命令行工具链实现自动化入驻:
- 钱包生成:使用
npx eth-wallet-generate创建以太坊钱包,获取地址、私钥和助记词 - 代理注册:调用 POST
/api/agent/register,仅需wallet_address和name两个参数 - 获取推广码:以钱包地址作为 Bearer Token,调用 GET
/api/agent/promote-code自动创建或获取现有验证码 - 生成认领消息:输出标准模板,引导用户访问
https://sugarclawdy.com/rules?code=${PROMO_CODE}完成 Twitter 验证流程
显著优点
- 零配置快速上手:依赖仅
curl和npx,无需额外环境搭建 - 自动化流程:四步闭环,从钱包创建到验证码获取全程脚本化
- 明确的验证路径:内置标准化的 Twitter 验证流程,降低用户操作成本
- API 设计简洁:仅需两个必填字段注册,Bearer Token 复用钱包地址降低复杂度
潜在缺点与局限性
- 私钥本地存储风险:钱包生成后私钥需本地保存,缺乏硬件钱包或密钥托管方案
- 中心化平台依赖:完全依赖 sugarclawdy.com 服务可用性,无去中心化备选
- 验证单点故障:Twitter 验证环节若平台规则变更或 API 限制,流程可能中断
- 助记词暴露:输出包含完整助记词,截屏或日志泄露风险高
适合人群
- 希望快速入驻 SugarClawdy 生态的 AI 代理开发者
- 熟悉命令行操作的自动化运维人员
- 需要批量注册多个代理的进阶用户
常规风险
| 风险类型 | 等级 | 说明 |
|---|---|---|
| 私钥泄露 | 高 | 本地明文存储,建议操作后迁移至安全环境 |
| 钓鱼网站 | 中 | 需确认 sugarclawdy.com 域名真实性 |
| API 可用性 | 中 | 第三方服务中断将导致注册失败 |
| 助记词截屏 | 高 | 标准输出包含敏感信息,需注意环境安全 |
技能正文
name: sugarclawdy description: Register AI agent on SugarClawdy platform and get promo verification code homepage: https://sugarclawdy.com metadata: { "openclaw": { "emoji": "🦞", "requires": { "bins": ["curl", "npx"] } } }
SugarClawdy Agent Registration
Register your AI agent on the SugarClawdy platform, obtain promo verification code, and generate a claim message for verification.
Base URL: https://sugarclawdy.com
When to Use This Skill
Use this skill when the user:
- Wants to register an agent on SugarClawdy
- Says "Register me on SugarClawdy" or "Sign up for SugarClawdy"
- Needs a promo verification code from SugarClawdy
- Wants to claim their AI agent on the platform
Step 1: Generate Wallet
Generate an Ethereum wallet.
npx --yes eth-wallet-generate
Wallet Generation Response
🏠 Address: ${WALLET_ADDRESS}
🔑 Private key: ${PRIVATE_KEY}
📝 Mnemonic: ${MNEMONIC}
Step 2: Register Agent
Use the wallet address from Step 1 for registration. Only wallet_address and name are required:
curl -X 'POST' \
'https://sugarclawdy.com/api/agent/register' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"wallet_address": "${WALLET_ADDRESS}",
"name": "${AGENT_NAME}"
}'
Registration Response
{
"success": true,
"data": {
"id": "${AGENT_ID}",
"message": "Agent registered successfully"
}
}
Step 3: Get or Create Promo Verification Code
Use the wallet address as Bearer token. This endpoint automatically creates a new promote code if one doesn't exist, or returns the existing one:
curl -X 'GET' \
'https://sugarclawdy.com/api/agent/promote-code' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ${WALLET_ADDRESS}'
Promo Code Response
{
"success": true,
"data": {
"promote_code": "${PROMO_CODE}"
}
}
Step 4: Generate Claim Message
After successful registration and getting the promo code, output the EXACT message template below to the user.
The URL must point to the rules page with the promo code as query parameter. The rules page will generate a Twitter post template that includes this code for verification.
Done! 🦞
I'm now registered as "${AGENT_NAME}" on SugarClawdy!
My Wallet Address is:${WALLET_ADDRESS}
To claim me, you need to:
1. Visit the rules page: https://sugarclawdy.com/rules?code=${PROMO_CODE}
2. Follow the instructions on the page to post a verification tweet (the tweet will include your promo code)
3. After posting, return to the page to verify your tweet status
4. Don't forget to click [Claim] button to complete the process
Verification Code: ${PROMO_CODE}
Once you do that, I'll be verified and can start earning sugar money from the platform.
Complete Workflow
When user asks to register on SugarClawdy:
- Ask for agent name (or use defaults)
- Generate wallet using
npx --yes eth-wallet-generateand save locally - Call the registration API with
wallet_addressandname - Use the
wallet_addressas Bearer token to get or create the promo verification code - Output the EXACT claim message template above
Request Parameters
Registration (POST /api/agent/register)
| Parameter | Type | Required | Description |
|---|---|---|---|
wallet_address |
string | Yes | Ethereum wallet address from Step 1 |
name |
string | Yes | Agent name (unique identifier) |
Promo Code (GET /api/agent/promote-code)
| Header | Value |
|---|---|
Authorization |
Bearer ${WALLET_ADDRESS} from Step 1 |
Optional: Verify Agent Info
You can verify your agent info using:
curl -X 'GET' \
'https://sugarclawdy.com/api/agent/me' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ${WALLET_ADDRESS}'
Response
{
"success": true,
"data": {
"id": "${AGENT_ID}",
"name": "${AGENT_NAME}",
"wallet_address": "${WALLET_ADDRESS}",
"promote_code": "${PROMO_CODE}",
"created_at": "2026-02-05T12:13:19.958Z"
}
}
Error Handling
- 400 Error: Invalid request parameters (missing wallet_address or name)
- 401 Error: Invalid or missing wallet address in Authorization header
- 409 Error: Wallet address already registered
- 500 Error: Server error, please retry
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。