← Back to Skills Marketplace
timyljob2011-sudo

token-tracker-daily

by timyljob2011-sudo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
173
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install token-tracker-daily
Description
Token 消耗追踪工具。当用户需要监控 API token 使用情况、生成每日/每周消耗报告、分析使用趋势时使用此 Skill。功能包括:自动记录每次对话的 token 消耗、生成数据表格报告、计算使用趋势和预测、支持定时推送日报。
Usage Guidance
This skill appears to do what it claims: local token counting and report generation. Before installing, 1) reconcile file paths (SKILL.md/README expect scripts/ but the .py files in the bundle appear at the top level) and update the commands accordingly; 2) verify you are comfortable with reports being stored in data/token_log.json and back it up if needed; 3) scheduling via cron requires OS-level privileges — add cron jobs manually after review or use a scheduler you trust; 4) inspect the three Python files yourself (they are short and readable) and run them in a safe environment to confirm behavior; 5) ensure you only pass numeric token counts (these scripts record counts, not actual API keys) and do not accidentally log secret strings. There are no signs of network exfiltration or secret access in the code, but if you expect integration with external reporting endpoints, require explicit review before enabling networked behavior.
Capability Analysis
Type: OpenClaw Skill Name: token-tracker-daily Version: 1.0.0 The skill bundle is a legitimate tool for tracking and reporting API token usage. It consists of Python scripts (log_token.py, daily_report.py, weekly_report.py) that manage a local JSON data store and generate formatted reports. The code is transparent, uses standard libraries, and contains no evidence of data exfiltration, malicious execution, or harmful prompt injection.
Capability Assessment
Purpose & Capability
The skill's name/description match the included scripts (log_token.py, daily_report.py, weekly_report.py) which read/write a local data/token_log.json and produce reports — no unrelated capabilities are requested. Minor incoherence: SKILL.md and README instruct running scripts from a scripts/ directory (e.g., scripts/log_token.py) while the manifest shows the .py files at the repository root; file paths should be reconciled so users know the correct invocation path.
Instruction Scope
Runtime instructions only tell the agent/user to run local Python scripts, read/write data/token_log.json, and optionally schedule cron jobs. The instructions do not request other system files, environment secrets, or network access. Note: the cron examples use a 'cron add' command that may not exist on all systems (installation/scheduling is left to the user).
Install Mechanism
No install spec is provided (instruction-only), and included code is plain Python with no downloads or external installers. Nothing in the install surface writes or executes remote code.
Credentials
The skill declares no required environment variables, credentials, or external config paths. The code only reads/writes a local JSON data file; it does not access secrets or network endpoints.
Persistence & Privilege
always:false and no autonomous privileging are present. The only persistence/change to system state suggested is adding cron jobs for scheduled reports (user-managed). The skill does not modify other skills or global agent configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install token-tracker-daily
  3. After installation, invoke the skill by name or use /token-tracker-daily
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of token-tracker. - 自动记录 API token 消耗,细分输入、输出和总计 - 支持生成每日和每周消耗报告,含趋势分析与预测 - 数据表格清晰显示历史消耗和趋势符号 - 可通过 cron 定时推送日报和周报 - 提供成本控制和优化建议,简单易用的日志与报告脚本
Metadata
Slug token-tracker-daily
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is token-tracker-daily?

Token 消耗追踪工具。当用户需要监控 API token 使用情况、生成每日/每周消耗报告、分析使用趋势时使用此 Skill。功能包括:自动记录每次对话的 token 消耗、生成数据表格报告、计算使用趋势和预测、支持定时推送日报。 It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.

How do I install token-tracker-daily?

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

Is token-tracker-daily free?

Yes, token-tracker-daily is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does token-tracker-daily support?

token-tracker-daily is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created token-tracker-daily?

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

💬 Comments