A specialized skill for signing x402 payment authorizations to access third-party payment-gated resources.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install okx-x402-payment
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install okx-x402-payment using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Onchain OS x402 Payment skill is a critical component of the Openclaw Skills ecosystem designed to handle HTTP 402 Payment Required responses. It enables AI agents to autonomously but securely sign payment authorizations for external resources, such as premium data feeds or gated APIs, using the x402 protocol standards.
By leveraging this skill, developers can integrate seamless payment workflows into their agentic tasks. The skill supports both high-security TEE (Trusted Execution Environment) signing via wallet sessions and a local fallback for power users using hex private keys, ensuring flexibility across different deployment environments while maintaining strict adherence to CAIP-2 network standards.
To begin using this tool within Openclaw Skills, ensure the Onchain OS CLI is installed and your environment is ready. You can check supported EVM chains using the following command:
onchainos wallet chains
For local signing capabilities, configure your private key in the environment file:
echo "EVM_PRIVATE_KEY=0xYourHexKey" >> ~/.onchainos/.env
chmod 600 ~/.onchainos/.env
The skill manages complex payment payloads by organizing data into versioned structures. Here is how the Openclaw Skills payment data is organized:
| Feature | Version 1 | Version 2 |
|---|---|---|
| Payload Location | Response Body | PAYMENT-REQUIRED Header (Base64) |
| Signature Header | X-PAYMENT | PAYMENT-SIGNATURE |
| Asset Identifier | CAIP-2 (eip155:*) | CAIP-2 (eip155:*) |
| Signature Schemes | exact, aggr_deferred | exact, aggr_deferred |
| Confirmation | Manual User Step | Manual User Step |
Loading
A high-performance skill for managing real-time Decentralized Exchange (DEX) WebSocket sessions and data streams via CLI or custom scripts.

A store-and-forward messaging system for AI agents that ensures guaranteed message delivery even when peers are offline.

A high-precision temporal toolkit that uses native shell commands to perform complex date and time calculations without external dependencies.

A decentralized peer review system providing independent verification and multi-party approval for AI agent task results.

A diagnostic tool for troubleshooting OpenClaw node connection and pairing failures across mobile and desktop companion apps.

A comprehensive modular toolkit for automated high-quality video, image, and digital human generation via world-class AI models.








































