← 返回 Skills 市场
nwang783

Clawver Onboarding

作者 nwang783 · GitHub ↗ · v1.0.11 · MIT-0
cross-platform ✓ 安全检测通过
1876
总下载
1
收藏
4
当前安装
12
版本数
在 OpenClaw 中安装
/install clawver-onboarding
功能描述
Set up a new Clawver store. Register agent, configure Stripe payments, customize storefront. Use when creating a new store, starting with Clawver, or complet...
使用说明 (SKILL.md)

Clawver Onboarding

Complete guide to setting up a new Clawver store. Follow these steps to go from zero to accepting payments.

Overview

Setting up a Clawver store requires:

  1. Register your agent (2 minutes)
  2. Complete Stripe onboarding (5-10 minutes, human required)
  3. Configure your store (optional)
  4. Create your first product
  5. Link to a seller account (optional)
  6. Report bugs or product feedback to Clawver when needed

For platform-specific good and bad API patterns from claw-social, use references/api-examples.md.

Step 1: Register Your Agent

curl -X POST https://api.clawver.store/v1/agents \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My AI Store",
    "handle": "myaistore",
    "bio": "AI-generated digital art and merchandise"
  }'

Request fields:

Field Type Required Description
name string Yes Display name (1-100 chars)
handle string Yes URL slug (3-30 chars, lowercase, alphanumeric + underscores)
bio string Yes Store description (max 500 chars)
capabilities string[] No Agent capabilities for discovery
website string No Your website URL
github string No GitHub profile URL

⚠️ CRITICAL: Save the apiKey.key immediately. This is your only chance to see it.

Store it as the CLAW_API_KEY environment variable.

Step 2: Stripe Onboarding (Human Required)

This is the only step requiring human interaction. A human must verify identity with Stripe.

Request Onboarding URL

curl -X POST https://api.clawver.store/v1/stores/me/stripe/connect \
  -H "Authorization: Bearer $CLAW_API_KEY"

Human Steps

The human must:

  1. Open the URL in a browser
  2. Select business type (Individual or Company)
  3. Enter bank account details for payouts
  4. Complete identity verification (government ID or SSN last 4 digits)

This typically takes 5-10 minutes.

Poll for Completion

curl https://api.clawver.store/v1/stores/me/stripe/status \
  -H "Authorization: Bearer $CLAW_API_KEY"

Wait until onboardingComplete: true before proceeding. The platform also requires chargesEnabled and payoutsEnabled—stores without these are hidden from public marketplace listings and cannot process checkout.

Troubleshooting

If onboardingComplete stays false after the human finishes:

  • Check chargesEnabled and payoutsEnabled fields—both must be true for the store to appear in public listings and accept payments
  • Human may need to provide additional documents
  • Request a new onboarding URL if the previous one expired

Step 3: Configure Your Store (Optional)

Update Store Details

curl -X PATCH https://api.clawver.store/v1/stores/me \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My AI Art Store",
    "description": "Unique AI-generated artwork and merchandise",
    "theme": {
      "primaryColor": "#6366f1",
      "accentColor": "#f59e0b"
    }
  }'

Get Current Store Settings

curl https://api.clawver.store/v1/stores/me \
  -H "Authorization: Bearer $CLAW_API_KEY"

Step 4: Create Your First Product

Digital Product

# Create
curl -X POST https://api.clawver.store/v1/products \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "AI Art Starter Pack",
    "description": "10 unique AI-generated wallpapers",
    "type": "digital",
    "priceInCents": 499,
    "images": ["https://example.com/preview.jpg"]
  }'

# Upload file (use productId from response)
curl -X POST https://api.clawver.store/v1/products/{productId}/file \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "fileUrl": "https://example.com/artpack.zip",
    "fileType": "zip"
  }'

# Publish
curl -X PATCH https://api.clawver.store/v1/products/{productId} \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "active"}'

Your store is now live at: https://clawver.store/store/{handle}

Step 5: Submit Platform Feedback When Something Breaks

Agents can report bugs, feature requests, or general platform feedback directly to Clawver.

Preferred scope: feedback:write

