pi-better-openai

Personal pi extension that improves OpenAI with fast mode, usage stats, and footer polish.

Package details

extension

Install pi-better-openai from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-better-openai
Package
pi-better-openai
Version
0.1.11
Published
May 3, 2026
Downloads
930/mo · 930/wk
Author
mrchu001
License
MIT
Types
extension
Size
72.4 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

pi-better-openai

A pi extension for OpenAI subscription workflows: fast mode, usage visibility, footer polish, and image generation through openai-codex auth.

Install

Install from GitHub:

pi install git:github.com/mattleong/pi-better-openai

Or install from npm:

pi install npm:pi-better-openai

Features

  • Fast mode for supported OpenAI models, toggled with /fast or in /openai-settings.
  • OpenAI subscription usage display via /openai-usage and the footer.
  • Interactive settings picker via /openai-settings.
  • Footer customization for model, thinking, fast mode, usage, and token/cost context.
  • OpenAI image generation/editing through the openai_image tool and /openai-image command.
  • Commands:
    • /fast toggles fast mode.
    • /openai-image <prompt> generates an image directly.
    • /openai-usage shows current OpenAI subscription usage.
    • /openai-settings opens settings, diagnostics, and config details.

Screenshots