First run setup
After installing CodexBar, follow these steps to configure your providers and start tracking usage.Open Settings
Launch CodexBar and click the menu bar icon, then select Settings (or press
⌘,).Navigate to Settings → Providers to see all available AI coding assistants.Enable your providers
Toggle on the providers you actively use:
- Codex (OpenAI)
- Claude Code
- Cursor
- Gemini
- Copilot
- And 10+ more providers
Each enabled provider appears as a separate menu bar icon by default. You can combine them using Merge Icons mode in Settings.
Configure authentication
Install and sign in to the provider sources you rely on:
- CLI tools:
codex,claude,gemini, etc. - Browser cookies: Safari, Chrome, or Firefox sessions
- OAuth: Direct API authentication
CodexBar reuses your existing authentication. No passwords are stored.
Provider-specific setup
Different providers require different authentication methods. Choose your provider below for detailed setup instructions.- Codex
- Claude
- Other Providers
Codex (OpenAI CLI)
Prerequisites:- Install the Codex CLI:
npm install -g @openai/codex-cli - Authenticate:
codex auth
- Go to Settings → Providers → Codex
- Under OpenAI cookies, select Automatic (reads Safari/Chrome/Firefox) or Manual (paste session cookie)
- Grant Full Disk Access if using Safari cookies
Understanding the menu bar icon
CodexBar displays usage with a two-bar meter:- Top bar: Session or 5-hour window usage (0–100%)
- Bottom bar: Weekly window usage (thin hairline, 0–100%)
- Dimmed icon: Data is stale or an error occurred
- Status overlay: Service incident detected
- Thicker top bar: Credits remaining (when weekly is exhausted)
- Session percentage and reset countdown
- Weekly percentage and reset countdown
- Credits remaining (where applicable)
- Account info and plan details
Using the CLI
CodexBar includes a powerful CLI for scripting and CI pipelines.
See CLI documentation for complete command reference.
Customizing settings
Merge Icons mode
Combine all providers into a single menu bar icon:- Go to Settings → General
- Enable Merge Icons
- Click the unified icon to switch between providers
- Enable Overview tab to see up to 3 providers at once
Refresh cadence
Control how often CodexBar checks for updates:- Manual: Click to refresh
- 1m, 2m, 5m, 15m: Automatic refresh intervals
- 30m: Battery-friendly option
Reset time display
Choose how reset times are shown:- Countdown: “Resets in 3h 24m”
- Absolute: “Resets at 2:15 PM”
- Relative: “Resets tomorrow at 1:00 AM”
Privacy and security
CodexBar is privacy-first:- On-device parsing: All data processing happens locally
- No passwords stored: Reuses existing CLI and browser auth
- Opt-in cookies: Browser cookie access requires your permission
- Minimal access: Only reads known locations (no filesystem crawling)
- Open source: Auditable at github.com/steipete/codexbar
Troubleshooting
Menu bar icon is dimmed
Menu bar icon is dimmed
Keychain keeps prompting for access
Keychain keeps prompting for access
To stop repeated Keychain prompts:
- Open Keychain Access.app
- Search for the credential (e.g., “Chrome Safe Storage” or “Claude Code-credentials”)
- Open the item → Access Control
- Click + and add CodexBar.app
- Save and relaunch CodexBar
Full Disk Access required but I don't want to grant it
Full Disk Access required but I don't want to grant it
Full Disk Access is only needed for Safari cookies. Alternatives:
- Use Chrome or Firefox cookies instead (no FDA required)
- Use CLI-only authentication (no browser cookies)
- Use OAuth where supported (Claude, Gemini, Copilot)
Provider shows '0% left' but I have usage available
Provider shows '0% left' but I have usage available
This can happen if:
- Session expired: Re-authenticate with the provider CLI or browser
- API changed: Check for CodexBar updates
- Wrong account: Verify you’re logged in to the correct account
Next steps
Explore providers
Learn about all 15+ supported AI coding assistants
CLI reference
Use CodexBar in scripts and CI pipelines
Configure settings
Customize refresh cadence, display options, and more
Build from source
Contribute or build your own custom version