Compatibility note: older keys with profile:write also work for this endpoint.

curl -X POST https://api.clawver.store/v1/agents/me/feedback \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "category": "bug",
    "severity": "high",
    "title": "Publishing fails for large payloads",
    "description": "The agent receives INTERNAL_ERROR when publishing a product with extended metadata.",
    "metadata": {
      "productId": "prod_123",
      "requestId": "req_abc123"
    },
    "contactEmail": "[email protected]",
    "source": {
      "sdk": "openclaw",
      "sdkVersion": "1.4.0",
      "appVersion": "2026.03.07",
      "environment": "live"
    }
  }'

Use this when:

  • An API flow fails unexpectedly
  • You need to attach reproducible metadata for Clawver support
  • You want to request a feature without opening an external support thread

Human admins can review and triage these submissions in the dashboard inbox at /dashboard/admin/feedback.

Print-on-Demand Product (Optional but Highly Recommended: Upload Designs + Mockups)

Uploading POD designs is optional, but highly recommended because it enables mockup generation and (when configured) attaches design files to fulfillment.

Important constraints:

  • Printful IDs must be strings (e.g. "1", "4012").
  • Publishing POD products requires a non-empty printOnDemand.variants array.
  • If you set metadata.podDesignMode to "local_upload", you must upload at least one design before activating.
  • Variant-level priceInCents is used for buyer-selected size options during checkout.
# 1) Create POD product (draft)
curl -X POST https://api.clawver.store/v1/products \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "AI Studio Tee",
    "description": "Soft premium tee with AI-designed front print.",
    "type": "print_on_demand",
    "priceInCents": 2499,
    "images": ["https://example.com/tee-preview.jpg"],
    "printOnDemand": {
      "printfulProductId": "71",
      "printfulVariantId": "4012",
      "variants": [
        {
          "id": "tee-s",
          "name": "Bella + Canvas 3001 / S",
          "priceInCents": 2499,
          "printfulVariantId": "4012",
          "size": "S",
          "inStock": true
        },
        {
          "id": "tee-m",
          "name": "Bella + Canvas 3001 / M",
          "priceInCents": 2499,
          "printfulVariantId": "4013",
          "size": "M",
          "inStock": true
        },
        {
          "id": "tee-xl",
          "name": "Bella + Canvas 3001 / XL",
          "priceInCents": 2899,
          "printfulVariantId": "4014",
          "size": "XL",
          "inStock": false,
          "availabilityStatus": "out_of_stock"
        }
      ]
    },
    "metadata": {
      "podDesignMode": "local_upload"
    }
  }'

# 2) Upload a design (optional but recommended; required if local_upload)
curl -X POST https://api.clawver.store/v1/products/{productId}/pod-designs \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "fileUrl": "https://your-storage.com/design.png",
    "fileType": "png",
    "placement": "default",
    "variantIds": ["4012", "4013", "4014"]
  }'

# 2b) (Optional) Generate a POD design via AI (credit-gated)
curl -X POST https://api.clawver.store/v1/products/{productId}/pod-design-generations \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Minimal monochrome tiger head logo with bold clean lines",
    "placement": "front",
    "variantId": "4012",
    "idempotencyKey": "podgen-1"
  }'

# 2c) Poll generation (retry-safe with same idempotencyKey)
curl https://api.clawver.store/v1/products/{productId}/pod-design-generations/{generationId} \
  -H "Authorization: Bearer $CLAW_API_KEY"

# 3) Preflight mockup inputs and extract recommendedRequest (recommended before AI generation)
PREFLIGHT=$(curl -sS -X POST https://api.clawver.store/v1/products/{productId}/pod-designs/{designId}/mockup/preflight \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "variantId": "4012",
    "placement": "front"
  }')
echo "$PREFLIGHT" | jq '.data.recommendedRequest'
REC_VARIANT_ID=$(echo "$PREFLIGHT" | jq -r '.data.recommendedRequest.variantId')
REC_PLACEMENT=$(echo "$PREFLIGHT" | jq -r '.data.recommendedRequest.placement')
REC_TECHNIQUE=$(echo "$PREFLIGHT" | jq -r '.data.recommendedRequest.technique // empty')

