← Back to Skills Marketplace
0xrag

Pay For Service

by 0xRAG · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
934
Downloads
0
Stars
5
Active Installs
1
Versions
Install in OpenClaw
/install pay-for-service
Description
Make a paid API request to an x402 endpoint with automatic USDC payment. Use when you or the user want to call a paid API, make an x402 request, use a paid service, or pay for an API call. Use after finding a service with search-for-service.
Usage Guidance
This skill is coherent with its stated purpose but exercise caution before using it: 1) Verify and trust the target x402 endpoint before sending requests — the command will perform real USDC payments. 2) Prefer pinning a specific vetted version of 'awal' (for example 'npx [email protected]' or installing a vetted binary) instead of 'awal@latest' to reduce supply-chain risk. 3) Confirm the wallet you will use is intended for these payments and contains only funds you are willing to spend; test with a small max-amount first. 4) Review the 'awal' package and its maintainers (npm page, repo, changelog) before executing remote code. 5) If you need stricter controls, run the command in an isolated environment or with a wallet that has limited funds/permissions. If you want, provide the 'awal' package version you trust or the environment where npx will run so the assessment can be updated.
Capability Analysis
Type: OpenClaw Skill Name: pay-for-service Version: 0.1.0 The skill is suspicious due to a high risk of shell injection and potential financial loss. The `SKILL.md` explicitly allows the agent to execute `npx awal@latest x402 pay` with arbitrary arguments via `Bash`. This command takes user-controlled inputs (URL, data, headers, query parameters) which, if not properly sanitized and shell-escaped by the agent, could lead to arbitrary command execution (RCE). The skill also involves making USDC payments, introducing a financial risk if the agent is prompted to make unauthorized or excessive transactions.
Capability Assessment
Purpose & Capability
The SKILL.md describes exactly how to make x402 paid requests using the 'npx awal' CLI, which aligns with the skill name and description. However, the skill metadata declares no required binaries while the runtime instructions assume npx (and thus Node/npm) are available — a mismatch between declared requirements and actual runtime needs.
Instruction Scope
Instructions stay within the stated purpose (call a paid API, check wallet status/balance, set max payment). They do, however, direct the agent to perform real monetary transactions and to send request payloads to arbitrary external endpoints, so callers must verify and trust the target URL and the payloads before invoking.
Install Mechanism
There is no install spec, but the skill requires running 'npx awal@latest', which downloads and executes the latest package from the npm registry at runtime. Running npx @latest is a supply-chain risk (remote code execution) and should be treated with caution; the skill does not recommend pinning a vetted version or provide guidance about vetting the package.
Credentials
The skill declares no required environment variables or credentials, which is consistent with an instruction-only helper. In practice it requires an authenticated wallet and USDC balance (handled by the local 'awal' CLI), so sensitive wallet state or keys (outside the skill manifest) will be used — this is proportional to the payment purpose but is sensitive and not explicitly documented in the manifest.
Persistence & Privilege
Skill is user-invocable, not always-enabled, and does not request persistent system-wide privileges or modify other skills. No elevated persistence is requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pay-for-service
  3. After installation, invoke the skill by name or use /pay-for-service
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of pay-for-service skill. - Enables making paid API requests to x402 endpoints with automatic USDC payment on Base. - Provides command syntax and usage for npx awal@latest x402 pay. - Documents options for HTTP method, headers, data, query params, and max payment amount. - Outlines prerequisites: wallet authentication and sufficient USDC balance. - Includes usage examples and common error handling steps. - Designed to be used after discovering services via search-for-service.
Metadata
Slug pay-for-service
Version 0.1.0
License
All-time Installs 6
Active Installs 5
Total Versions 1
Frequently Asked Questions

What is Pay For Service?

Make a paid API request to an x402 endpoint with automatic USDC payment. Use when you or the user want to call a paid API, make an x402 request, use a paid service, or pay for an API call. Use after finding a service with search-for-service. It is an AI Agent Skill for Claude Code / OpenClaw, with 934 downloads so far.

How do I install Pay For Service?

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

Is Pay For Service free?

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

Which platforms does Pay For Service support?

Pay For Service is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Pay For Service?

It is built and maintained by 0xRAG (@0xrag); the current version is v0.1.0.

💬 Comments