SkillAgentSearch skills...

CodexBar

Show usage stats for OpenAI Codex and Claude Code, without having to login.

Install / Use

npx skills add steipete/CodexBar

Installs into whichever agent you are using.

About this skill
🤖

CLAUDE.md

Claude Code project instructions

Quality Score

95/100

Supported Platforms

Claude Code
OpenAI Codex

Tags

CodexBar 🎚️ — May your tokens never run out.

Every AI coding limit, in your menu bar.

Latest release macOS 14+ Homebrew AUR License: MIT Site

<a href="https://codexbar.app"><img src="docs/social.png" alt="CodexBar — every AI coding limit in your menu bar. 69 providers." width="100%" /></a>

Tiny macOS 14+ menu bar app that keeps AI coding-provider limits visible and shows when each window resets. Codex, OpenAI, Claude, Cursor, Gemini, Copilot, Grok, GroqCloud, ElevenLabs, Deepgram, z.ai, MiniMax, Kiro, Zed, Vertex AI, Augment, OpenRouter, LiteLLM, LLM Proxy, Codebuff, Command Code, ClinePass, AWS Bedrock, and many newer coding providers. One status item per provider, or Merge Icons mode with a provider switcher. No Dock icon, minimal UI, dynamic bar icons.

<img src="docs/codexbar.png" alt="CodexBar menu popover with provider tiles, usage bars, and reset countdowns" width="520" />

Why

  • Plan around resets. Per-provider session, weekly, and monthly windows with countdowns to the next reset — stop guessing whether to start that long task.
  • Credits, spend, and cost scans. Credit balances, Admin API spend dashboards, provider billing summaries, and local cost scans where the source exposes enough detail.
  • Live status. Provider status polling surfaces incident badges in the menu and an indicator overlay on the bar icon.
  • Privacy-first. Reuses existing provider sessions — OAuth, device flow, API keys, browser cookies, local files — so no passwords are stored.

Install

Requirements

  • macOS 14+ (Sonoma)

GitHub Releases

Download: https://github.com/steipete/CodexBar/releases

Homebrew

brew install --cask codexbar

CLI Tarballs (macOS/Linux)

Homebrew formula (Linux today):

brew install steipete/tap/codexbar

Arch Linux AUR package:

yay -S codexbar-cli

Or download release tarballs from GitHub Releases:

  • macOS: CodexBarCLI-v<tag>-macos-arm64.tar.gz, CodexBarCLI-v<tag>-macos-x86_64.tar.gz
  • Linux (glibc): CodexBarCLI-v<tag>-linux-aarch64.tar.gz, CodexBarCLI-v<tag>-linux-x86_64.tar.gz
  • Linux (static musl): CodexBarCLI-v<tag>-linux-musl-aarch64.tar.gz, CodexBarCLI-v<tag>-linux-musl-x86_64.tar.gz

First run

  • Open Settings → Providers and enable what you use.
  • Install/sign in to the provider sources you rely on: CLIs, browser sessions, OAuth/device flow, API keys, local app files, or provider apps depending on the provider.
  • Optional: Settings → Providers → Codex → OpenAI cookies (Automatic or Manual) to add dashboard extras.

Set API keys from the CLI

Provider toggles and API keys live in the resolved CodexBar config file. New installs use ~/.config/codexbar/config.json; existing ~/.codexbar/config.json installs still load from the legacy path. You can script the same provider list that Settings → Providers uses:

codexbar config providers
codexbar config enable --provider grok
codexbar config disable --provider cursor

For API-key providers, store a key without opening Settings:

printf '%s' "$ELEVENLABS_API_KEY" | codexbar config set-api-key --provider elevenlabs --stdin

set-api-key trims the piped value, stores it with restrictive config-file permissions, and enables the provider by default. Use --no-enable to only save the key, or --api-key <key> for one-off local scripts where shell history is not a concern. See CLI configuration for the full flow.

