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
- Embeddedskills — An open-source collection of embedded development and debugging skills for Claude Code, Copilot, TRAE, and oth 593 ★
- Geminimcp — Gemini-MCP is an MCP server that encapsulates Google's Gemini CLI tool into a standard MCP protocol interface 294 ★
- Alibabacloud Ack MCP Server — Alibaba Cloud's ack-mcp-server unifies container operations capabilities, enabling AI assistants and third-par 118 ★
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
ClawRouter Hermes
ClawRouter for Hermes — BlockRun's full LLM catalog incl. Claude, GPT and Grok; x402 USDC micropayments on Bas
Deskcrew Claude Plugin
DeskCrew for Claude Code: helpdesk MCP server (tickets, replies drafted for human approval, knowledge base and
Aotrust Skills
AOTrust — cryptographic proof-of-existence for AI agents: Ed25519 PDRs, $0.01 USDC on Base (x402), NEAR-anchor
Complicheck Skill
Deterministic sub-10ms cosmetic compliance API for AI agents. Resolves INCI/CAS to EU CosIng regulations via x
X402 Agent Search Examples
CyberWareX: web search, web page reading and token safety checks for AI agents, paid per call in USDC with x40
Agentfund MCP
Crowdfunding for AI agents. Milestone-based escrow on Base chain for proposals, project tracking, and payments
Related Agents
X402 Treasurer
The ONLY agent allowed to execute x402 payments via pay_and_fetch on the keyed "vault" server instance. Use on
X402 Micropayments
Micropayments and HTTP 402 specialist for 402Lab — the x402 v2 protocol (PAYMENT-REQUIRED / PAYMENT-SIGNATURE
Accounts Payable Agent
Autonomous payment processing specialist that executes vendor payments, contractor invoices, and recurring bil