← 返回 Skills 市场
token-tracker-daily
作者
timyljob2011-sudo
· GitHub ↗
· v1.0.0
· MIT-0
173
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install token-tracker-daily
功能描述
Token 消耗追踪工具。当用户需要监控 API token 使用情况、生成每日/每周消耗报告、分析使用趋势时使用此 Skill。功能包括:自动记录每次对话的 token 消耗、生成数据表格报告、计算使用趋势和预测、支持定时推送日报。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install token-tracker-daily - 安装完成后,直接呼叫该 Skill 的名称或使用
/token-tracker-daily触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of token-tracker.
- 自动记录 API token 消耗,细分输入、输出和总计
- 支持生成每日和每周消耗报告,含趋势分析与预测
- 数据表格清晰显示历史消耗和趋势符号
- 可通过 cron 定时推送日报和周报
- 提供成本控制和优化建议,简单易用的日志与报告脚本
元数据
常见问题
token-tracker-daily 是什么?
Token 消耗追踪工具。当用户需要监控 API token 使用情况、生成每日/每周消耗报告、分析使用趋势时使用此 Skill。功能包括:自动记录每次对话的 token 消耗、生成数据表格报告、计算使用趋势和预测、支持定时推送日报。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 173 次。
如何安装 token-tracker-daily?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install token-tracker-daily」即可一键安装,无需额外配置。
token-tracker-daily 是免费的吗?
是的,token-tracker-daily 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
token-tracker-daily 支持哪些平台?
token-tracker-daily 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 token-tracker-daily?
由 timyljob2011-sudo(@timyljob2011-sudo)开发并维护,当前版本 v1.0.0。
推荐 Skills