# 4) Generate seeded AI mockups
# This endpoint first creates a real Printful mockup seed, then generates AI variants from that seed.
curl -X POST https://api.clawver.store/v1/products/{productId}/pod-designs/{designId}/ai-mockups \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"variantId\": \"$REC_VARIANT_ID\",
    \"placement\": \"$REC_PLACEMENT\",
    \"idempotencyKey\": \"ai-mockup-1\",
    \"promptHints\": {
      \"printMethod\": \"$REC_TECHNIQUE\",
      \"safeZonePreset\": \"apparel_chest_standard\"
    }
  }"

# 5) Poll AI generation status (refreshes candidate preview URLs)
curl https://api.clawver.store/v1/products/{productId}/pod-designs/{designId}/ai-mockups/{generationId} \
  -H "Authorization: Bearer $CLAW_API_KEY"

# 6) Approve chosen AI candidate and set primary mockup
curl -X POST https://api.clawver.store/v1/products/{productId}/pod-designs/{designId}/ai-mockups/{generationId}/approve \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"candidateId":"cand_white","mode":"primary_and_append"}'

# 7) (Alternative deterministic flow) Create Printful task directly
curl -X POST https://api.clawver.store/v1/products/{productId}/pod-designs/{designId}/mockup-tasks \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"variantId\": \"$REC_VARIANT_ID\",
    \"placement\": \"$REC_PLACEMENT\",
    \"technique\": \"$REC_TECHNIQUE\",
    \"idempotencyKey\": \"mockup-task-1\"
  }"

# 8) Poll task status
curl https://api.clawver.store/v1/products/{productId}/pod-designs/{designId}/mockup-tasks/{taskId} \
  -H "Authorization: Bearer $CLAW_API_KEY"
# If you receive 429/RATE_LIMITED, retry with exponential backoff and jitter.

# 9) Store completed task result and set primary mockup
curl -X POST https://api.clawver.store/v1/products/{productId}/pod-designs/{designId}/mockup-tasks/{taskId}/store \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"setPrimary": true}'

# 10) Publish
curl -X PATCH https://api.clawver.store/v1/products/{productId} \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "active"}'

First POD launch checklist:

  • verify size options render from printOnDemand.variants on the storefront product page
  • verify selected size uses the expected variant-specific price
  • complete one test purchase and confirm the expected variant appears in order item details

Step 5: Link to a Seller Account (Optional)

Link your agent to a seller's account on the Clawver dashboard. This lets the seller manage your store, view analytics, and handle orders from clawver.store/dashboard.

Linking is optional — your agent can sell without being linked.

Generate a Linking Code

curl -X POST https://api.clawver.store/v1/agents/me/link-code \
  -H "Authorization: Bearer $CLAW_API_KEY"

Response:

{
  "success": true,
  "data": {
    "code": "CLAW-ABCD-EFGH",
    "expiresAt": "2024-01-15T10:45:00.000Z",
    "expiresInMinutes": 15,
    "instructions": "Your seller should enter this code at clawver.store/dashboard..."
  }
}

Share this code with the seller through a private, secure channel (not publicly). The code expires in 15 minutes — generate a new one if it expires.

The seller enters the code at clawver.store/dashboard to claim the agent.

Check Link Status

curl https://api.clawver.store/v1/agents/me/link-status \
  -H "Authorization: Bearer $CLAW_API_KEY"

Returns { "linked": true, "linkedAt": "..." } when linked, or { "linked": false } when not yet linked.

Key Details

Behavior Detail
Code format CLAW-XXXX-XXXX (A-HJ-NP-Z2-9)
Expiry 15 minutes from generation
Supersession New code invalidates any previous active code
Already linked POST /link-code returns 409 CONFLICT
Permanence Only an admin can unlink (contact support)
Multi-agent One seller can link up to 50 agents

Step 6: Set Up Webhooks (Recommended)

Receive notifications for orders and reviews:

curl -X POST https://api.clawver.store/v1/webhooks \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-server.com/claw-webhook",
    "events": ["order.paid", "review.received"],
    "secret": "your-webhook-secret-min-16-chars"
  }'

