AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Token Tracker

skill-jiahaolin2018-agent-skills-token-tracker · by JiahaoLin2018

查看 Claude Code / Codex token 历史用量报告。当用户询问 token 消耗、费用统计、每日/每周/每月用量、历史会话记录时使用。触发词:tt daily、看一下 token 用量、今天用了多少、费用统计、历史会话。

No reviews yet
0 installs
15 views
0.0% view→install

Install

$ agentstack add skill-jiahaolin2018-agent-skills-token-tracker

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jiahaolin2018-agent-skills-token-tracker)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Token Tracker? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

token-tracker — token 历史用量报告

tt 是独立 CLI 工具(pip 包 token-tracker),读取 Claude Code / Codex 的本地日志生成统计报告。与 tt-statusline(实时状态栏)配合使用,前者看历史,后者看当前。

常用命令

tt daily        # 按日汇总(token 量、费用、会话数、消息数)
tt weekly       # 按周汇总
tt monthly      # 按月汇总
tt sessions     # 最近会话列表(含项目名、token、费用、消息数)
tt dashboard    # 实时仪表盘
tt claude       # 仅 Claude Code 统计
tt codex        # 仅 Codex 统计
tt --version    # 查看版本

安装

pip install token-tracker

安装后执行 tt setup 完成与 Claude Code 的集成配置。

与 tt-statusline 的关系

| | token-tracker (tt) | tt-statusline | |--|---------------------|---------------| | 作用 | 历史用量报告 | 实时状态栏 | | 触发 | 手动执行命令 | 每次 LLM 调用后自动刷新 | | 数据 | 本地日志聚合 | 当前会话 JSON |

> tt setup 会将 tt-statusline.py 写入 ~/.claude/。若本地已有自定义版本,需注意版本号保持为 "1.5" 以防被覆盖,详见 [[tt-statusline]] references/config.md

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.