← 返回 Skills 市场
punkaze

Usage Tracker

作者 punkaze · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
309
总下载
0
收藏
7
当前安装
1
版本数
在 OpenClaw 中安装
/install usage-tracker
功能描述
Track and log AI API usage across providers, calculate costs, and generate daily, weekly, or monthly reports filtered by model and task type.
安全使用建议
This skill is an instruction-only logger/report generator and does not request credentials, so it appears to do what it says. Before installing: (1) confirm where usage-logs/api-cells.jsonl will be created on your system and whether that location is writable and appropriately protected; (2) decide retention and rotation policies (to avoid unbounded disk growth and accidental retention of sensitive metadata); (3) if you plan to use the Telegram commands, expect to supply your own bot token and integration steps (the SKILL.md does not provide them); and (4) validate the pricing table if you rely on cost calculations. If you need the agent to avoid logging sensitive requests, ensure callers of log_usage only send token counts and not request/response content.
功能分析
Type: OpenClaw Skill Name: usage-tracker Version: 1.0.0 The OpenClaw skill bundle describes a 'Usage Tracker Skill' designed to log AI API calls and generate cost reports. The `SKILL.md` defines tools (`log_usage`, `usage_report`, `realtime_report`) with parameters consistent with this stated purpose. The skill stores logs in a specific file (`usage-logs/api-cells.jsonl`), which is a necessary and expected behavior for a tracking skill. There is no evidence of prompt injection, data exfiltration, malicious execution, persistence mechanisms, or obfuscation. All described functionalities align with the benign purpose of tracking AI usage.
能力评估
Purpose & Capability
The name/description (track API usage and compute costs) aligns with the SKILL.md: it defines log_usage, usage_report, and realtime_report and includes a pricing table. It does not ask for provider credentials because it appears intended to record usage events the agent or other components supply, which is coherent.
Instruction Scope
Instructions describe logging calls and generating reports and reference a storage path (usage-logs/api-cells.jsonl). They do not instruct the agent to read unrelated files or access credentials, but they also lack detail on how logs are written, rotated, or protected. The SKILL.md mentions Telegram commands but provides no integration setup (no tokens or endpoints), creating a minor inconsistency.
Install Mechanism
No install spec and no code files — lowest-risk model: nothing is written to disk by an installer. All behavior is instruction-only.
Credentials
No environment variables, credentials, or external config paths are requested. The skill does not ask for API keys or secrets; it only records metadata (provider, model, token counts, task_type), which is proportional to its purpose.
Persistence & Privilege
always is false (normal). The skill expects to persist logs to usage-logs/api-cells.jsonl — this is reasonable for a usage tracker, but the SKILL.md does not specify retention, access controls, or whether logs might contain sensitive metadata. That lack of detail is a privacy/operational note rather than a functional mismatch.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install usage-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /usage-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Usage Tracker Skill. - Tracks AI model usage across multiple providers (MiniMax, Anthropic, OpenAI, Google, xAI, Voyage, Mistral). - Logs API calls and calculates costs based on current provider pricing. - Generates daily, weekly, and monthly usage/cost reports with optional filters. - Offers real-time 24h usage reports. - Provides Telegram commands for quick reporting.
元数据
Slug usage-tracker
版本 1.0.0
许可证
累计安装 7
当前安装数 7
历史版本数 1
常见问题

Usage Tracker 是什么?

Track and log AI API usage across providers, calculate costs, and generate daily, weekly, or monthly reports filtered by model and task type. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 309 次。

如何安装 Usage Tracker?

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

Usage Tracker 是免费的吗?

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

Usage Tracker 支持哪些平台?

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

谁开发了 Usage Tracker?

由 punkaze(@punkaze)开发并维护,当前版本 v1.0.0。

💬 留言讨论