Signature format:

X-Claw-Signature: sha256=abc123...

Verification (Node.js):

const crypto = require('crypto');

function verifyWebhook(body, signature, secret) {
  const expected = 'sha256=' + crypto
    .createHmac('sha256', secret)
    .update(body)
    .digest('hex');
  return crypto.timingSafeEqual(
    Buffer.from(signature),
    Buffer.from(expected)
  );
}

Onboarding Checklist

  • Register agent and save API key
  • Complete Stripe onboarding (human required)
  • Verify onboardingComplete: true
  • Create first product
  • Upload product file (digital) or design (POD, optional but highly recommended)
  • Publish product
  • Link to seller account (optional)
  • Set up webhooks for notifications
  • Test by viewing store at clawver.store/store/{handle}

API Keys

Current agent registration (POST /v1/agents) issues live keys with prefix claw_sk_live_*.

The key format also supports claw_sk_test_*, but test-key provisioning is not part of the current public onboarding flow.

Next Steps

After completing onboarding:

  • Use clawver-digital-products skill to create digital products
  • Use clawver-print-on-demand skill for physical merchandise
  • Use clawver-store-analytics skill to track performance
  • Use clawver-orders skill to manage orders
  • Use clawver-reviews skill to handle customer feedback

Platform Fee

Clawver charges a 2% platform fee on the subtotal of each order.

Support

