by shanggqm
macOS desktop widget for OpenAI Codex usage, quota tracking, token usage, and today task board
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
# Add to your Claude Code skills
git clone https://github.com/shanggqm/codexUGuides for using cli tools skills like codexU.
Last scanned: 7/3/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-07-03T07:21:28.204Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how codexU compares with popular alternatives.
codexU 是一个使用 Swift 构建的 macOS 菜单栏与桌面应用,用来查看 OpenAI Codex / ChatGPT Codex 和 Claude Code 的额度窗口、token 用量、今日任务和本机 AI 领导力。它把常用信息放在菜单栏和主窗口里,帮助你快速判断剩余额度、重置时间、当天工作进展,以及一个人正在调动多少 AI 劳动力。
项目另提供基于 Tauri + Rust 的 Windows 适配版,覆盖 macOS 版中 Codex 相关功能的子集。下文功能与操作说明以 macOS 版为主。






T 标签。Codex | Claude Code 全局开关,可手动切换所有面板的数据范围。Command + U 显示或隐藏主窗口,并可在设置中自定义;菜单栏 Runtime 菜单也可以快速打开主窗口、设置或退出。Command + U:默认用于显示或隐藏主窗口,可在设置中自定义;如果窗口已最小化,会恢复并唤到前台。codexU 目前通过 GitHub Release 的 DMG 安装包分发,不经过 Mac App Store。第一次打开时,macOS 可能会拦截,需要手动允许:
codexU.app 一次。如果系统提示无法打开,先取消弹窗。codexU.app,点击 仍要打开。也可以在 Finder 中右键点击 codexU.app,选择 打开,再确认系统安全提示。
codexU 需要读取本机 ~/.codex/ 下的 Codex 数据;如果启用 Claude Code 统计,还会读取 ~/.claude/ 下的本机 transcript、任务和状态缓存。如果 macOS 弹出文件或文件夹访问授权,请允许访问,否则小组件无法读取本机 usage、线程和自动化任务信息。
从 GitHub Release 下载与你的 Mac 芯片匹配的安装包:
codexU-<version>-mac-arm64.dmgcodexU-<version>-mac-x86_64.dmgcodexU.app 拖到 Applications 文件夹。Applications 打开 codexU。安装后,codexU 默认每天最多自动检查一次 GitHub Release 是否有新版本,并接收 beta 版本。该检查只读取公开 Release 元数据;发现新版时会打开浏览器下载 DMG 或查看 Release 页面,安装仍由你手动完成。可以在设置窗口的系统区关闭自动检查,或手动点击“检查更新”。
从 v1.4.0 Release 下载 Windows x86_64 安装包:
codexU-<version>-windows-x86_64.msicodexU-<version>-windows-x86_64-setup.exe两种安装包任选其一,双击后按向导完成安装。安装前请先在本机安装并使用 Codex,以便生成用量数据。
当前 Windows 安装包未进行代码签名,首次运行时可能出现系统安全提示。每个安装包都提供对应的 .sha256 校验文件;校验方式见 DISTRIBUTION.md。
适配范围与贡献入口见 Windows 说明。
~/.codex/state_5.sqlite。~/.claude/projects/**/*.jsonl,额度需要本地 statusLine snapshot cache。%USERPROFILE%\.codex\ 下的本机数据。make build
运行:
make run
安装到 /Applications:
make install
检查本机数据源输出:
make probe
make release
make release 会按当前构建机器的架构输出安装包。也可以显式打包指定架构:
make release-arm64
make release-intel
make release-all
产物会写入 dist/,例如:
dist/codexU-1.4.0-mac-arm64.dmg
dist/codexU-1.4.0-mac-arm64.dmg.sha256
dist/codexU-1.4.0-mac-x86_64.dmg
dist/codexU-1.4.0-mac-x86_64.dmg.sha256
Developer ID 签名和 Apple notarization 流程见 DISTRIBUTION.md。
codex-cli/CodexCLI.app、codex-cli/bin/codex、旧版内嵌程序和常规 CLI 安装路径。macOS 保留这些路径的既有选择顺序,仅在它们都不可用时补查 ~/.local/bin/codex。codex app-server 的 account/read、account/rateLimits/read、account/usage/read。~/.codex/state_5.sqlite。~/.codex/sessions/**/rollout-*.jsonl 和 ~/.codex/archived_sessions/*.jsonl 中的 token_count 事件。model、reasoning_effort 和增量输出 token 的完整模型调用,排除低于 100ms 的时间戳噪声后,按模型与推理强度聚合今日、7 日、28 日的 P50、P90、平均调用耗时和有效吞吐。去重样本有界保存在 ~/Library/Application Support/codexU/inference-performance-v1.json,即使原 rollout 后续移出线程列表也可继续进入滚动窗口;不保存 prompt、回复或路径,也不把该口径标为 TTFT 或可见文本解码 TPS。token_count 事件聚合;模型曲线优先按同一 session 中、位于 token 事件之前最近的 turn_context.model 归因。该 turn context 未记录模型时不会沿用上一轮,而是回退到线程模型。缺失精细事件时,日归因整体回退到线程更新时间的粗略口径;模型面积图在 Codex runtime 中按 Top 8 + 其他模型展示,并叠加全局总用量虚线,费用口径始终是本地 API 等效估算。Claude Code 暂不提供模型归因或模型面积图。~/.codex/automations/**/automation.toml 中启用的 automation 元数据;周期、时区和时间足够明确时在本机计算下次运行,规则不完整时不猜测。task_started / task_complete 结构事件;Claude Code 只读取 turn_duration 与 Subagent 生命周期。ScoreModel v1.3 只让事实或可推导区间进入管理半径、劳动力杠杆、编排能力、自主运行四维得分,估算区间不计分;证据可信度独立展示,不乘入得分。~/.claude/projects/**/*.jsonl 中 assistant message 的 message.usage 字段。tool_use.name / 显式 Skill attribution,以及 ~/.claude/tasks/**/*.json;Skill 路径缺失时按 Claude Code 的个人、项目、嵌套、插件和旧版 command 路径在当前文件系统中回退推断,无法确认时显示“当前未定位”。~/Library/Caches/codexU/claude-code/statusline-snapshot.json;缺失时 5 小时/7 日额度显示为 --。shanggqm/codexU 的公开 release 元数据,并把检查结果缓存到 ~/Library/Caches/codexU/update-check.json。当前 Codex 额度 API 暴露的是滚动窗口百分比和重置时间,不暴露绝对配额数量;Claude Code 首版只读取本地历史记录和可选 active snapshot,不代表 Claude.ai 官方账单。更完整的数据口径和回退策略见 RESEARCH.md。
不是。codexU 是一个非官方的本地 macOS 工具,用于读取本机 Codex app-server 和本机 ~/.codex/ 数据。
不会。codexU 只在本机读取 Codex 账户额度、本机 SQLite usage 和 automation 元数据,不把这些数据上传到第三方服务。自动更新检测只请求 GitHub Release 的公开版本元数据,不携带本机 usage、线程、路径、日志或账户数据。
当前 Codex 本地 API 暴露的是滚动窗口已用百分比和重置时间,不暴露绝对额度数量,所以 codexU 展示的是 5 小时和 7 天窗口的剩余百分比。
首页会先恢复同一统计日、时区和数据来源的本地摘要,额度、任务分别刷新;“上次结果”表示缓存值。完整历史仍在后台整理,缓存摘要不包含完整图表明细。历史读取现使用本地 SQLite 增量索引:首次后台整理,后续从检查点处理追加内容,按统计日保存可修订的归档。完整清单尚未覆盖、文件暂时不可读或记录超出可处理边界时,会保留上次结果并标记补全中,不把缺失伪造成 0。过期且未发布的中间报告会分批回收,保留当前发布结果和使用中的版本;缓存满、索引占用或读取失败会显示具体状态。窗口 5 秒目标仍需在可操作的真实桌面环境逐项验收,不能用后台或模型计时代替。
支持。Intel Mac 下载 codexU-<version>-mac-x86_64.dmg。从源码打包时使用 make release-intel,或在支持对应 target 的机器上使用 TARGET_TRIPLE="x86_64-apple-macos13.0"。
MIT
codexU is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by shanggqm. macOS desktop widget for OpenAI Codex usage, quota tracking, token usage, and today task board. It has 359 GitHub stars.
Yes. codexU passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/shanggqm/codexU" and add it to your Claude Code skills directory (see the Installation section above).
codexU is primarily written in Swift. It is open-source under shanggqm on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh codexU against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars