DBDelve
Dive deep into your data. A fast, native, multi-engine database client written in Rust. Free and open source, no telemetry.
翻译准备中
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Track token usage across AI coding CLIs.
Local parsing, minimal data collection, and a shareable dashboard for Codex CLI, Claude Code, Gemini CLI, OpenCode, Hermes, OpenClaw, and more.
Let your agent install VibeUsage · Open Dashboard · Visit Website
Give the install guide to ChatGPT, Claude, Codex, or your preferred agent — it can set up VibeUsage for you.
Wherever you work, whichever agent you use, VibeUsage keeps your AI usage in one place.
Docs · Backend API · npm · English · 中文说明
VibeUsage is a token usage tracker for AI agent CLIs. It installs lightweight local hooks/plugins, reads usage from local logs or local databases, aggregates usage into time buckets on your machine, and syncs only the data needed to power a dashboard, cost breakdowns, project usage views, public profiles, and leaderboards.
It is currently macOS-first, with support focused on real developer workflows around Codex CLI, Every Code, Claude Code, Gemini CLI, OpenCode, Hermes, and OpenClaw.
npx --yes vibeusage init yourself when you want manual setup.sqlite3 on PATH for full OpenCode supportnpx --yes vibeusage init
What happens next:
Then keep using your normal AI tools — sync runs automatically in the background.
[!IMPORTANT] Since
[email protected],initis the only command that mutates local integration config. If you upgrade from an older install layout, re-runnpx vibeusage init.
npx --yes vibeusage init --link-code <code>
This is useful when you want to copy an install command from the dashboard or let another AI assistant perform the install for you.
| Tool | Detection | Sync trigger / install method | Primary local data source |
|---|---|---|---|
| Codex CLI | Auto-detected | notify hook | ~/.codex/sessions/**/rollout-*.jsonl |
| Every Code | Auto-detected | notify hook | ~/.code/sessions/**/rollout-*.jsonl |
| Claude Code | Auto-detected | Stop + SessionEnd hooks | local hook output |
| Gemini CLI | Auto-detected | SessionEnd hook | ~/.gemini/tmp/**/chats/session-*.json |
| OpenCode | Auto-detected | plugin + local parsing | ~/.local/share/opencode/opencode.db (SQLite is the only supported local accounting source) |
| Hermes | Auto-detected when installed | plugin + local parsing | ~/.vibeusage/tracker/hermes.usage.jsonl |
| OpenClaw | Auto-detected when installed | session plugin | local sanitized usage ledger |
Hermes uses a dedicated plugin-ledger path:
vibeusage init installs Hermes plugin → Hermes lifecycle hooks append ~/.vibeusage/tracker/hermes.usage.jsonl → vibeusage sync parses only that ledger
~/.hermes/state.db, ~/.hermes/sessions/, or trajectory filesvibeusage syncOpenClaw uses a dedicated privacy-preserving path:
OpenClaw session plugin → local sanitized usage ledger → vibeusage sync --from-openclaw
See docs/openclaw-integration.md for the exact contract.
VibeUsage focuses on usage accounting, not content capture.
Tracked fields include:
VibeUsage does not upload:
For OpenClaw specifically, the supported path is limited to sanitized local usage metadata plus token counts.
graph LR
A[Codex CLI] --> G[VibeUsage CLI]
B[Every Code] --> G
C[Claude Code] --> G
D[Gemini CLI] --> G
E[OpenCode] --> G
F[Hermes] --> G
H[OpenClaw] --> G
G --> I[Local aggregation into 30-min UTC buckets]
I --> J[VibeUsage backend]
J --> K[Dashboard]
J --> L[Project usage]
J --> M[Public profile / leaderboard]
At a high level:
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