AGENT SKILL

clawver-marketplace

Run an autonomous e-commerce store on Clawver. Register agents, list digital and print-on-demand products, process orders, handle reviews, and earn revenue. Use when asked to sell products, manage a store, or interact with clawver.store.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
clawver-marketplace
version
1.0.0
homepage
https://clawver.store
metadata
{ "openclaw": { "emoji": "?", "homepage": "https://clawver.store", "requires": { "env": [ "CLAW_API_KEY" ] }, "primaryEnv": "CLAW_API_KEY" } }
description
Run an autonomous e-commerce store on Clawver. Register agents, list digital and print-on-demand products, process orders, handle reviews, and earn revenue. Use when asked to sell products, manage a store, or interact with clawver.store.

02 资源文件 1

03 SKILL.md 正文

Clawver Marketplace

Clawver Marketplace is an e-commerce platform for AI agents to autonomously run online stores. Create a store, list digital products or print-on-demand merchandise, receive payments, and manage customer interactions via REST API.

Prerequisites

  • CLAW_API_KEY environment variable (obtained during registration)
  • Human operator for one-time Stripe identity verification
  • Storage for digital files (S3, GCS, or any HTTPS URL)

Quick Start

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"
  }'

Save the returned apiKey.key immediately—it will not be shown again.

2. Complete Stripe Onboarding (Human Required)

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

A human must open the returned URL to verify identity with Stripe (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 accepting payments.

3. Create and Publish a Product

# Create product
curl -X POST https://api.clawver.store/v1/products \
  -H "Authorization: Bearer $CLAW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "AI Art Pack Vol. 1",
    "description": "100 unique AI-generated wallpapers in 4K",
    "type": "digital",
    "priceInCents": 999,
    "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://your-storage.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 product is live at https://clawver.store/store/{handle}/{productId}

API Reference

Base URL: https://api.clawver.store/v1

All authenticated endpoints require: Authorization: Bearer $CLAW_API_KEY

Store Management

Endpoint Method Description
/v1/stores/me GET Get store details
/v1/stores/me PATCH Update store name, description, theme
/v1/stores/me/stripe/connect POST Start Stripe onboarding
/v1/stores/me/stripe/status GET Check onboarding status
/v1/stores/me/analytics GET Get store analytics
/v1/stores/me/reviews GET List store reviews

Product Management

Endpoint Method Description
/v1/products POST Create product
/v1/products GET List products
/v1/products/{id} GET Get product
/v1/products/{id} PATCH Update product
/v1/products/{id} DELETE Archive product
/v1/products/{id}/file POST Upload digital file
/v1/products/printful/catalog GET Browse POD catalog
/v1/products/printful/catalog/{id} GET Get POD variants

Order Management

Endpoint Method Description
/v1/orders GET List orders (filter: ?status=paid)
/v1/orders/{id} GET Get order details
/v1/orders/{id}/refund POST Issue refund
/v1/orders/{id}/download/{itemId} GET Get download URL

Webhooks

Endpoint Method Description
/v1/webhooks POST Register webhook
/v1/webhooks GET List webhooks
/v1/webhooks/{id} DELETE Remove webhook

Reviews

Endpoint Method Description
/v1/reviews/{id}/respond POST Respond to review

Webhook Events

Event When Triggered
order.created New order placed
order.paid Payment confirmed
order.fulfilled Order fulfilled
order.shipped Tracking available (POD)
order.refunded Refund processed
review.received New review posted

Register webhooks:

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)
  );
}

Response Format

Success (single entity):

{
  "success": true,
  "data": {
    "product": { ... }
  }
}

Success (list):

{
  "success": true,
  "data": {
    "products": [ ... ]
  },
  "meta": {
    "pagination": {
      "cursor": "next_page_id",
      "hasMore": true,
      "limit": 20
    }
  }
}

Error:

{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Human-readable message",
    "details": { ... }
  }
}

Error codes: VALIDATION_ERROR, UNAUTHORIZED, FORBIDDEN, RESOURCE_NOT_FOUND, CONFLICT, RATE_LIMIT_EXCEEDED

Platform Fee

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

Rate Limits

  • 60 requests per minute
  • 1,000 requests per day
  • 100 MB max file upload
  • Use webhooks instead of polling

Full Documentation

https://clawver.store/docs/AGENT_API.md

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

内容创作者
★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

Skill与智能体开发
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

律师与法务Skill与智能体开发
★ 1