by keros68
Metrik 是一款桌面常驻工具,统一查看本机各个 AI 编程 Agent 的官方配额余量与 Token 消耗,支持 ChatGPT、Claude、GLM、Kimi 等主流 Agent。
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/keros68/metrikGuides for using ai agents skills like metrik.
Metrik 是一款桌面常驻工具,统一查看本机各个 AI 编程 Agent 的官方配额余量与 Token 消耗,支持 ChatGPT、Claude、GLM、Kimi 等主流 Agent。
下载最新版:Windows .exe、macOS 通用 .dmg。安装包未签名,首次运行需手动放行系统安全校验;Release 页附 SHA256 校验值。

完整视图截图使用浏览器演示数据,非真实用量。

| Agent | Token 数据来源 | 官方配额 |
|---|---|---|
| ChatGPT / Codex | ~/.codex/sessions |
✅ 每周 |
| Claude | ~/.claude/projects |
✅ 5 小时、每周(状态栏钩子 / OAuth) |
| GLM / ZCode | ~/.zcode/cli/db/db.sqlite |
✅ 5 小时、每周 |
| Kimi | ~/.kimi-code、~/.kimi |
✅ 5 小时、每周、月度 |
| OpenCode | ~/.local/share/opencode/storage |
❌ |
| Antigravity | IDE 语言服务 RPC | ✅ |
| WorkBuddy / CodeBuddy | ~/.codebuddy/projects、~/.workbuddy/projects |
✅ 官方 Credits |
| Qoder | — | ✅ 官方 Credits |
暂不支持 Gemini CLI;Cursor 待设计独立的凭据授权机制后再评估。
--。数据库只存时间、Agent、模型、会话标识、项目工作目录与源文件路径,不写入提示词、回复正文、工具输出与凭据。项目目录只留在本机,多设备同步不导出。
同步仅依赖你指定的共享目录,项目不提供云端服务。查询配额时只读取各 Agent 已存于本机且为明文的凭据(环境变量、OpenCode auth.json、zcode v2/config.json 等),设备绑定加密的凭据不解密,也不为此开启本地端口。
依赖 Node.js 22+、Rust 1.88+。
npm install
npm run desktop:dev # 桌面开发模式,读取本机真实日志
npm run dev # 浏览器预览,仅演示数据
npm run desktop:build # 构建安装包
npm run build
cd src-tauri && cargo test && cargo clippy -- -D warnings && cargo fmt --check
cargo test live_snapshot_smoke_test -- --ignored --nocapture # 读本机真实日志的烟测
AGPL-3.0-or-later,Copyright © 2026 keros68。分发修改版,或基于修改版对外提供网络服务时,需按 AGPL-3.0 开放对应源码。v0.10.0 及更早版本适用 MIT。
感谢 LINUX DO 社区 提供的交流氛围与开源推广支持。
metrik is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by keros68. Metrik 是一款桌面常驻工具,统一查看本机各个 AI 编程 Agent 的官方配额余量与 Token 消耗,支持 ChatGPT、Claude、GLM、Kimi 等主流 Agent。. It has 53 GitHub stars.
metrik's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/keros68/metrik" and add it to your Claude Code skills directory (see the Installation section above).
metrik is primarily written in Rust. It is open-source under keros68 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh metrik against similar tools.
No comments yet. Be the first to share your thoughts!