Mabiao — AI skill for Claude Code
Local-first desktop app for AI coding CLI usage: tokens, work timeline, event stream, and official quotas.
How to install Mabiao
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open qqzhangyanhua/mabiao and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mabiao does
Local-first desktop app for AI coding CLI usage: tokens, work timeline, event stream, and official quotas. Read-only by default.
Alternatives in AI
- Claudecodeui — A desktop and mobile UI for Claude Code, Anthropic's official CLI for AI-assisted coding 9k ★
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- Gsap Skills — Official AI skills for GSAP 1.7k ★
README
码表 (Mabiao)
[English](README.en.md) · [官网](https://mabiao.dev)
本机桌面应用:扫描各 AI 编程 CLI 留在本地的会话数据,归一成「消耗记录」,展示 token 用量、工作时间线与完整事件流。**默认只读、不上传本机消耗记录。**
[](https://github.com/qqzhangyanhua/mabiao/actions/workflows/ci.yml) [](https://github.com/qqzhangyanhua/mabiao/releases/latest) [](LICENSE)
| 工作时间线 | 对话记录 | 菜单栏额度 |
|---|---|---|
![]() |
![]() |
![]() |
支持的来源
码表扫的是本机目录,不代替各家官方仪表盘。路径可用环境变量覆盖,详见 [`docs/adr/0005-configurable-source-paths.md`](docs/adr/0005-configurable-source-paths.md)。
| 来源 | 本机 Token | 本机费用 | 说明 |
|---|---|---|---|
| Claude Code | ✅ | ✅ | 自带 costUSD |
| Codex | ✅ | ❌ | |
| pi | ✅ | ✅ | |
| opencode | ✅ | ✅ | |
| grok | ✅ | ✅ | |
| kimi / gemini / dsh / copilot | ✅ | ❌ | dsh 需解压;copilot 仅会话结束时累计 |
| Factory / droid | ✅ | ❌ | 会话累计,无模型名 |
| Cursor | ⚠️ | ❌ | 代码量 + 账号级用量(需主动提供已有凭证) |
| cursor-agent | ⚠️ | ❌ | Token 仅在包装落盘后可读 |
| qwen / amp | ❌ | ❌ | 本机无 Token(amp 用量在云端) |
口径、默认路径与限制见 [`CONTEXT.md`](CONTEXT.md)。
主要能力
- 总览与拆分:按时 / 日 / 周 / 月看趋势,按来源、模型、Provider、项目、会话拆分;可导出 CSV / JSON,图表可另存图片
- 工作时间线:按日把各来源会话铺成片段,看当天执行时长、对话轮次与并行强度
- 对话记录:按需读本机正文与事件流(提问 / 思考 / 工具 / 回复),可导出 Markdown / JSON
- 额度分开展示:本机 5 小时 / 7 天估计窗(非官方配额)与 官方额度分开;内置 Claude / Codex / Cursor / Grok / Droid / Copilot 等账号,设置里还可登记自定义提供商。菜单栏显示今日花费和最紧的官方百分比
- 全局指令:汇总各来源真正会加载的用户手写指令,与用量分区,不进 Token KPI
- Cursor 代码量:编辑器 AI 行数独立统计,不并入 Token KPI
- 本机缓存:sqlite 可备份、恢复、按来源重建;源文件被清理后记录归档仍计入,不会静默消失
- 预算通知:可设月度预算(美元);本机估算或官方额度过阈值时各弹一次系统通知
Related Skills
Localfig
The Figma desktop app as an MCP server. Gives AI agents the full Figma Plugin API on your open file: read, wri
Herdeck
Control panel for AI coding agents running under herdr — on a hardware Stream Deck (Ulanzi D200 or Elgato), a
Agent Prompt Observatory
Visual history of Claude Code's system prompt: stream-graph timeline across every published version, inline co
Beezi Claude Plugin
Official Beezi plugins for Claude. Track what AI-assisted work costs per session in Claude Code, get a persona
Agent Odometer
Odometer — local desktop dashboard for AI coding-agent usage. Sessions, tokens, and costs for Codex and Claude
Projectmind
AI-driven architecture browser: MCP server + desktop app. Claude Code, Codex & other AI agents explain your co
Related Agents
Ehs Local App
Local application security specialist for the Ethical Hacker Squad. Reviews command-line tools, desktop applic
Opencode
Coding subagent that runs inside opencode, on any provider and model opencode supports (OpenAI, Google, Moonsh
Dart Specialist
Owns Dart language usage: sound null safety, records, patterns and exhaustiveness, sealed classes, mixins, asy


