The most comprehensive x402 payments skill for AI coding agents. Build paid APIs on Base & Solana with USDC. Includes Sentinel Payment Router.
x402-payments-skill is an early-stage Shell project in the AI payments / x402 ecosystem, focused on agent-commerce, agent-skills, ai-payments, base. It currently has 3 GitHub stars and 0 forks, and sits alongside related tools like x402-payments-skill, spraay-payments, skills, spraay-payments, Sentinel, agoragentic-integrations.
The most comprehensive x402 payments skill for AI coding agents. Teaches Claude Code, Codex, Cursor, Windsurf, and Gemini CLI how to build x402 payment infrastructure — not just consume it.
One install. Your AI agent knows how to:
curl -sSL https://raw.githubusercontent.com/valeo-cash/x402-payments-skill/main/install.sh | bash
Auto-detects Claude Code, Codex CLI, and Cursor. Installs the skill to the right location.
Two ready-to-clone projects in examples/:
A Next.js API charging $0.001/request in USDC on Base Sepolia.
cd examples/paid-api-seller && npm install && npm run dev
Node.js scripts that call paid endpoints — single and multi-endpoint with Sentinel Router.
cd examples/pay-for-api-buyer && npm install && npm run single
The skill teaches your AI agent a decision tree:
User asks about x402 / paid APIs / agent payments
│
├─ Are you the SELLER or BUYER?
│ ├─ Seller → Server middleware setup
│ └─ Buyer → Client fetch wrapper
│
├─ Which CHAIN?
│ ├─ Base (EVM) → x402-next / @x402/next
│ ├─ Solana → x402-solana / @x402/svm
│ └─ Both → V2 multi-chain registration
│
└─ Need MULTI-ENDPOINT orchestration?
├─ No → Basic x402 is enough
└─ Yes → Sentinel Payment Router
→ Budget caps
→ Parallel execution
→ Unified cryptographic receipts
Full reference docs for every path: Base/EVM, Solana, Sentinel Router, and all 20+ npm packages in the x402 ecosystem.
/plugin marketplace add valeo-cash/x402-payments-skill
git clone https://github.com/valeo-cash/x402-payments-skill.git
cp -r x402-payments-skill/x402-payments ~/.claude/skills/
git clone https://github.com/valeo-cash/x402-payments-skill.git
cp -r x402-payments-skill/x402-payments ~/.codex/skills/
Copy .cursorrules into your project root:
cp x402-payments-skill/.cursorrules ./
cp -r x402-payments-skill/x402-payments .claude/skills/
| File | Purpose |
|---|---|
SKILL.md |
Main skill — decision tree, quick starts for seller/buyer on Base/Solana |
references/base-evm.md |
Complete Base/EVM server + client setup (V1 + V2 packages) |
references/solana.md |
Complete Solana server + client setup (Wallet Adapter, Privy, Node.js) |
references/sentinel-router.md |
Payment Router — multi-endpoint orchestration, budget caps, receipts |
references/packages.md |
Every x402 + Sentinel npm package with install commands |
.cursorrules |
Drop-in rules file for Cursor/Windsurf projects |
examples/paid-api-seller/ |
Ready-to-deploy Next.js paid API (Vercel one-click) |
examples/pay-for-api-buyer/ |
Node.js scripts for calling paid APIs + Sentinel Router |
x402 is an open payment protocol by Coinbase using HTTP 402 status codes. Any API can charge per-request in USDC — no API keys, no subscriptions, no accounts. Works for humans and AI agents.
@x402sentinel/router adds enterprise infrastructure on top of x402:
import { PaymentRouter } from "@x402sentinel/router";
const router = new PaymentRouter({
paymentFetch: x402Fetch,
getPaymentInfo: () => x402Fetch.getLastPayment?.() ?? null,
agentId: "research-agent-01",
apiKey: "sk_...",
});
const result = await router.execute({
name: "research-pipeline",
maxBudgetUsd: "0.10",
strategy: "parallel",
endpoints: [
{ label: "email-verify", url: "https://api.example.com/verify?email=test@gmail.com" },
{ label: "dns-lookup", url: "https://api.example.com/dns?domain=google.com" },
{ label: "ssl-check", url: "https://api.example.com/ssl?domain=google.com" },
],
});
// result.receipt → unified cryptographic proof of all 3 payments
| Agent | Install method |
|---|---|
| Claude Code | /plugin marketplace add or ~/.claude/skills/ |
| Codex CLI | ~/.codex/skills/ |
| Cursor | .cursorrules in project root |
| Windsurf | .cursorrules in project root |
| Gemini CLI | .claude/skills/ (same format) |
| OpenCode | .claude/skills/ |
Sentinel by Valeo — Audit and compliance infrastructure for AI agent payments.
MIT
Enable AI agents to build and monetize x402 payment systems with seamless API integration and automated paid endpoint calls.
Enable multi-chain batch crypto payments, payroll, swaps, invoices, price feeds, and AI-powered transaction tools for OpenClaw agents.
Agent skills for building, shipping, and growing software products
💧 OpenClaw skill for multi-chain batch crypto payments, payroll, swaps, invoices & more via Spraay x402 gateway
Enterprise audit, compliance & budget enforcement layer for the x402 payment protocol
Public adapters and discovery catalog for Triptych OS (Agent OS): agent frameworks, MCP/A2A/x402 protocols, workflows, wallets, SDKs, and examples for execute-first routing, governed handoffs, and receipt-aware agent commerce.
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-call via x402 micropayments.