X402 Payments — AI skill for Claude Code
OpenClaw Skill: autonomous AI agent payments via x402 protocol (Base/USDC).
How to install X402 Payments
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ythx-101/x402-payments and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What X402 Payments does
OpenClaw Skill: autonomous AI agent payments via x402 protocol (Base/USDC).
Alternatives in AI
- RAG Skill — A Skill dedicated to local knowledge base retrieval 712 ★
- Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★
- Embeddedskills — An open-source collection of embedded development and debugging skills for Claude Code, Copilot, TRAE, and oth 593 ★
README
x402-payments
OpenClaw Skill for autonomous AI agent payments via the [x402 protocol](https://x402.org).
What is x402?
x402 is an open protocol by Coinbase that enables HTTP-native payments using stablecoins. When a server returns HTTP 402 (Payment Required), the client automatically handles payment via on-chain USDC transactions on Base.
⚠️ Warning
This skill handles **real money** on Base mainnet. Start with small amounts. Never commit `.wallet.json` to git. See [SECURITY.md](SECURITY.md) for details.
Features
- 🔐 AES-256 encrypted wallet storage
- 💰 USDC balance queries (Base chain)
- 🔄 Automatic HTTP 402 payment handling
- 💸 USDC transfers
- 🛡️ Configurable spending limits
Quick Start
# Generate a wallet
python3 scripts/generate_wallet.py
# Check balance
python3 scripts/balance.py
# Make a payment to a 402 endpoint
python3 scripts/pay.py --url https://api.example.com/paid-endpoint
# Transfer USDC
python3 scripts/transfer.py --to 0x... --amount 1.0
License
MIT
Related Skills
Deskcrew Claude Plugin
DeskCrew for Claude Code: helpdesk MCP server (tickets, replies drafted for human approval, knowledge base and
Agentfund MCP
Crowdfunding for AI agents. Milestone-based escrow on Base chain for proposals, project tracking, and payments
Smart Switch
Multi-app model provider switcher: manage OpenAI/Anthropic-protocol providers (base URL + API key + models) an
Openclaw Worker
🦞 Autonomous AI Swarm Engine — Drop a file, watch 3 AI agents execute in parallel. Built on Claude Code CLI +
Openclaw Self Healing
32+ 4-tier autonomous crash recovery for Claude Code and any service — 64% auto-resolved, LLM-agnostic (Claude
The OpenClaw Bible
The definitive guide to running autonomous AI agents with OpenClaw. 12 chapters. No engagement bait. Read it o
Related Agents
Accounts Payable Agent
Autonomous payment processing specialist that executes vendor payments, contractor invoices, and recurring bil
Knowledge Base Builder
Phase 3 project model construction agent that classifies project type, maps attacker-controlled inputs and tru
Autonomous Protocol
Autonomous Developer Loop Protocol v1.0.0