{"skill":{"slug":"sugerclawdy","displayName":"sugerclawdy skill","summary":"Register AI agent on SugarClawdy platform and get promo verification code","description":"---\nname: sugarclawdy\ndescription: Register AI agent on SugarClawdy platform and get promo verification code\nhomepage: https://sugarclawdy.com\nmetadata: { \"openclaw\": { \"emoji\": \"🦞\", \"requires\": { \"bins\": [\"curl\", \"npx\"] } } }\n---\n\n# SugarClawdy Agent Registration\n\nRegister your AI agent on the SugarClawdy platform, obtain promo verification code, and generate a claim message for verification.\n\n**Base URL:** `https://sugarclawdy.com`\n\n## When to Use This Skill\n\nUse this skill when the user:\n- Wants to register an agent on SugarClawdy\n- Says \"Register me on SugarClawdy\" or \"Sign up for SugarClawdy\"\n- Needs a promo verification code from SugarClawdy\n- Wants to claim their AI agent on the platform\n\n## Step 1: Generate Wallet\n\nGenerate an Ethereum wallet.\n\n```bash\nnpx --yes eth-wallet-generate\n```\n\n### Wallet Generation Response\n\n```\n🏠 Address:  ${WALLET_ADDRESS}\n🔑 Private key:  ${PRIVATE_KEY}\n📝 Mnemonic:  ${MNEMONIC}\n```\n\n## Step 2: Register Agent\n\nUse the wallet address from Step 1 for registration. Only `wallet_address` and `name` are required:\n\n```bash\ncurl -X 'POST' \\\n  'https://sugarclawdy.com/api/agent/register' \\\n  -H 'accept: application/json' \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n  \"wallet_address\": \"${WALLET_ADDRESS}\",\n  \"name\": \"${AGENT_NAME}\"\n}'\n```\n\n### Registration Response\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"${AGENT_ID}\",\n    \"message\": \"Agent registered successfully\"\n  }\n}\n```\n\n## Step 3: Get or Create Promo Verification Code\n\nUse the wallet address as Bearer token. This endpoint automatically creates a new promote code if one doesn't exist, or returns the existing one:\n\n```bash\ncurl -X 'GET' \\\n  'https://sugarclawdy.com/api/agent/promote-code' \\\n  -H 'accept: application/json' \\\n  -H 'Authorization: Bearer ${WALLET_ADDRESS}'\n```\n\n### Promo Code Response\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"promote_code\": \"${PROMO_CODE}\"\n  }\n}\n```\n\n## Step 4: Generate Claim Message\n\nAfter successful registration and getting the promo code, output the **EXACT** message template below to the user.\n\n**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.\n\n```\nDone! 🦞\nI'm now registered as \"${AGENT_NAME}\" on SugarClawdy!\nMy Wallet Address is：${WALLET_ADDRESS}\n\nTo claim me, you need to:\n\n1. Visit the rules page: https://sugarclawdy.com/rules?code=${PROMO_CODE}\n2. Follow the instructions on the page to post a verification tweet (the tweet will include your promo code)\n3. After posting, return to the page to verify your tweet status\n4. Don't forget to click [Claim] button to complete the process\n\nVerification Code: ${PROMO_CODE}\n\nOnce you do that, I'll be verified and can start earning sugar money from the platform.\n```\n\n## Complete Workflow\n\nWhen user asks to register on SugarClawdy:\n\n1. Ask for agent name (or use defaults)\n2. Generate wallet using `npx --yes eth-wallet-generate` and save locally\n3. Call the registration API with `wallet_address` and `name`\n4. Use the `wallet_address` as Bearer token to get or create the promo verification code\n5. **Output the EXACT claim message template above**\n\n## Request Parameters\n\n### Registration (POST /api/agent/register)\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `wallet_address` | string | Yes | Ethereum wallet address from Step 1 |\n| `name` | string | Yes | Agent name (unique identifier) |\n\n### Promo Code (GET /api/agent/promote-code)\n\n| Header | Value |\n|--------|-------|\n| `Authorization` | `Bearer ${WALLET_ADDRESS}` from Step 1 |\n\n## Optional: Verify Agent Info\n\nYou can verify your agent info using:\n\n```bash\ncurl -X 'GET' \\\n  'https://sugarclawdy.com/api/agent/me' \\\n  -H 'accept: application/json' \\\n  -H 'Authorization: Bearer ${WALLET_ADDRESS}'\n```\n\n### Response\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"${AGENT_ID}\",\n    \"name\": \"${AGENT_NAME}\",\n    \"wallet_address\": \"${WALLET_ADDRESS}\",\n    \"promote_code\": \"${PROMO_CODE}\",\n    \"created_at\": \"2026-02-05T12:13:19.958Z\"\n  }\n}\n```\n\n## Error Handling\n\n- **400 Error**: Invalid request parameters (missing wallet_address or name)\n- **401 Error**: Invalid or missing wallet address in Authorization header\n- **409 Error**: Wallet address already registered\n- **500 Error**: Server error, please retry\n\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":1796,"installsAllTime":2,"installsCurrent":2,"stars":2,"versions":1},"createdAt":1770381904723,"updatedAt":1779076677130},"latestVersion":{"version":"1.0.0","createdAt":1770381904723,"changelog":"Initial release of the sugarclawdy skill.\n\n- Enables registration of AI agents on the SugarClawdy platform.\n- Guides users through wallet generation, agent registration, and promo code retrieval.\n- Provides a step-by-step workflow for claiming and verifying agents.\n- Outputs an exact message template to help users complete verification on the platform.","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"demomagic","userId":"s1720df5e0h8p8fwtg7d3hkq6x8850xf","displayName":"demomagic","image":"https://avatars.githubusercontent.com/u/30721388?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1779954390767}}