Tokmira — Development skill for Claude Code
Free, local-first Claude Code & Codex usage monitor.
How to install Tokmira
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open WenWangxin/Tokmira and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tokmira does
Free, local-first Claude Code & Codex usage monitor. Track quotas, analyze token usage, and find waste.
Alternatives in Development
- Breach Check — HIBP k-anonymity check on a password wordlist 4.5k ★
- Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
- Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
README
Tokmira
看清 Claude Code 和 Codex 的额度用在了哪里,以及为什么用得快。数据只留在本机。
**简体中文** · [English](README_en.md)
[](https://github.com/WenWangxin/Tokmira/releases/latest) [](https://github.com/WenWangxin/Tokmira/releases) [](LICENSE) [](#下载)
[官网](https://wenwangxin.github.io/Tokmira/) · [下载](#下载) · [更新日志](https://github.com/WenWangxin/Tokmira/releases) · [隐私](#隐私) · [从源码构建](#从源码构建)
原名 token-audit,现更名为 Tokmira。截图使用内置演示数据。
功能
- 额度现状:Claude 和 Codex 的 5 小时与每周额度、重置时间和触顶预测。两次官方读数之间,按本机新增用量估算当前额度,并用 ≈ 标出。
- 额度去哪了:按会话、项目、模型、子代理和单次提示拆分额度消耗,看清是哪一次提示用掉了额度。
- 省额度建议:从本机日志识别缓存过期后的整段重建、上下文过长、轻量任务用了高价模型、一次提示跑了太多轮等 16 类浪费,写明多花了多少、下次怎么避免。
- 后台提醒:关掉窗口后继续在菜单栏或托盘运行,刚出现费额度的用法就发一条系统通知。
- 菜单栏额度:不打开窗口也能在菜单栏(macOS)或托盘提示(Windows)看到 5 小时额度。
- 会话与时间线:每个会话的请求、提示和诊断标签按时间排开。
- 订阅值不值:按 API 价格折算本月用量,生成可分享的卡片。
- 中英文界面、开机自启、静默启动,以及可选的应用内更新。
v1.2.0 起,诊断正文、会话标签和后台省额度提醒也跟随语言设置。命令行版仍默认输出中文。
下载
从 [GitHub Releases](https://github.com/WenWangxin/Tokmira/releases/latest) 下载最新版本。
| 平台 | 安装包 | 说明 |
|---|---|---|
| macOS | tokmira-<版本>-macos-universal.dmg |
Apple 芯片与 Intel 通用 |
| Windows 10 / 11(x64) | tokmira-<版本>-windows-amd64-setup.exe |
大多数电脑选这个 |
| Windows 10 / 11(ARM64) | tokmira-<版本>-windows-arm64-setup.exe |
骁龙等 ARM 架构笔记本 |
v1.3.0 起正式更名为 To
Related Skills
StackRadar
StackRadar: free local dev dashboard + network firewall. Find every repo, run command & open port, catch leake
Piaz Switch
Switch between Claude Code and Codex accounts in one click, track each account's limits, and see token usage a
AgentsUsage
A lightweight Windows system tray application that parses local Claude CLI and Codex usage logs, hosting an em
Cc Waste
Scans your local Claude Code session logs and generates a self-contained HTML report of token usage, cost, and
Agent Quota Tracker
⚡ Local CLI monitor, autonomous watchdog, and live dashboard tracking 5-hour rolling rate limits, weekly quota
Burnlens Fix
Find fixes that cut your Claude Code token usage, apply the ones you pick, and track what they save
Related Agents
Performance Monitor
Monitor agent execution, track token usage, measure response quality, and optimize workflows
Context Analyzer
Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the use
Context Optimizer
Meta utility agent for token and context optimization. Spawn when needing to compress agent prompts, optimize