@eleith-pi/codex

Context windows, account usage, and fast-mode controls for Codex in Pi

Packages

Package details

extension

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

$ pi install npm:@eleith-pi/codex
Package
@eleith-pi/codex
Version
0.2.2
Published
Nov 5, 2026
Downloads
384/mo · 384/wk
Author
eleith
License
MIT
Types
extension
Size
66 KB
Dependencies
0 dependencies · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/index.js"
  ]
}

Security note

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

README

codex

context controls, account usage, and fast-mode requests using Pi's existing Codex login. verified extended-context profiles currently cover GPT-6 Sol, GPT-6.1 Sol, and GPT-6 Astra; unknown models are not guessed.

why

keep more context before compaction when you need it. this changes Pi's local compaction window, not server capacity or account limits. larger context may cost more.

install

pi install npm:@eleith-pi/codex

use

  • /eleith:codex opens the local context and fast-mode inspector, including compaction and cache status. Bare context and fast open the same overview.
  • /eleith:codex context on selects the verified local window when larger.
  • /eleith:codex context off returns to the catalog baseline, confirming reductions.
  • /eleith:codex context toggle switches the saved context preference.
  • /eleith:codex fast on checks catalog eligibility and requests priority processing after confirmation of higher allowance use.
  • /eleith:codex fast off requests standard processing.
  • /eleith:codex fast toggle switches the saved fast preference.
  • /eleith:codex usage opens account allowance and reset information in the same inspector, showing a spinner while fetching.

config

set a command prefix in ~/.pi/agent/extensions/eleith.json:

{ "commandPrefix": "personal" }

then use /personal:codex.