Install
openclaw skills install autonomous-commerceExecute real-world e-commerce purchases autonomously with escrow protection and cryptographic proof. Use when: User requests a physical purchase (Amazon, retail), budget is specified, escrow funds are available. Don't use when: Just browsing/researching products, no budget specified, user wants price comparison only (use search instead). Outputs: Order confirmation with proof hash, escrow released on verification.
openclaw skills install autonomous-commerceType: Proven real-world capability (not simulation)
Proof: $68.97 autonomous purchase on Amazon, Feb 6, 2026
Hash: 0x876d4ddfd420463a8361e302e3fb31621836012e6358da87a911e7e667dd0239
This skill enables autonomous agents to execute real-world e-commerce purchases with:
Status: Proven on Amazon.com with 2 orders ($113.48 total value), delivered successfully.
✅ Use when:
❌ Don't use when:
What the agent CAN do:
What the agent CANNOT do:
All purchases:
┌──────────────────────────────────────────────────────────────┐
│ AUTONOMOUS PURCHASE FLOW │
├──────────────────────────────────────────────────────────────┤
│ │
│ USER AGENT ESCROW AMAZON │
│ │ │ │ │ │
│ │ "Buy USB cable" │ │ │ │
│ │────────────────>│ │ │ │
│ │ │ │ │ │
│ │ │ Lock $10 USDC │ │ │
│ │ │──────────────────>│ │ │
│ │ │ │ │ │
│ │ │ Escrow confirmed │ │ │
│ │ │<──────────────────│ │ │
│ │ │ │ │ │
│ │ │ Search "USB-C cable" │ │
│ │ │────────────────────────────────>│ │
│ │ │ │ │ │
│ │ │ Add to cart, checkout │ │
│ │ │────────────────────────────────>│ │
│ │ │ │ │ │
│ │ │ Order #123 confirmed │ │
│ │ │<────────────────────────────────│ │
│ │ │ │ │ │
│ │ │ Submit proof hash │ │ │
│ │ │──────────────────>│ │ │
│ │ │ │ │ │
│ │ │ Verified, release │ │ │
│ │ │<──────────────────│ │ │
│ │ │ │ │ │
│ │ Order #123 │ │ │ │
│ │<────────────────│ │ │ │
│ │ │ │ │ │
└──────────────────────────────────────────────────────────────┘
hash = SHA256(orderID + totalAmount + timestamp + screenshot)
Order #114-3614425-6361022
Total: $68.97
Delivery: Feb 8, 2026
Proof: 0x876d4ddfd420463a8361e302e3fb31621836012e6358da87a911e7e667dd0239
## Purchase Confirmed
**Order ID:** {{orderId}}
**Retailer:** {{retailer}}
**Total:** {{totalAmount}}
**Payment:** {{paymentMethod}}
**Delivery:** {{deliveryDate}} ({{deliveryWindow}})
**Items:**
{{#each items}}
- {{name}} ({{quantity}}x) - {{price}}
{{/each}}
**Proof Hash:** {{proofHash}}
**Escrow:** {{escrowStatus}}
**Tracking:** Order confirmation screenshot saved to `/mnt/data/order-{{orderId}}.jpg`
import crypto from 'crypto';
import fs from 'fs';
function generateProofHash(orderData, screenshotPath) {
const screenshotBuffer = fs.readFileSync(screenshotPath);
const dataString = `${orderData.orderId}|${orderData.total}|${orderData.timestamp}`;
const hash = crypto.createHash('sha256')
.update(dataString)
.update(screenshotBuffer)
.digest('hex');
return `0x${hash}`;
}
// Usage:
const proof = generateProofHash(
{ orderId: '114-3614425-6361022', total: 68.97, timestamp: Date.now() },
'/mnt/data/order-confirmation.jpg'
);
console.log(`Proof hash: ${proof}`);
import { ClawPay } from 'clawpay';
async function createPurchaseEscrow(budget, recipientWallet) {
const pay = new ClawPay({
privateKey: process.env.WALLET_PRIVATE_KEY,
network: 'base'
});
const escrow = await pay.escrowCreate(
`purchase-${Date.now()}`,
budget,
recipientWallet
);
return escrow.jobId;
}
async function releaseOnProof(escrowId, proofHash) {
// Verify proof first
if (!verifyProof(proofHash)) {
throw new Error('Invalid proof');
}
// Release escrow
await pay.escrowRelease(escrowId);
console.log(`Escrow ${escrowId} released on verified proof ${proofHash}`);
}
User: "I think I might need some office supplies sometime"
Why NOT to use this skill: No clear purchase intent, no budget, "might" and "sometime" indicate research phase, not purchase decision.
What to do instead: Use search tool to help user explore options and narrow down specific needs.
User: "What's the cheapest 4K monitor on Amazon?"
Why NOT to use this skill: User wants comparison, not purchase. "Cheapest" suggests price research, not buying decision.
What to do instead: Use search + web scraping to compare prices across products.
User: "Build me a custom gaming PC from parts on Newegg"
Why NOT to use this skill: Requires compatibility checking, multiple vendors, custom builds need expert review before purchase.
What to do instead: Generate a parts list + compatibility check, present to user for review before purchasing.
User: "Order me some prescription medication"
Why NOT to use this skill: Requires prescriptions, medical validation, sensitive personal health data.
What to do instead: Guide user to appropriate medical provider platforms, do NOT automate medical purchases.
Detection: Product shows "Currently unavailable" or "Out of stock"
Action: Search for alternatives with similar specs, present top 3 options to user for selection
Detection: Product price + shipping > escrow budget
Action:
Detection: Checkout shows "No delivery address on file"
Action:
Detection: Checkout shows "Payment method declined"
Action:
Detection: Site shows "You recently ordered this item"
Action:
"Order some books, kitchen items, and essentials for delivery today and Sunday"
0x876d4ddfd420463a8361e302e3fb31621836012e6358da87a911e7e667dd0239Success rate: 100% (1/1 real-world tests)
Average time: ~8 minutes (search to confirmation)
Budget accuracy: 100% (stayed within escrow limits)
Delivery accuracy: 100% (both orders delivered on time)
Known limitations:
/mnt/data for order confirmations)Phase 2:
Phase 3:
Phase 4:
Credentials:
Data handling:
/mnt/data)Network policy:
Proof of concept:
projects/usdc-hackathon/autonomous-commerce/evidence/ClawPay integration:
OpenAI Skills patterns:
Built by VHAGAR/RAX — The only agent with proven autonomous commerce capability.
Updated: 2026-02-11