Skip to content

wrinkledeth/claude-codex-bar

Repository files navigation

Claude + Codex Bar

Compact macOS menu bar app for Claude and Codex usage. It shows Codex on the left, Claude on the right, with stacked 5h and 7d percentages.

Install

git clone git@github.com:wrinkledeth/claude-codex-bar.git
cd claude-codex-bar
./install.sh

./install.sh will prompt to add ~/Library/LaunchAgents/com.user.claude-bar.plist for start at login. ./uninstall.sh unloads and removes it.

Manual control:

launchctl load ~/Library/LaunchAgents/com.user.claude-bar.plist
launchctl unload ~/Library/LaunchAgents/com.user.claude-bar.plist

Run

~/.local/share/claude-bar/run.sh

Force a browser with ~/.local/share/claude-bar/run.sh --browser firefox.

For development:

uv sync --frozen --no-dev
.venv/bin/python claude_bar.py

Remove

./uninstall.sh

Security

  • Claude usage is fetched with your local claude.ai session cookie from a supported browser profile.
  • Codex usage is fetched from local Codex auth in ~/.codex/auth.json or $CODEX_HOME/auth.json, with codex app-server fallback when needed.
  • Credentials stay local and are only used to call Claude/OpenAI endpoints directly.

Credits

License

MIT

About

claude and codex usage %, right in your mac menu bar!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors