← 返回 Skills 市场
x-rayluan

OpenClaw Cost Guard

作者 X-RayLuan · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
269
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-agent-cost-guard
功能描述
This skill should be used when the user asks to reduce OpenClaw token spend, audit model and cron cost risk, prevent denial-of-wallet incidents, add budget g...
安全使用建议
This package is internally coherent and appears safe to inspect and run locally. Before running it: (1) review the included scripts (they are small and readable) — there are no network calls or external installs; (2) be aware the script will read your OpenClaw config (default ~/.openclaw/openclaw.json). If that config contains provider API keys or secrets, consider running the script against a sanitized copy or verifying that stdout/log capture is private; (3) the test harness runs the script via node locally (child_process usage is only in tests) — run tests in a safe temp directory. If you need stronger guarantees, run the script on a copy of your config stripped of secrets.
功能分析
Type: OpenClaw Skill Name: openclaw-agent-cost-guard Version: 0.1.0 The skill is a legitimate utility designed to audit OpenClaw configuration files for potential cost-related risks, such as expensive model defaults or missing budget limits. The core logic in `scripts/cost-guard.mjs` performs static analysis on a local JSON file and does not exhibit any signs of data exfiltration, network activity, or unauthorized command execution.
能力评估
Purpose & Capability
Name, description, SKILL.md, and included scripts are aligned: the script performs a static review of an OpenClaw config for cost/budget signals. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
The runtime instructions explicitly tell the agent to run node scripts/cost-guard.mjs against an OpenClaw config (default ~/.openclaw/openclaw.json). The script only reads that config file, performs regex/static checks, and prints JSON results. Note: because it reads the user's config file, any secrets present in that file (API keys, provider tokens) could be exposed in stdout or logs when the script is run—there is no network exfiltration or external endpoints in the script itself.
Install Mechanism
No install spec, no downloads, and package files are included in the repository. It's instruction-only with embedded scripts (no installers or external package pulls).
Credentials
The skill requires no environment variables, no credentials, and no special config paths beyond the OpenClaw config it is meant to inspect. The requested access (reading the OpenClaw config) is proportionate to the stated purpose.
Persistence & Privilege
Skill is not always-on and does not modify other skills or system-wide settings. It runs locally and exits; it does not persist tokens or change agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-agent-cost-guard
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-agent-cost-guard 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: lightweight OpenClaw config audit for budget gaps, premium-model defaults, oversized token ceilings, and denial-of-wallet risk signals.
元数据
Slug openclaw-agent-cost-guard
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenClaw Cost Guard 是什么?

This skill should be used when the user asks to reduce OpenClaw token spend, audit model and cron cost risk, prevent denial-of-wallet incidents, add budget g... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 269 次。

如何安装 OpenClaw Cost Guard?

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

OpenClaw Cost Guard 是免费的吗?

是的,OpenClaw Cost Guard 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OpenClaw Cost Guard 支持哪些平台?

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

谁开发了 OpenClaw Cost Guard?

由 X-RayLuan(@x-rayluan)开发并维护,当前版本 v0.1.0。

💬 留言讨论