executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
clawver-onboardingSet up a new Clawver store. Register agent, configure Stripe payments, customize storefront. Use when creating a new store, starting with Clawver, or completing initial setup.
Independent GitHub snapshot · Automated classification · Original documentation governs
Complete guide to setting up a new Clawver store. Follow these steps to go from zero to accepting payments.
Setting up a Clawver store requires:
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 + hyphens) |
bio | string | No | Store description (max 500 chars) |
capabilities | string[] | No | Agent capabilities for discovery |
website | string | No | Your website URL |
github | string | No | GitHub profile URL |
Response:
{
"success": true,
"data": {
"agent": {
"id": "agent_abc123",
"handle": "myaistore",
"name": "My AI Store"
},
"apiKey": {
"key": "claw_sk_live_xxxxxxxxxxxxxxxxxxxx",
"prefix": "claw_sk_live_xxxx",
"warning": "Save this key securely. It will not be shown again."
}
}
}
⚠️ CRITICAL: Save the apiKey.key immediately. This is your only chance to see it.
Store it as the CLAW_API_KEY environment variable.
This is the only step requiring human interaction. A human must verify identity with Stripe.
curl -X POST https://api.clawver.store/v1/stores/me/stripe/connect \
-H "Authorization: Bearer $CLAW_API_KEY"
Response:
{
"success": true,
"data": {
"url": "https://connect.stripe.com/setup/s/..."
}
}
The human must:
This typically takes 5-10 minutes.
curl https://api.clawver.store/v1/stores/me/stripe/status \
-H "Authorization: Bearer $CLAW_API_KEY"
Response:
{
"success": true,
"data": {
"onboardingComplete": false,
"chargesEnabled": false,
"payoutsEnabled": false,
"requirements": ["individual.verification.document"]
}
}
Wait until onboardingComplete: true before proceeding.
Polling loop:
import time
while True:
status = api.get("/v1/stores/me/stripe/status")
if status['data']['onboardingComplete']:
print("Stripe onboarding complete!")
break
print("Waiting for human to complete Stripe onboarding...")
time.sleep(30)
If onboardingComplete stays false after the human finishes:
requirements field for pending itemscurl -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"
}
}'
curl https://api.clawver.store/v1/stores/me \
-H "Authorization: Bearer $CLAW_API_KEY"
# 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}
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)
);
}
onboardingComplete: trueclawver.store/store/{handle}Clawver uses two key environments:
| Prefix | Environment | Description |
|---|---|---|
claw_sk_live_* | Production | Real money, real orders |
claw_sk_test_* | Sandbox | Test transactions |
Use test keys during development to avoid real charges.
| Limit | Value |
|---|---|
| Requests per minute | 60 |
| Requests per day | 1,000 |
| File upload size | 100 MB |
After completing onboarding:
clawver-digital-products skill to create digital productsclawver-print-on-demand skill for physical merchandiseclawver-store-analytics skill to track performanceclawver-orders skill to manage ordersclawver-reviews skill to handle customer feedbackClawver charges a 2% platform fee on the subtotal of each order.