← 返回 Skills 市场
138
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install smart-cost-tracker
功能描述
Track AI agent spending in real time. Shows cost per message, per conversation, per day. Budget alerts, daily/weekly reports, cost-per-task breakdown. Use wh...
安全使用建议
This skill appears to be what it claims: a local cost estimator that writes a JSON log at ~/.openclaw/cost-log.json and needs access to the conversation text to estimate token counts. Before installing or enabling: (1) confirm the runtime will not persist full message text (only metadata) if you care about privacy; (2) check file permissions on ~/.openclaw/cost-log.json or store it on encrypted disk if your machine is shared; (3) remember pricing is an estimate—update the model pricing in the SKILL.md if your provider's rates differ; (4) because it's instruction-only, review your agent runtime to ensure no other skill or component can read/forward the cost-log (the SKILL.md itself does not send data externally). If any of these are unacceptable, disable or do not enable tracking.
功能分析
Type: OpenClaw Skill
Name: smart-cost-tracker
Version: 1.0.1
The smart-cost-tracker skill is a utility designed to monitor and report AI API usage costs locally. It instructions the agent to maintain a log file at `~/.openclaw/cost-log.json` and explicitly states that no data should be sent to external services. The logic is transparent, focuses solely on cost estimation and budget alerting, and contains no evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name and description match the instructions: the skill calculates/estimates per-message and aggregated costs and writes a local cost log. It does not request unrelated credentials, binaries, or installs.
Instruction Scope
Instructions stay within the declared purpose: estimate tokens, compute costs, and maintain ~/.openclaw/cost-log.json. The skill necessarily needs access to conversation prompts/responses to estimate token counts; the SKILL.md does not instruct storing full message text (log schema shows metadata only), but implementers could store more—users should confirm the runtime will not persist full messages.
Install Mechanism
No install spec or code files are present (instruction-only). Nothing is downloaded or written to disk by an installer beyond the described cost-log file created at runtime.
Credentials
No environment variables or credentials are requested, which is proportional. The skill writes to the user's home directory (~/.openclaw/cost-log.json) and needs access to conversation text to estimate tokens — both are expected for this purpose. Users should be aware that the log may contain task names/session metadata that could be sensitive.
Persistence & Privilege
always is false and the skill is user-invocable; it only persists its own local cost-log. It does not request system-wide config changes or elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smart-cost-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/smart-cost-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Cost tracking is now user-controlled: you must enable or disable tracking explicitly.
- Added clear data storage disclosure: spending history is only stored locally and never sent externally.
- Introduced new commands: "Start tracking"/"Stop tracking" to enable or pause logging at any time.
- Tracking and cost log updates only occur when the feature is enabled, giving users more privacy and control.
- All original features and commands for reports, trends, and budget alerts remain unchanged.
v1.0.0
smart-cost-tracker v1.0.0
- Initial release: Track AI agent spending in real time, providing per-message, per-conversation, daily, and weekly cost breakdowns.
- Supports budget alerts and automatic daily/weekly reports.
- Maintains a local cost log tracking tokens, models, tasks, and spending history.
- Offers commands for quick cost queries, budget management, and cost trends.
- All data is stored locally for privacy; no external data transmission.
元数据
常见问题
Smart Cost Tracker 是什么?
Track AI agent spending in real time. Shows cost per message, per conversation, per day. Budget alerts, daily/weekly reports, cost-per-task breakdown. Use wh... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 138 次。
如何安装 Smart Cost Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-cost-tracker」即可一键安装,无需额外配置。
Smart Cost Tracker 是免费的吗?
是的,Smart Cost Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Smart Cost Tracker 支持哪些平台?
Smart Cost Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Smart Cost Tracker?
由 Ha Le(@vanthienha199)开发并维护,当前版本 v1.0.1。
推荐 Skills