← Back to Skills Marketplace
punkaze

Usage Tracker

by punkaze · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
309
Downloads
0
Stars
7
Active Installs
1
Versions
Install in OpenClaw
/install usage-tracker
Description
Track and log AI API usage across providers, calculate costs, and generate daily, weekly, or monthly reports filtered by model and task type.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install usage-tracker
  3. After installation, invoke the skill by name or use /usage-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug usage-tracker
Version 1.0.0
License
All-time Installs 7
Active Installs 7
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 309 downloads so far.

How do I install Usage Tracker?

Run "/install usage-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Usage Tracker free?

Yes, Usage Tracker is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Usage Tracker support?

Usage Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Usage Tracker?

It is built and maintained by punkaze (@punkaze); the current version is v1.0.0.

💬 Comments