codex-1m-context-window-setup
Installation
SKILL.md
Codex 1m Context Window Setup
Expand future Codex sessions without pretending every model supports one million tokens. The bundled script reads Codex's current model catalog, caps the request at the selected model's declared maximum, and applies the user's established 60% auto-compaction policy.
Route the request
| User intent | Action |
|---|---|
| Inspect the current limit, explain 258K, or preview the recommendation | 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 |
Do not ask the user for raw token numbers. The model catalog is the authority and the script derives the attainable values.