← 返回 Skills 市场
338
总下载
0
收藏
7
当前安装
4
版本数
在 OpenClaw 中安装
/install token-tracker
功能描述
Track and report token usage and cost for conversations. Use when: (1) User asks about token consumption (e.g. "token用了多少", "花了多少钱", "how much did this cost"...
安全使用建议
This skill is instruction-only and appears coherent: it formats and reports metrics returned by an agent-provided session_status call. Before enabling, confirm your agent platform actually exposes session_status and that the data it returns is what you expect (tokens, cost, cache, context). The skill does not request credentials or install code, but pricing numbers in the SKILL.md are reference-only and may be outdated — verify pricing from your provider if accuracy matters. If you are concerned about privacy, test the skill on non-sensitive conversations to see exactly which fields it surfaces.
功能分析
Type: OpenClaw Skill
Name: token-tracker
Version: 1.3.0
The 'token-tracker' skill is a set of markdown instructions (SKILL.md) designed to help an AI agent report token usage and costs using a built-in 'session_status' function. It contains no executable code, no network requests, and no evidence of malicious intent or data exfiltration.
能力评估
Purpose & Capability
Name and description match the SKILL.md instructions: it only aims to read session metrics and produce a formatted summary. It does not request unrelated credentials, binaries, or config paths.
Instruction Scope
The instructions tell the agent to call session_status and format results. This stays within scope, but the skill implicitly depends on the platform providing a session_status method that exposes token/cost/cache/context metrics. If the platform exposes additional sensitive data via that API, the skill could surface it — the SKILL.md does not attempt to read files, env vars, or external endpoints.
Install Mechanism
No install spec and no code files — instruction-only skills do not write to disk or fetch remote code, which is lowest-risk for installation.
Credentials
No environment variables, credentials, or config paths are required. The declared requirements are proportionate to the stated purpose.
Persistence & Privilege
Flags are default (always: false, agent can invoke autonomously). The skill does not request permanent presence or modify other skills; no elevated persistence or privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install token-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/token-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
Simplified trigger: user asks or end of long conversations
v1.2.0
Changed trigger frequency to every 10 turns; added feedback notice
v1.1.0
Added author info (zruler); skill now triggers on EVERY response to show token usage
v1.0.0
Initial release: Token usage and cost tracking for conversations
元数据
常见问题
Token Tracker 是什么?
Track and report token usage and cost for conversations. Use when: (1) User asks about token consumption (e.g. "token用了多少", "花了多少钱", "how much did this cost"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 338 次。
如何安装 Token Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install token-tracker」即可一键安装,无需额外配置。
Token Tracker 是免费的吗?
是的,Token Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Token Tracker 支持哪些平台?
Token Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Token Tracker?
由 zty-f(@zty-f)开发并维护,当前版本 v1.3.0。
推荐 Skills