@spences10/pi-codex-usage

OpenAI Codex usage status for the Pi footer

Packages

Package details

extension

Install @spences10/pi-codex-usage from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@spences10/pi-codex-usage
Package
@spences10/pi-codex-usage
Version
0.0.1
Published
Jul 3, 2026
Downloads
137/mo · 27/wk
Author
spences10
License
MIT
Types
extension
Size
16.1 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ],
  "image": "https://raw.githubusercontent.com/spences10/my-pi/main/assets/pi-package-preview.png"
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@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.

Disable the built-in with:

my-pi --no-codex-usage