pi-chatgpt-limit
Show ChatGPT Codex subscription usage in pi's footer
Package details
Install pi-chatgpt-limit from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-chatgpt-limit- Package
pi-chatgpt-limit- Version
0.1.2- Published
- May 2, 2026
- Downloads
- not available
- Author
- patlux
- License
- MIT
- Types
- extension
- Size
- 15.8 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"extensions": [
"./extensions/chatgpt-weekly-limit.js"
],
"image": "https://github.com/patlux/pi-chatgpt-limit/releases/download/preview-assets/footer-preview.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-chatgpt-limit
A pi extension that shows your ChatGPT Codex subscription usage inline in the footer.
It displays the weekly ChatGPT Pro/Codex usage percentage next to the active Codex model, and provides a command for detailed 5-hour and weekly usage windows.
Preview
Footer:

Detailed usage command:

The screenshots are also referenced from issue #1 and are kept out of git history so they are not downloaded when installing this pi package.
Install
pi install npm:pi-chatgpt-limit
Or shorthand:
pi install pi-chatgpt-limit
Then reload pi:
/reload
Usage
The footer percentage appears only while using an openai-codex model authenticated via pi's /login flow.
For details, run:
/chatgpt-limit
This shows:
- plan
- account email when available
- 5-hour usage window
- weekly usage window
- reset times
Notes
This extension calls ChatGPT's usage endpoint:
GET https://chatgpt.com/backend-api/wham/usage
It uses the OAuth token already stored by pi for the active openai-codex provider.
Extensions run with local user permissions and can access pi auth storage. Review extensions before installing them.
Publish
npm login
npm publish --access public
License
MIT