Files
eleith 0923c705d9
ci/woodpecker/pr/codex Pipeline was successful
ci/woodpecker/push/codex Pipeline was successful
feat(codex): unify overview and usage inspectors
2026-11-05 06:31:04 -08:00

38 lines
1.3 KiB
Markdown

# 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
```sh
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`:
```json
{ "commandPrefix": "personal" }
```
then use `/personal:codex`.