← Back to Skills Marketplace
269
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-agent-cost-guard
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-agent-cost-guard - After installation, invoke the skill by name or use
/openclaw-agent-cost-guard - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release: lightweight OpenClaw config audit for budget gaps, premium-model defaults, oversized token ceilings, and denial-of-wallet risk signals.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 269 downloads so far.
How do I install OpenClaw Cost Guard?
Run "/install openclaw-agent-cost-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenClaw Cost Guard free?
Yes, OpenClaw Cost Guard is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does OpenClaw Cost Guard support?
OpenClaw Cost Guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenClaw Cost Guard?
It is built and maintained by X-RayLuan (@x-rayluan); the current version is v0.1.0.
More Skills