Install
Install with PiG
pig install npm:@calesennett/pi-codex-usageInstall with Pi
pi install npm:@calesennett/pi-codex-usageReview 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
Footer status extension for pi that shows the available Codex usage windows.
Install
pi install npm:@calesennett/pi-codex-usage
Commands
| Command | Effect |
|---|---|
/codex-usage-mode | Toggle display mode (left ↔ used). |
/codex-usage-mode left | Show percent left. |
/codex-usage-mode used | Show 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)