codex-1m-context-window-setup

Installation
SKILL.md

Codex 1m Context Window Setup

Inspect local settings or change only automatic compaction. For full context expansion, read Codex's current model catalog, cap the request at the model's declared maximum, and apply the bundled expansion preset.

Route the request

User intent Action
Read the current base-config window or compaction threshold Run show; no Codex process or model catalog needed
Lower/set only automatic compaction Run show, then set-compact --tokens N
Explain 258K, diagnose model limits, or preview full expansion Run doctor
Configure/fix/raise the context window Run apply
Confirm a prior setup is still correct after an update or model switch Run verify
Installs
233
GitHub Stars
1.6K
First Seen
Aug 27, 2026