Install
Install with PiG
pig install npm:@spences10/pi-codex-usageInstall with Pi
pi install npm:@spences10/pi-codex-usagePackages 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.
Pi manifest JSON
The pi field of package.json.
{
"image": "https://raw.githubusercontent.com/spences10/my-pi/main/assets/pi-package-preview.png",
"extensions": [
"./dist/index.js"
]
}README
Written by the package's publisher, shown as published in version 0.0.2 (README.md). PiG does not review it.
@spences10/pi-codex-usage

Pi extension that publishes OpenAI Codex usage to the footer status area.
It only shows status when the active model provider is openai-codex.
The extension reads ~/.pi/agent/auth.json for openai-codex.access,
calls the Codex usage endpoint, and publishes a compact codex-usage
status for the existing @spences10/pi-footer renderer.
Installation
pi install npm:@spences10/pi-codex-usage
Disable the built-in with:
my-pi --no-codex-usage
Development
Package scripts build transitive workspace dependencies first, then
run local tools through Vite+ with vp exec.
pnpm --filter @spences10/pi-codex-usage run check
pnpm --filter @spences10/pi-codex-usage run test
pnpm --filter @spences10/pi-codex-usage run build
License
MIT