← 返回 Skills 市场
0xrag

Pay For Service

作者 0xRAG · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
934
总下载
0
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pay-for-service
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pay-for-service 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug pay-for-service
版本 0.1.0
许可证
累计安装 6
当前安装数 5
历史版本数 1
常见问题

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 934 次。

如何安装 Pay For Service?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pay-for-service」即可一键安装,无需额外配置。

Pay For Service 是免费的吗?

是的,Pay For Service 完全免费(开源免费),可自由下载、安装和使用。

Pay For Service 支持哪些平台?

Pay For Service 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Pay For Service?

由 0xRAG(@0xrag)开发并维护,当前版本 v0.1.0。

💬 留言讨论