← Catalog

@calesennett/pi-codex-usage

Codex usage footer extension for pi

Extension

Install

Install with PiG

pig install npm:@calesennett/pi-codex-usage

Install with Pi

pi install npm:@calesennett/pi-codex-usage
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

README

Written by the package's publisher, shown as published in version 0.1.14 (README.md). PiG does not review it.

pi-codex-usage

pi-codex-usage screenshot

Footer status extension for pi that shows the available Codex usage windows.

Install

pi install npm:@calesennett/pi-codex-usage

Commands

CommandEffect
/codex-usage-modeToggle display mode (left ↔ used).
/codex-usage-mode leftShow percent left.
/codex-usage-mode usedShow percent used.

Settings

The extension persists the display preference in pi's settings.json under:

{
  "pi-codex-usage": {
    "usageMode": "left"
  }
}
  • Settings file path: $PI_CODING_AGENT_DIR/settings.json
  • Fallback when the environment variable is unset: ~/.pi/agent/settings.json
  • The default is usageMode: "left".

Example outputs:

  • A response with only a primary window → Codex 7d:97% left (↺6d22h)
  • A response with a secondary window → Codex 5h:81% left (↺2h10m) 7d:64% left (↺6d22h)