@anthnykr/pi-codex-fast-mode

Pi extension that adds a fast-mode toggle for supported OpenAI Codex models.

Package details

extension

Install @anthnykr/pi-codex-fast-mode from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@anthnykr/pi-codex-fast-mode
Package
@anthnykr/pi-codex-fast-mode
Version
0.1.1
Published
Mar 19, 2026
Downloads
53/mo · 12/wk
Author
anthnykr
License
MIT
Types
extension
Size
6.8 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

@anthnykr/pi-codex-fast-mode

Pi extension package for toggling OpenAI Codex fast mode on supported models.

What it does

  • adds a /fast command in Pi
  • persists the fast-mode toggle across sessions
  • adds a small fast status badge while keeping Pi's built-in footer intact
  • injects service_tier: "priority" for supported openai-codex gpt-5.4* models

Install

pi install npm:@anthnykr/pi-codex-fast-mode

Usage

Start Pi, switch to a supported OpenAI Codex GPT-5.4 model, then run:

/fast

Run /fast again to turn it off.

When fast mode is enabled on a supported model, Pi keeps its normal footer and shows a small fast status badge.

Supported models

The extension currently enables fast mode only when all of these are true:

  • provider is openai-codex
  • model id starts with gpt-5.4
  • fast mode has been toggled on

If those conditions do not match, the extension leaves provider requests unchanged.

Security

Pi extensions run with your full user permissions. Only install packages you trust. .