A Zellij plugin shows remaining quota across AI tools

showy-quota is a Zellij plugin that shows remaining for AI tools such as Codex, Claude, Gemini, and OpenCode. It is meant to stop work sessions from being interrupted by limits that are easy to miss when each service shows its numbers in a different place. Inside Zellij, it can run in a one-line borderless pane and display quota bars from more than 40 s supported by CodexBar.

It shows remaining percentage, time until reset, and color states for healthy, warning, and bad levels. It checks whether the local CodexBar server is running, and if not, it asks Zellij to start it in a hidden pane. If a data fetch fails, it keeps the last good display and marks it stale after enough time has passed.

Each is handled separately, so one slow or stuck does not freeze the rest. s, warning levels, width, and themes are configured through KDL.

Key points

  • Shows remaining quota for Codex, Claude, Gemini, OpenCode, and other AI tools.
  • Uses CodexBar data for more than 40 s.
  • Displays remaining percentage, reset time, and color warning levels.
  • Keeps the last working display if a fetch fails, then marks it stale later.
  • Lets users configure s, warning levels, width, and themes with KDL.
Read original