独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
I

isHeSatoshi/omarchy-tokenbar

Token usage and estimated cost for every coding agent, in the Omarchy bar

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:这条暂时没有可执行的下一步,可先看原仓库 https://github.com/isHeSatoshi/omarchy-tokenbar

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
0 ★ · isHeSatoshi/omarchy-tokenbar · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-06 · 最近见到 2026-11-14 · 共见到 9 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 isHeSatoshi/omarchy-tokenbar;我们收录于 2026-11-06;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Tokenbar

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Token usage and estimated cost for every coding agent on the machine, in the
Omarchy bar.
The bar shows one number: what today cost. Click it and the dashboard opens
with the same data Tokenbar's desktop app shows — ranges, a daily chart, a
breakdown per agent and per model, and a detail view for any agent you pick.
Nothing is uploaded and nothing is scraped: the plugin reads the session logs
the agents already write to disk.
## Install
bash
omarchy plugin add https://github.com/isHeSatoshi/omarchy-tokenbar.git --enable
Then pick a spot in the bar. --enable places it where the manifest asks
(the right section, beside the tray); to move it:
bash
omarchy bar move io.github.ishesatoshi.tokenbar --before omarchy.monitor
## What it reads
Every source is a local file. If a tool has never run on the machine, its
source is skipped and the panel's source count stays honest about it.
| Agent | Path |
| Droid | ~/.factory/logs/droid-log-single.log, ~/.factory/sessions/ |
| Antigravity | ~/.gemini/antigravity-cli/brain/ |
| Claude Code | ~/.claude/projects//.jsonl |
| Codex | ~/.codex/sessions//.jsonl |
| OpenCode | ~/.local/share/opencode/opencode.db |
| Gemini CLI | ~/.gemini/tmp//chats/session-.json |
| Anything Omarchy tracks | ~/.local/state/omarchy/agents/usage/.json |
The Omarchy records are the fallback: an agent with its own parser here is not
counted twice, and one without a parser still shows up through what Omarchy
recorded for it.
## How cost is estimated
Token counts are read from each agent's own logs. Cost is those counts times a
built-in price table per million tokens, split into input, output, cache read
and cache write, the same way ccusage prices a session. Models the table does
not know are still counted in the token totals and listed at the bottom of the
panel as unpriced, so a missing price never silently changes the token number.
The price table lives in bin/tokenbar-scan as PRICES, one regex per model
family, and was checked against LiteLLM's published per-model prices. Prices
change; the table is a snapshot and the totals are an estimate, not a bill.
## Settings
Each setting is a key on the widget in ~/.config/omarchy/shell.json:
| Key | Values | Default | Meaning |
| display | cost, tokens, both | cost | What the bar readout shows |
| range | today, 7d, 30d | today | Window the bar readout covers |
| refreshSec | 30–3600 | 120 | How often the scanner checks for appended log lines |
| showIcon | true, false | true | Draw the chart glyph beside the value |
bash
omarchy bar set io.github.ishesatoshi.tokenbar display both
omarchy bar set io.github.ishesatoshi.tokenbar range 7d
Clicking with the middle button cycles display without opening a file, and
the right button forces a rescan.
## The panel
Ranges: 1D, 7D, 30D, 90D, 1Y, plus week/month/quarter/year to date.
Calendar: pick any day or any month the logs cover, or click a bar in the
chart to drill into it.
Agents: rows with their share of the range's spend. Click one for its
own cost, cost per million tokens, cache hit rate, cost per active day,
sessions, prompts, chart, and models.
Models: the top models in range, or the full list behind All models.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/ishesatoshi-omarchy-tokenbar/)
来源
github · https://github.com/isHeSatoshi/omarchy-tokenbar
按领域浏览
开源项目
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引