Mabiao
Description
Local-first desktop app for AI coding CLI usage: tokens, work timeline, event stream, and official quotas. Read-only by default.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI 

