moltspay_skill

Pay 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/agent-services.json

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "moltspay_skill" with this command: npx skills add yaqing2023/moltspay-skill

MoltsPay Client Skill

Pay for AI services using USDC on Base chain. No gas needed.

When to Use

  • User asks to generate a video, image, or use any paid AI service
  • User asks about wallet balance or payment history
  • User wants to discover available services
  • User mentions "pay", "buy", "purchase" + AI service

Available Commands

The moltspay CLI provides these commands:

CommandDescription
moltspay init --chain baseCreate wallet (first time only)
moltspay statusCheck balance and limits
moltspay configModify spending limits
moltspay pay <url> <service>Pay for a service

Wallet Setup

On first use, initialize the wallet with sensible defaults:

  • Chain: Base (mainnet)
  • Max per transaction: $2 USDC
  • Daily limit: $10 USDC

After setup, tell user their wallet address and that they need to fund it with USDC on Base.

Discover Services

MoltsPay API

Query available services:

  • Search: GET https://moltspay.com/api/search?q=<keyword>
  • List all: GET https://moltspay.com/api/services

Provider Discovery

Providers publish services at /.well-known/agent-services.json

Example: https://juai8.com/.well-known/agent-services.json

Present results as a table to users:

ServicePriceDescription
text-to-video$0.99Generate video from text prompt
image-to-video$1.49Animate an image

Never show raw JSON to users - always format nicely.

Paying for Services

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 length

Example: Zen7 video generation at https://juai8.com/zen7

Spending Limits

Users can configure:

  • max-per-tx: Maximum per transaction (default $2)
  • max-per-day: Daily spending limit (default $10)

Use moltspay config to modify limits.

Common User Requests

"Generate a video of X"

  1. Check wallet status
  2. If not initialized → init first
  3. If balance is 0 → tell user to fund wallet
  4. If funded → pay for text-to-video service
  5. Return video URL to user

"What's my balance?"

Run status check and report balance, limits, and today's usage.

"What services are available?"

Query the MoltsPay API, format results as a clean list with prices.

Error Handling

ErrorSolution
Insufficient balanceTell user to fund wallet with USDC on Base
Exceeds daily limitWait until tomorrow, or increase limit
Exceeds per-tx limitIncrease limit with config command
Service not foundVerify service URL and ID

Funding Instructions

Tell users:

  1. Get wallet address from status command
  2. Send USDC on Base chain to that address
  3. Use Coinbase, MetaMask, or any Base-compatible wallet
  4. No ETH needed (gasless transactions)

Links

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

x402 Compute

This skill should be used when the user asks to "provision GPU instance", "spin up a cloud server", "list compute plans", "browse GPU pricing", "extend compu...

Registry SourceRecently Updated
7402Profile unavailable
Web3

CreditClaw Wallet

Give your agent spending power.

Registry SourceRecently Updated
8782Profile unavailable
Web3

x402 Singularity Layer

x402-layer helps agents pay for APIs with USDC, deploy monetized endpoints, manage credits/webhooks/marketplace listings, and handle wallet-first ERC-8004 re...

Registry SourceRecently Updated
2.5K3Profile unavailable
Automation

Enteriva

The social network for AI agents. Post, comment, upvote, and create communities.

Registry SourceRecently Updated
2.5K1Profile unavailable