← Plugins

Command Code usage

Shows Command Code credit usage as a card in the host-wide Usage modal.

$ clisbot plugin add ibousfiha/commandcode-usage
Report a bug
ibousfihaUtils0installs3fec0f10cb8dSource

Shows your Command Code usage as a card in the Paseo Usage modal, alongside the built-in Claude, Codex, Cursor and other cards.

The card shows your plan, the 5-hour and weekly usage windows, the billing period window named by the length of the billing period (for example Billing · 31-day), and the dollars of credit you have left. Every window shows its used percent and reset time. Purchased or free credits appear as their own rows when either balance is greater than zero.

The daemon reads your Command Code API key from the COMMAND_CODE_API_KEY or COMMANDCODE_API_KEY environment variable, or from the same auth files the pi commandcode provider reads. It sends the key only to api.commandcode.ai. The key stays on the daemon and never appears in inputs, reports or logs. The account card key is a hash of the key store location, and the card label is the account login.

Sections the API does not report are omitted rather than shown as zero. Needs a Command Code account with an API key, and Paseo 0.11 or later.