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 to inspect local context settings, lower or set the auto-compaction threshold, expand ~258K context to 500K or 1M, or repair model_context_window/model_auto_compact_token_limit. Not for changing the selected model or other Codex settings.

Quality

93%

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.

The body is a well-structured, script-driven workflow: a routing table, exact executable commands per branch, strong validation and rollback checkpoints for config writes, and a cleanly signaled one-level-deep bundle. Its only weakness is localized verbosity around script-path resolution and repeated restart guidance.

DimensionReasoningScore

Conciseness

The body is largely dense, competent procedural instruction (routing table, exact commands, rollback rules), but the ~25-line installed-path resolution section ("When this Skill loads, the host exposes its installed path..." plus macOS/Linux and PowerShell variants) and the repeated start-a-new-thread instructions in both `apply` and "Report the outcome" are minor over-explanation that could be trimmed. This matches the 4 anchor; it is not 5 because not every token earns its place, and not 3 because the padding is localized rather than pervasive.

4 / 5

Actionability

Every routed intent has a complete executable command (e.g., `uv run --no-project python "$SKILL_DIR/scripts/codex_context_window.py" doctor --json`) with cross-platform variants and an explicit procedure for resolving the script path, covering all five branches. Copy-paste ready with specific examples for the common cases, matching the 5 anchor.

5 / 5

Workflow Clarity

The routing table sequences intents to branches, `doctor` is required before `apply`, and the config-writing workflow has explicit validation checkpoints with feedback loops: "back up the original and check for concurrent edits", "Write atomically", "run the local `codex features list` configuration-load check", "Runs Codex strict-config diagnostics; a failure restores the exact prior bytes", and independent readback. This matches the 5 anchor (explicit validation, error-recovery loops) and exceeds the destructive-operation cap of 3.

5 / 5

Progressive Disclosure

Verified against the actual bundle: the body links `scripts/codex_context_window.py` (implementation detail) and `references/context_window_contract.md` (diagnostic semantics), both real files, one level deep, with the reference clearly signaled and purpose-scoped ("Read ... when diagnosing model caps, usable-window display, or compaction semantics"). Content is appropriately split with easy navigation, matching the 5 anchor.

5 / 5

Total

19

/

20

Passed

Description

92%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 description: concrete actions with exact config key names and numeric targets, an explicit "Use to..." trigger clause, and a negative-scope boundary. The only gap is a handful of missing natural synonyms (e.g., "context length", "config.toml"), which keeps trigger-term quality at 4 rather than 5.

DimensionReasoningScore

Specificity

Quotes: "inspect local context settings", "lower or set the auto-compaction threshold", "expand ~258K context to 500K or 1M", "repair model_context_window/model_auto_compact_token_limit" — multiple concrete actions naming exact config keys and numeric targets, comprehensively covering the skill's domain. It exceeds the 4 anchor (which allows minor coverage gaps) and matches the 5 anchor.

5 / 5

Completeness

Both questions are explicitly answered: "what" via "Configures and verifies an expanded, model-aware context window..." and "when" via the explicit trigger clause "Use to inspect local context settings, lower or set the auto-compaction threshold, expand... or repair...", plus a negative-scope clause. This matches the 5 anchor's explicit what-and-when with concrete trigger phrases; it is clearly above 4, where the "when" would be less explicit.

5 / 5

Trigger Term Quality

Natural terms include "context window", "Codex CLI and Desktop", "auto-compaction threshold", "500K or 1M", "~258K" — good coverage of phrases a user would say when requesting this. A few common variations are missing (e.g., "context length", "tokens", "config.toml"), so it fits the 4 anchor rather than the 5 anchor's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The description is scoped to OpenAI Codex CLI/Desktop context-window configuration with named config keys, and the clause "Not for changing the selected model or other Codex settings" explicitly fences it off from adjacent skills. Clear niche with minimal conflict risk, matching the 5 anchor.

5 / 5

Total

19

/

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.