← Back to Skills Marketplace
razvanmacovei

x402-cli

by Razvan Macovei · GitHub ↗ · v1.0.3
cross-platform ⚠ suspicious
498
Downloads
0
Stars
1
Active Installs
4
Versions
Install in OpenClaw
/install x402-cli
Description
Pay for x402 payment-gated HTTP endpoints using USDC stablecoins
Usage Guidance
This skill appears to do exactly what it claims, but it requires an EVM private key which can be used to spend tokens. Before installing or enabling it: 1) Inspect the GitHub repo (https://github.com/razvanmacovei/x402-cli) and the Homebrew tap to ensure the source is trustworthy. 2) Never use your main wallet private key — create a dedicated low-value wallet for this skill or use a remote/hardware signer if supported. 3) Consider restricting agent autonomy (disable autonomous invocation for this skill) if you don't want the agent to initiate payments without explicit approval. 4) Avoid using --skip-verify in production. 5) If you must store the key in environment variables, ensure the runtime environment is secure and secrets are rotated regularly.
Capability Analysis
Type: OpenClaw Skill Name: x402-cli Version: 1.0.3 The skill bundle is classified as suspicious due to its core functionality requiring and utilizing an `EVM_PRIVATE_KEY` for cryptocurrency payments, as specified in `SKILL.md` and `clawhub.json`. While this capability is essential for the tool's stated purpose and the documentation explicitly warns users to use a dedicated low-value wallet, the inherent high risk associated with handling private keys by an automated agent warrants a 'suspicious' classification. There is no evidence of malicious intent, such as unauthorized data exfiltration, persistence mechanisms, or prompt injection attempts to subvert the agent's behavior beyond the tool's stated function.
Capability Assessment
Purpose & Capability
Name/description, required binary (x402-cli), install methods (brew/go) and the single required env var (EVM_PRIVATE_KEY) all align with a CLI that signs and submits USDC payments on EVM chains. Requested items are proportionate to the stated purpose.
Instruction Scope
SKILL.md only instructs using the x402-cli binary (probe, pay, POST, TLS flags) and to set EVM_PRIVATE_KEY. It does not direct reading unrelated files, exfiltration, or contacting unexpected endpoints. The presence of a --skip-verify/-k option for TLS is noted (useful for dev but can weaken security if misused).
Install Mechanism
Install options are standard: a Homebrew formula in a named tap and a go install from a GitHub package. These are expected for a CLI tool; no opaque downloads, pastebins, or IP-hosted archives are used. Verify the tap/repo before installing.
Credentials
Only EVM_PRIVATE_KEY is required and is the declared primary credential — appropriate for signing on-chain payments. This is a highly sensitive secret: the skill legitimately needs it, but supplying a private key exposes the ability to spend funds, so use a dedicated low-value wallet or more secure signing setup.
Persistence & Privilege
always is false and the skill does not request system config paths or persistent elevated privileges. Note: the skill can be invoked autonomously by the agent (normal default); combined with an EVM private key this means an autonomous agent could initiate real payments if allowed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install x402-cli
  3. After installation, invoke the skill by name or use /x402-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
Add OpenClaw frontmatter: declares required env vars, binaries, and install methods
v1.0.2
Fix metadata: remove incorrect Solana claim, add private key security guidance
v1.0.1
Clean publish: only SKILL.md and clawhub.json
v1.0.0
Initial release of x402-cli: access and pay for x402 payment-gated HTTP endpoints using USDC. - Supports probing endpoints to check payment requirements. - Handles full payment flow: probe → sign → pay → return response. - Supports JSON output with detailed fields for both probe and payment. - Allows POST requests with custom body and headers. - Supports self-signed TLS for local development. - Provides clear exit codes for common outcomes.
Metadata
Slug x402-cli
Version 1.0.3
License
All-time Installs 1
Active Installs 1
Total Versions 4
Frequently Asked Questions

What is x402-cli?

Pay for x402 payment-gated HTTP endpoints using USDC stablecoins. It is an AI Agent Skill for Claude Code / OpenClaw, with 498 downloads so far.

How do I install x402-cli?

Run "/install x402-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is x402-cli free?

Yes, x402-cli is completely free (open-source). You can download, install and use it at no cost.

Which platforms does x402-cli support?

x402-cli is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created x402-cli?

It is built and maintained by Razvan Macovei (@razvanmacovei); the current version is v1.0.3.

💬 Comments