Providers

  • Codex — OAuth API or local Codex CLI, plus optional OpenAI web dashboard extras.
  • OpenAI — Admin API key usage/cost graphs with legacy credit-balance fallback.
  • Azure OpenAI — API key, endpoint, and deployment validation probe.
  • Claude — OAuth API, browser cookies, or CLI PTY fallback; session and weekly usage where available.
  • Cursor — Browser session cookies for plan + usage + billing resets.
  • OpenCode — Browser cookies for workspace subscription usage.
  • OpenCode Go — Browser or local SQLite data for Go usage windows.
  • Alibaba Coding Plan — Web cookies or API key for coding-plan quotas.
  • Alibaba Token Plan — Bailian browser/manual cookies for token-plan credits.
  • Qwen Cloud — 5-hour and weekly individual Token Plan usage via browser/manual cookies.
  • Gemini — OAuth-backed quota API using Gemini CLI credentials (no browser cookies).
  • Antigravity — Local language server probe, agy CLI HTTPS source, and Google OAuth fallback (experimental).
  • Droid — Browser cookies + WorkOS token flows for Factory usage + billing.
  • Copilot — GitHub device flow + Copilot internal usage API.
  • Devin — Chrome localStorage session or manual Bearer token for daily and weekly quotas.
  • z.ai — API token for personal/team quota, MCP, 5-hour, and hourly usage windows.
  • Manus — Browser session_id auth for credit balance, monthly credits, and daily refresh tracking.
  • MiniMax — API token, cookie header, or browser cookies for coding-plan usage.
  • T3 Chat — Browser cookies capture for Base and Overage usage buckets.
  • ZoomMate — Chrome cookie auto-import or manual cURL capture for credits usage.
  • Kimi — Auth token (JWT from kimi-auth cookie) for weekly quota + 5‑hour rate limit.
  • Kilo — API token with CLI-auth fallback for Kilo Pass usage.
  • Kiro — CLI-based usage; monthly credits + bonus credits.
  • Vertex AI — Google Cloud gcloud OAuth with token cost tracking from local Claude logs.
  • Augment — Augment CLI or browser cookies for credits tracking and usage monitoring.
  • Amp — Browser cookie-based authentication with Amp Free usage tracking.
  • Ollama — API key access plus browser cookies for Ollama Cloud usage windows.
  • Synthetic — API key quota endpoint for rolling five-hour, weekly token, and search-hourly usage.
  • JetBrains AI — Local XML-based quota from JetBrains IDE configuration; monthly credits tracking.
  • Warp — API token for GraphQL request limits and monthly credits.
  • ElevenLabs — API key for character credits and voice slot usage.
  • OpenRouter — API token for credit-based usage tracking across multiple AI providers.
  • Windsurf — Browser localStorage session import or local SQLite cache for plan usage.
  • Zed — Zed editor Keychain session for plan, edit-prediction quota, billing cycle, and overdue invoices.
  • Perplexity — Account usage credits from Perplexity usage data.
  • Xiaomi MiMo — Browser cookies for balance and token-plan usage.
  • Doubao — API key for Volcengine Ark request-limit probes.
  • Sakana AI — Manual Cookie header for 5-hour and weekly quota windows.
  • Abacus AI — Browser cookie auth for ChatLLM/RouteLLM compute credit tracking.
  • Mistral — Browser cookies for API spend, credit balance, and monthly-plan usage.
  • DeepSeek — API key for credit balance tracking (paid vs. granted breakdown).
  • Fireworks — API key + account slug for 30-day spend from the billing summary API.
  • DeepInfra — API key for prepaid balance, current-month spend, and spending-limit tracking.
  • Moonshot / Kimi API — API key for Moonshot/Kimi API account balance tracking.
  • Venice — API key for DIEM or USD balance tracking.
  • Codebuff — API token (or ~/.config/manicode/credentials.json) for credit balance + weekly rate limit.
  • Crof — API key for dollar credit balance and optional request quota tracking.
  • Command Code — Browser or manual cookies for monthly USD credits from Command Code billing.
  • Qoder — Browser or manual cookies for Qoder big model credit usage.
  • StepFun — Username + password login for Step Plan rate limits (5‑hour + weekly windows) and subscription plan name.
  • AWS Bedrock — AWS access keys or a named AWS profile (SSO/assume-role via the AWS CLI) for Cost Explorer spend, monthly budgets, and optional CloudWatch Claude activity.
  • Grok — Grok CLI billing RPC plus grok.com browser-session fallback.
  • GroqCloud — API key for Enterprise Prometheus request/token/cache-hit metrics.
  • LLM Proxy — API key + base URL for aggregate proxy quota stats and provider breakdowns.
  • ClawRouter — API key for monthly budget, spend, requests, tokens, and routed-provider usage.
  • sub2api — Self-hosted gateway key quota, subscription limits, wallet balance, and per-key usage.
  • Wayfinder — Local router gateway polling for health, per-route breakdown, savings, and decision latency.
  • LiteLLM — Virtual key + proxy URL for personal and team budget/spend tracking.
  • Deepgram — API key usage summaries across speech, agent, token, and TTS metrics.
  • Poe — API key for current point balance and recent points history.
  • Chutes — API key for subscription usage, rolling and monthly quota windows, and pay-as-you-go quotas.
  • Neuralwatt — API key for subscription kWh usage and prepaid credit balance.
  • ZenMux — Management API key for rolling five-hour and seven-day quota windows plus PAYG balance.
  • xAI — Management API key + team ID for prepaid credit balance and daily platform spend.
  • IBM Bob — API key for monthly Bobcoin budget and usage across subscription teams.
  • Open to new providers: provider authoring guide.

Icon & Screenshot

The menu bar icon is a tiny usage meter. Bar meaning is provider-specific, and errors/stale data can dim the icon or show an incident indicator.

Features

  • Multi-provider menu bar with per-provider toggles (Settings → Providers).
  • Provider-specific usage meters with reset countdowns.
  • Optional Codex web dashboard enrichments (code review remaining, usage breakdown, credits history).
  • Inline spend and usage charts for API-backed providers such as OpenAI, Claude Admin API, OpenRouter, LiteLLM, z.ai, MiniMax, Mistral, and AWS Bedrock.
  • Configurable cost-usage scans for Codex + Claude, plus reused chart UI for supported provider histories. Codex history uses a WAL-enabled SQLite store capped at 25,000 retained session entries and 256 MiB.
  • A persistent Settings → Usage & Spend view for local 7/30-day estimates, grouped by native currency and limited to providers that expose cost history.
  • Provider status polling with incident badges in the menu and icon overlay.
  • Merg

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars21.7k
CategoryDevelopment
Updated3h ago
Forks2.0k

Languages

Swift

Security Score

95/100

Audited on Sep 21, 2026

1 low