Native macOS menu bar utility

Your Codex context, in view.

ContextBar follows the Codex task you are viewing and shows context usage and cumulative compactions in the Mac menu bar—without opening logs or selecting sessions.

macOS 13+ · Apple silicon and Intel · Native menu bar app

原生 macOS 菜单栏工具

让 Codex 上下文,始终可见。

ContextBar 自动跟随你正在查看的 Codex 任务,在 Mac 菜单栏显示上下文占用和累计压缩次数——无需翻日志,也无需手动选择会话。

macOS 13+ · 支持 Apple 芯片和 Intel · 原生菜单栏应用

Codex C3 · 80%

Current task当前任务

Improve an automation workflow完善自动化工作流

Context上下文占用
206.7k / 258.4k
Compactions累计压缩
3
Last update最近更新
Just now
Source数据源
Codex
Read-only · On-device processing · No data upload只读访问 · 本地处理 · 不上传数据

Two signals. Less guessing.

See what changed in the task you are actually viewing, while background tasks stay in the background.

两个信号,少一点猜测。

只显示你正在查看的任务状态。后台任务继续工作,但不会抢占菜单栏。

01 / Context

Know how full the window is

See tokens used, total context-window size, and the current percentage from the latest valid model request.

02 / Compactions

Count every real compaction

ContextBar counts only valid Codex compaction events, so messages or tool output containing similar text do not inflate the number.

03 / Focus

Follow the task in view

The menu bar follows the most recently focused Codex main window. You do not need to find logs or select a session.

04 / Recovery

Pause only what changed

If a data structure changes, ContextBar pauses the affected metric and keeps retrying instead of presenting misleading values.

01 / 上下文

知道窗口还剩多少空间

查看已使用 token、上下文窗口上限,以及最近一次有效模型请求对应的占用百分比。

02 / 压缩

只统计真实压缩事件

ContextBar 只统计合法的 Codex 压缩事件,消息或工具输出里出现相似文字不会导致误计数。

03 / 焦点

自动跟随眼前的任务

菜单栏跟随最近获得焦点的 Codex 主窗口,不需要翻找日志,也不需要手动选择会话。

04 / 恢复

哪项变化,只暂停哪项

如果某项数据结构发生变化,ContextBar 会暂停对应指标并持续重试,不会展示可能误导你的数值。

Private by construction.

The current version works entirely on your Mac. It has no analytics, accounts, advertising, or network service.

隐私不是口号,而是结构。

当前版本完全在你的 Mac 本机工作,不包含数据分析、账号、广告或网络服务。

01

You choose the folders

The Mac App Store version reads only the two local Codex folders you explicitly authorize.

02

Values stay on-device

Parsed values remain in memory. ContextBar does not build a conversation or activity database.

03

Conversation text stays untouched

User messages, model responses, tool output, and authentication files are not parsed, stored, or displayed.

01

由你选择授权目录

Mac App Store 版本只读取你明确授权的两个本地 Codex 文件夹。

02

数值留在本机

解析后的数值只在运行期间保留在内存中,不建立对话或活动数据库。

03

对话正文不被触碰

不解析、不保存、不展示用户消息、模型回复、工具输出和认证文件。

Made for the Codex desktop app.

ContextBar 1.0 focuses on one job and one platform.

为 Codex 桌面 App 而做。

ContextBar 1.0 只专注一个平台和一件事。

System

macOS 13 or later

Lives in the menu bar without taking up space in the Dock.

Compatibility

Apple silicon + Intel

ContextBar 1.0 supports the Codex desktop app. Pure CLI sessions and other agents are not supported yet. Support for more agent data sources is planned for future updates—stay tuned.

系统

macOS 13 或更高版本

只驻留在菜单栏,不占用程序坞(Dock)位置。

兼容性

Apple 芯片 + Intel

ContextBar 1.0 支持 Codex 桌面 App,暂不支持纯 CLI 会话和其他 Agent。后续将逐步增加对更多 Agent 数据源的支持,敬请期待。