CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

codex-1m-context-window-setup

Configures and verifies an expanded, model-aware context window for OpenAI Codex CLI and Desktop. Use when Codex shows ~258K context, you want 500K or 1M tokens, auto-compaction fires too often, or model_context_window/model_auto_compact_token_limit needs repair. Not for changing the selected model or other Codex settings.

73

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable body: exact commands for both platforms, a doctor→apply→verify sequence with rollback and verification, and an appropriate one-reference split. The only weakness is mild over-explanation of script internals in the apply section.

DimensionReasoningScore

Conciseness

The body is efficient — a routing table, exact commands, and no explanation of concepts Claude already knows — but minor over-explanation could be trimmed: the "apply" internals ("content-addressed backup", "atomic same-directory replace") describe script behavior Claude does not need in order to act, and the opener "without pretending every model supports one million tokens" is rhetorical. It is not 3 because there is no genuinely unnecessary explanation, and not 5 because those few sentences do not strictly earn their place.

4 / 5

Actionability

Copy-paste-ready "uv run --no-project python "$SKILL_DIR/scripts/codex_context_window.py" doctor/apply/verify" blocks for both macOS/Linux and Windows PowerShell, an intent-to-action routing table, an explicit path-resolution procedure, and an exact report checklist. It is not 4 because the guidance fully covers the common cases with executable commands rather than hints.

5 / 5

Workflow Clarity

The sequence is explicit with validation checkpoints and feedback loops: "doctor" runs first and is read-only, "Run only after `doctor` succeeds", "a failure restores the exact prior bytes" on strict-config diagnostics, and "verify" exits non-zero on mismatch so drift is caught. This is a config-modifying operation, but validation is present, so the destructive-operation cap does not apply. It is not 4 because every checkpoint — pre-check, rollback, post-write read-back, and re-verification — is explicit.

5 / 5

Progressive Disclosure

The body is a clear overview (routing, commands, reporting, scope refusals) with one well-signaled, one-level-deep reference — "Read [references/context_window_contract.md] … when diagnosing model caps, the 95% usable-window display, or compaction semantics" — and both referenced bundle paths (references/context_window_contract.md, scripts/codex_context_window.py) exist as real files. Deep contract details and source links are appropriately split into the reference rather than inlined. It is not 4 because the split is clean and the reference is clearly signaled with its when-to-read condition.

5 / 5

Total

19

/

20

Passed

Description

90%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, tightly scoped description with explicit what/when triggers and an effective negative-scope clause. The only defect is the second-person phrase "you want 500K or 1M tokens", which costs specificity under the third-person rule.

Suggestions

Rewrite the second-person clause in third person, e.g. "Use when Codex shows ~258K context, the user wants 500K or 1M tokens, or auto-compaction fires too often".

Optionally name the subcommands in the description (doctor/apply/verify) to broaden the action list beyond the two verbs "configures and verifies".

DimensionReasoningScore

Specificity

"Configures and verifies an expanded, model-aware context window" plus the named keys "model_context_window/model_auto_compact_token_limit" give two concrete actions with named targets — base 4 — but "you want 500K or 1M tokens" is second person, so the rubric's third-person penalty reduces it to 3. It is not 2 because the domain and actions are concrete, not generic; it does not reach 4/5 because the second-person penalty applies and the action list (two verbs) is not comprehensive.

3 / 5

Completeness

It explicitly answers what ("Configures and verifies an expanded, model-aware context window for OpenAI Codex CLI and Desktop") and when ("Use when Codex shows ~258K context, you want 500K or 1M tokens, auto-compaction fires too often, or model_context_window/model_auto_compact_token_limit needs repair") with concrete trigger phrases, plus a negative-scope clause. It is not 4 because both halves are explicit and specific, not merely present.

5 / 5

Trigger Term Quality

"Codex shows ~258K context", "500K or 1M tokens", "auto-compaction fires too often", and the raw key names cover the exact natural phrases a user would say for this niche, matching the comprehensive-synonyms anchor. It is not 4 because no common variation of this request (size symptom, desired amount, compaction behavior, key repair) is missing.

5 / 5

Distinctiveness Conflict Risk

"Not for changing the selected model or other Codex settings" plus the narrow Codex context-window focus give a clear niche with distinct triggers and minimal conflict with other skills. It is not 4 because the exclusion clause removes even the minor overlap with adjacent Codex-settings skills.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

daymade/claude-code-skills

Path

daymade-codex/codex-1m-context-window-setup/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.