@eleith-pi/codex
Context windows, account usage, and fast-mode controls for Codex in Pi
Package details
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:codexopens the local context and fast-mode inspector, including compaction and cache status. Barecontextandfastopen the same overview./eleith:codex context onselects the verified local window when larger./eleith:codex context offreturns to the catalog baseline, confirming reductions./eleith:codex context toggleswitches the saved context preference./eleith:codex fast onchecks catalog eligibility and requests priority processing after confirmation of higher allowance use./eleith:codex fast offrequests standard processing./eleith:codex fast toggleswitches the saved fast preference./eleith:codex usageopens 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.