Handles three payment protocols in one dispatcher: x402 for metered billing and EIP-3009 transfers, MPP for channel-based sessions with vouchers, and a2a-pay for agent-to-agent payment links. Triggers on HTTP 402 responses or keywords like "payment required" or "按量计费", decodes the challenge headers, routes to the right signing flow (TEE or local key, Permit2 or session certs), gets user confirmation, then replays with the auth header or returns a transaction hash. The documentation is obsessive about zero narration between detection and the confirmation card, no protocol jargon in user messages, and calling it "OKX Agent Payments Protocol" in bold everywhere. Useful if you're building agents that pay for API access or subscribe to gated services on-chain.
npx skills add https://github.com/okx/onchainos-skills --skill okx-agent-payments-protocol