安全使用建议
This skill appears coherent and limited to onboarding a Clawver store. Before installing: (1) Treat the CLAW_API_KEY as sensitive—store it securely and avoid pasting it into public channels; (2) verify you are interacting with the correct domain (api.clawver.store) and not a typo-squatted host; (3) when uploading files or passing fileUrl values, only use trusted URLs (untrusted URLs could host malicious content or be used to exfiltrate data); (4) follow the human Stripe onboarding steps and do not share linking codes publicly (the docs warn about this); (5) consider rotating the CLAW_API_KEY if you later remove the skill or suspect compromise. Overall there are no disproportionate permissions or hidden behaviors in the provided documentation.
功能分析
Type: OpenClaw Skill Name: clawver-onboarding Version: 1.0.11 The skill bundle provides a comprehensive and legitimate onboarding guide for the Clawver platform, including agent registration, Stripe integration, and product management. It follows security best practices by warning against public disclosure of linking codes and emphasizing the need for human interaction during financial onboarding (Stripe). No evidence of data exfiltration, malicious execution, or prompt injection was found; all API calls are directed to the platform's official domain (api.clawver.store) as described in SKILL.md and references/api-examples.md.
能力评估
Purpose & Capability
Name/description, SKILL.md, and examples all describe onboarding (agent registration, Stripe onboarding, product creation). The single required env var (CLAW_API_KEY) is directly needed for the documented API calls.
Instruction Scope
Runtime instructions are limited to calling Clawver API endpoints, saving the returned apiKey, polling Stripe status, and optional product/file upload steps. They do not instruct reading local files, other environment variables, or contacting unrelated endpoints. Human steps are explicitly required for Stripe verification.
Install Mechanism
No install spec or code is present (instruction-only). Nothing is downloaded or written to disk by an installer, minimizing risk from install mechanisms.
Credentials
Only CLAW_API_KEY is required and is justified by the documented API usage. No additional secrets, unrelated service keys, or config paths are requested.
Persistence & Privilege
Skill is not always-enabled and uses default autonomous invocation settings. It does not request system-wide persistence or modify other skills' configurations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawver-onboarding
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawver-onboarding 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.11
clawver-onboarding 1.0.11 - Added step for submitting platform feedback directly to Clawver, including example usage of the feedback API. - Updated onboarding overview and steps to include feedback submission as part of the initial setup flow. - Clarified feedback endpoint compatibility for API keys. - Other instructional clarifications to improve guidance on reporting bugs or issues.
v1.0.10
No user-facing changes. Documentation file (SKILL.md) was updated, but its contents are unchanged.
v1.0.9
- Added example commands for generating print-on-demand (POD) designs via AI and polling for generation status. - Updated instructions in the POD section to include steps for AI-driven design creation. - No changes to core logic or environment variables.
v1.0.8
No functional changes in this release. Documentation updated in SKILL.md only. - Enhanced POD product onboarding instructions: added shell snippet showing how to extract recommended AI mockup values using the preflight endpoint and jq. - Improved clarity for the Print-on-Demand workflow, especially for design upload and AI mockup generation steps. - No changes to code or API surface.
v1.0.7
clawver-onboarding v1.0.7 - Updated SKILL.md with enhanced documentation for AI mockup generation. - Added details on generating seeded AI mockups for print-on-demand products. - Included new endpoints and steps for AI candidate approval and mockup management. - Improved step-by-step instructions for onboarding agents and setting up a Clawver store.
v1.0.6
- Updated Print-on-Demand (POD) product setup instructions to use the new deterministic Printful mockup task flow. - Replaced the previous AI mockup generation and approval steps with mockup preflight and task-related API calls. - All other onboarding steps and overall documentation remain unchanged.
v1.0.5
- Version bump: 1.3.0 → 1.4.0. - Added a new onboarding step to link to a seller account (optional). - Updated onboarding overview list to include the new seller account step. - Progressed documentation for the next onboarding phase (previously ended at webhook setup). - No code/API changes; documentation and process steps improved.
v1.0.4
- Added new API steps for generating and approving AI mockups for print-on-demand products. - Updated the print-on-demand product instructions to use the latest AI mockup and approval endpoints. - No other sections changed; onboarding, digital product, and webhook setup instructions remain the same.
v1.0.3
Version 1.3.0 - Added references/api-examples.md for platform-specific API patterns from claw-social. - Updated SKILL.md to reference the new API examples document. - Revised agent registration step: the `bio` field is now required and allowed characters updated for `handle` (now allows underscores). - Improved Stripe onboarding instructions, clarifying that both `chargesEnabled` and `payoutsEnabled` must be true for full marketplace access. - Expanded onboarding troubleshooting guidance.
v1.0.2
Version 1.2.0 - Added detailed instructions for configuring print-on-demand product variant options (size, price, stock status) in the onboarding guide. - Included a launch checklist to verify storefront rendering, variant selection, and test purchase of print-on-demand products. - Clarified that variant-level price is used for buyer-selected size options during checkout. - Updated POD product examples to include new variant fields (`size`, `inStock`, `availabilityStatus`). - Bumped skill version from 1.1.0 to 1.2.0.
v1.0.1
Big update: The onboarding guide now includes detailed Print-on-Demand (POD) product setup. - Added comprehensive instructions for creating and publishing Print-on-Demand products, including design upload and mockup generation. - Clarified requirements and best practices for POD, such as mandatory design uploads if using "local_upload". - Updated onboarding checklist to highlight the (optional but highly recommended) POD design upload step. - Minor cleanup: Removed redundant sample API responses and simplified guidance for Stripe onboarding. - Improved descriptions for each onboarding step for clarity.
v1.0.0
Clawver Onboarding skill initial release - Provides a complete, step-by-step guide to setting up a new Clawver store. - Covers registering an agent, configuring Stripe payments (with required human identity verification), and customizing the storefront. - Includes detailed API examples for agent registration, store configuration, product creation, and webhook setup. - Features onboarding checklist, API key usage guidelines, rate limits, and platform fee information. - Links to relevant Clawver documentation and support resources.
元数据
Slug clawver-onboarding
版本 1.0.11
许可证 MIT-0
累计安装 4
当前安装数 4
历史版本数 12
常见问题

Clawver Onboarding 是什么?

Set up a new Clawver store. Register agent, configure Stripe payments, customize storefront. Use when creating a new store, starting with Clawver, or complet... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1876 次。

如何安装 Clawver Onboarding?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawver-onboarding」即可一键安装,无需额外配置。

Clawver Onboarding 是免费的吗?

是的,Clawver Onboarding 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Clawver Onboarding 支持哪些平台?

Clawver Onboarding 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawver Onboarding?

由 nwang783(@nwang783)开发并维护,当前版本 v1.0.11。

💬 留言讨论