Command Code
May 10, 2026 ยท View on GitHub
CodexBar surfaces Command Code monthly USD credits next to your other AI coding providers.
Data source
https://api.commandcode.aibilling endpoints, authenticated with the signed-in Command Code web session.- The provider reads monthly credit usage, plan allowance, remaining credits, and billing-cycle reset timing when the account data is available.
Authentication
Command Code support uses browser cookies or a manually pasted cookie header.
- Sign in to
https://commandcode.aiin a supported browser. - Open Settings -> Providers -> Command Code.
- Enable Command Code and leave Cookie source on Automatic, or switch to Manual
and paste a
Cookie:header/cURL capture from Command Code.
Automatic import looks for better-auth session cookies from commandcode.ai
and www.commandcode.ai. If automatic import cannot find a session, use the
manual cookie field.
Display
- The menu bar item and provider card use the Command Code icon and label.
- The primary row shows monthly credits used/remaining.
- Widgets do not expose Command Code in the provider picker yet.
Related files
Sources/CodexBarCore/Providers/CommandCode/- descriptor, cookie import, billing fetcher, snapshot mapping, and plan catalog.Sources/CodexBar/Providers/CommandCode/- settings store bridge and provider settings UI.Tests/CodexBarTests/CommandCode*Tests.swift- parser, cookie, settings, and icon coverage.