Install
openclaw skills install moltspay-skillPay for and use AI services via MoltsPay protocol. Trigger: User asks to generate video, use a paid service, etc. Auto-discovers services from /.well-known/a...
openclaw skills install moltspay-skillPay for AI services using USDC on Base chain. No gas needed.
The moltspay CLI provides these commands:
| Command | Description |
|---|---|
moltspay init --chain base | Create wallet (first time only) |
moltspay status | Check balance and limits |
moltspay config | Modify spending limits |
moltspay pay <url> <service> | Pay for a service |
On first use, initialize the wallet with sensible defaults:
After setup, tell user their wallet address and that they need to fund it with USDC on Base.
Query available services:
GET https://moltspay.com/api/search?q=<keyword>GET https://moltspay.com/api/servicesProviders publish services at /.well-known/agent-services.json
Example: https://juai8.com/.well-known/agent-services.json
Present results as a table to users:
| Service | Price | Description |
|---|---|---|
| text-to-video | $0.99 | Generate video from text prompt |
| image-to-video | $1.49 | Animate an image |
Never show raw JSON to users - always format nicely.
Use the moltspay pay command with the provider URL and service ID.
Parameters vary by service:
--prompt for text-based services--image for image-based services--duration for video lengthExample: Zen7 video generation at https://juai8.com/zen7
Users can configure:
Use moltspay config to modify limits.
Run status check and report balance, limits, and today's usage.
Query the MoltsPay API, format results as a clean list with prices.
| Error | Solution |
|---|---|
| Insufficient balance | Tell user to fund wallet with USDC on Base |
| Exceeds daily limit | Wait until tomorrow, or increase limit |
| Exceeds per-tx limit | Increase limit with config command |
| Service not found | Verify service URL and ID |
Tell users: