📦 Cost Guardian — 成本优化
v1.0.0一站式追踪、分析并优化 AI 与基础设施开销:支持预算设定、支出预测、Token 用量扫描及智能降本建议,让每一笔花费可控可省。
0· 440·2 当前·2 累计
下载技能包
最后更新
2026/2/25
安全扫描
OpenClaw
安全
medium confidenceNULL
评估建议
This skill appears coherent for cost tracking and token-scanning. Before installing or running it: (1) review the full scripts/cost-guardian.py source yourself (or in a sandbox) to confirm there are no unexpected network calls or obfuscated code; (2) confirm the gateway log paths it will scan (default ~/.openclaw/logs and /var/log/openclaw) so it does not read unrelated sensitive logs; (3) run init and first scans with limited filesystem permissions if possible; (4) back up any existing ~/.openc...详细分析 ▾
✓ 用途与能力
Name/description (cost tracking, token scans, budgets) align with the included script and SKILL.md: the script stores costs, scans gateway log directories for token usage, produces reports and budgets. No unrelated credentials or services are requested.
ℹ 指令范围
Instructions are specific to running the bundled Python script and its subcommands (init, track, scan-tokens, report, optimize). The script reads log files from a small set of expected OpenClaw gateway/log locations (e.g., ~/.openclaw/logs, /var/log/openclaw). This is expected for token scanning but means it will read any files found there — those logs can contain sensitive data, so verify the log paths before running.
✓ 安装机制
No install spec — instruction-only plus a pure-Python script that uses only the stdlib. Nothing is downloaded or written outside the user's data directory (~/.openclaw/workspace/costs/) except where it reads logs. This is low-risk for supply-chain installs.
✓ 凭证需求
The skill does not require credentials or privileged environment variables. It honors COST_GUARDIAN_DIR if set and uses NO_COLOR for output; these are reasonable and limited. No unrelated secrets are requested.
✓ 持久化与权限
Does not request always:true or system-wide privileges. It stores its database and config under ~/.openclaw/workspace/costs/ and creates files there when initialized — this is consistent with its purpose.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/2/24
NULL
● 无害
安装命令
点击复制官方npx clawhub@latest install cost-guardian
镜像加速npx clawhub@latest install cost-guardian --registry https://cn.longxiaskill.com