← Back to Skills Marketplace
338
Downloads
0
Stars
7
Active Installs
4
Versions
Install in OpenClaw
/install token-tracker
Description
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"...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install token-tracker - After installation, invoke the skill by name or use
/token-tracker - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is 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"... It is an AI Agent Skill for Claude Code / OpenClaw, with 338 downloads so far.
How do I install Token Tracker?
Run "/install token-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Token Tracker free?
Yes, Token Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Token Tracker support?
Token Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Token Tracker?
It is built and maintained by zty-f (@zty-f); the current version is v1.3.0.
More Skills