token-tracker: Claude Code & Codex 本地 token 追踪 — 状态栏(Codex 业界首创伪 statusline)、GitHub 风格热力图、多模型成本分析

by stormzhang · Claude Skill · ★ 535

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install token-tracker

pip install --force-reinstall token-tracker && tt setup

Taken from the project's README on GitHub. Check the security audit before running it.

Security audit verdict: SAFE · quality 63/100

None of the 44 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

ai-agentanthropic-claudeclaude-codeclicodexcost-analysisdeveloper-toolsopenai-codexpythonstatusline

Quick Facts

Stars535
Forks60
LanguagePython
CategoryClaude Skill
LicenseMIT
Quality Score63/100
Open Issues14
Last Updated2026-10-10
Created2026-05-08
Platformsclaude-code, cli, codex, python
Est. Tokens~14k

About token-tracker

Token Tracker (tt) 本地 AI Agent Token 消耗追踪/分析工具,支持 Claude Code 和 Codex 。 自定义 StatusLine 状态栏 + CLI Dashboard,实时查看 token 用量、等效成本、限额状态。 English StatusLine 状态栏 自动为 Claude Code 和 Codex 配置状态栏, 一键配置,脚本更新时自动升级。 Claude Code:基于官方自定义 StatusLine 接口,数据完全来自本地 Claude,准确无任何推测 状态栏共三行,从左到右: 终端宽度不足时会自动降级:先隐藏重置倒计时,再将进度条简化为百分比数字。 Codex:官方暂不支持自定义 StatusLine,使用官方默认样式,展示项目名、5h/7d 配额、上下文剩余、模型名 Dashboard 数据面板和 日/周/月 数据报表分析...

Compatible Skills

These tools work well together with token-tracker for enhanced workflows:

  • claude-meter — semantic(0.18)+complementary+same_lang+similar_pop+shared_platform (56%)

token-tracker alternative? Top 6 similar tools

Looking for a token-tracker alternative? If you're comparing token-tracker with other claude skill tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • claude-code-usage-bar by leeguooooo · ⭐ 394

    Lightweight Claude Code statusLine: 5h/7d rate-limit usage, reset countdowns, model + context window, prompt-c

  • usage by aqua5230 · ⭐ 349

    macOS menu bar & Windows tray app pinning Claude Code, Codex, Antigravity & Grok CLI quota, burn rate, and cos

  • claude-pace by Astro-Han · ⭐ 243

    Claude Code statusline and rate limit tracker with pace-aware quota monitoring. Pure Bash + jq, single file.

  • codex-usage-tracker by douglasmonsky · ⭐ 197

    Local-first MCP tools and dashboard for investigating Codex token usage, credits, costs, caching, and thread p

  • aiusage by juliantanx · ⭐ 143

    Open-source AI usage tracker — tokens, cost, and sessions across Claude Code, Codex, Hermes, Qoder, and more

  • TokenTracker by xiufengsun · ⭐ 2.3k

    Local-first AI token usage & cost tracker for 31 coding tools incl. Claude Code, Codex, Cursor, Gemini & DeepS

More Claude Skill Tools

Explore other popular claude skill tools:

View all Claude Skill tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse Claude Skill tools