Solana clawd agentic commerce

From x402agent/solana-clawd · View interactive version

Solana clawd agentic commerce is an AI agent skill from the GitHub repository x402agent/solana-clawd. Build and operate Solana CLAWD agents that spend through Pay CLI, expose paid stores, mint Metaplex-readable identities, and launch Genesis agent tokens.

How to use this skill

Skill file

Solana CLAWD Agentic Commerce

Use this skill when an agent needs to pay for APIs, publish a paid service, mint/register on Metaplex, launch an agent token, or prove its on-chain identity.

Runtime Order

  1. Start in Pay sandbox mode unless the user explicitly requests mainnet spending.
  2. Load the spend policy from openclawd-framework/src/commerce/pay-policy.ts.
  3. Plan every paid call before execution: provider, endpoint, estimated USD, expected calls, and why it matches.
  4. Refuse calls that exceed policy, hit denied URL patterns, or target non-allowlisted endpoints.
  5. For Metaplex, mint or read the agent identity before token launch.
  6. Use devnet and setToken: false until final launch.
  7. Only use setToken: true when the user explicitly acknowledges the permanent one-token-per-agent binding.

Important Files

Commands

pay --sandbox server start openclawd-framework/pay/solana-clawd-agent-commerce.yml --debugger
cd openclawd-framework && node --import tsx/esm examples/agent-commerce.ts

Non-Negotiables

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.