Context Mode Output Sandbox
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
Configures and verifies an expanded, model-aware context window for OpenAI Codex CLI and Desktop.
$ npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install daymade/claude-code-skills codex-1m-context-window-setup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/daymade-codex/codex-1m-context-window-setup .claude/skills/codex-1m-context-window-setup && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codex-1m-context-window-setup" agent skill from https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-1m-context-window-setup into .claude/skills/codex-1m-context-window-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-1m-context-window-setup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-1m-context-window-setupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install daymade/claude-code-skills codex-1m-context-window-setup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/daymade-codex/codex-1m-context-window-setup .agents/skills/codex-1m-context-window-setup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codex-1m-context-window-setup" agent skill from https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-1m-context-window-setup into .agents/skills/codex-1m-context-window-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-1m-context-window-setup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install daymade/claude-code-skills codex-1m-context-window-setup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/daymade-codex/codex-1m-context-window-setup .cursor/skills/codex-1m-context-window-setup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codex-1m-context-window-setup" agent skill from https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-1m-context-window-setup into .cursor/skills/codex-1m-context-window-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-1m-context-window-setup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/daymade/claude-code-skills.git --path daymade-codex/codex-1m-context-window-setup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install daymade/claude-code-skills codex-1m-context-window-setup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/daymade-codex/codex-1m-context-window-setup .gemini/skills/codex-1m-context-window-setup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codex-1m-context-window-setup" agent skill from https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-1m-context-window-setup into .gemini/skills/codex-1m-context-window-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-1m-context-window-setup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install daymade/claude-code-skills codex-1m-context-window-setupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/daymade-codex/codex-1m-context-window-setup .github/skills/codex-1m-context-window-setup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codex-1m-context-window-setup" agent skill from https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-1m-context-window-setup into .github/skills/codex-1m-context-window-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-1m-context-window-setup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install daymade/claude-code-skills codex-1m-context-window-setup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/daymade-codex/codex-1m-context-window-setup .opencode/skills/codex-1m-context-window-setup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codex-1m-context-window-setup" agent skill from https://github.com/daymade/claude-code-skills/tree/main/daymade-codex/codex-1m-context-window-setup into .opencode/skills/codex-1m-context-window-setup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-1m-context-window-setup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codex-1m-context-window-setupConfigures and verifies an expanded, model-aware context window for OpenAI Codex CLI and Desktop.
Codex 1m Context Window Setup is an agent skill from daymade/claude-code-skills. 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 modelcontextwindow/modelautocompacttokenlimit needs repair. Not for changing the selected model or other Codex settings.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/context_window_contract.md`, `scripts/codex_context_window.py` and `tests/test_codex_context_window.py`).
It sits in Agent Workflows, covering Context engineering. The repository describes itself as: Professional Claude Code skills marketplace featuring production-ready skills for enhanced development workflows. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3c268d6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codex 1m Context Window Setup loads about 1.2k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 512 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from daymade/claude-code-skills at commit 3c268d6, republished under its MIT licence (© daymade). 512 words, ~1,174 tokens.
.claude/skills/codex-1m-context-window-setup/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.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.
| 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.
When this Skill loads, the host exposes its installed path. Resolve it explicitly:
SKILL.md from this Skill's file:
entry in the current Available skills catalog.Do not search a home directory for another copy. If the host did not expose an
installed path, stop with installed Skill path not exposed rather than guessing.
On macOS/Linux, set that exact directory and run:
SKILL_DIR="/absolute/path/from-the-loaded-skill-metadata"
uv run --no-project python "$SKILL_DIR/scripts/codex_context_window.py" doctor
uv run --no-project python "$SKILL_DIR/scripts/codex_context_window.py" apply
uv run --no-project python "$SKILL_DIR/scripts/codex_context_window.py" verifyOn Windows PowerShell, use the same exposed directory with forward slashes:
$SkillDir = "C:/absolute/path/from-the-loaded-skill-metadata"
uv run --no-project python "$SkillDir/scripts/codex_context_window.py" doctor
uv run --no-project python "$SkillDir/scripts/codex_context_window.py" apply
uv run --no-project python "$SkillDir/scripts/codex_context_window.py" verifydoctorRun first. It is read-only and reports:
apply is needed;$CODEX_HOME/config.toml target.If Codex cannot return a live model catalog, stop. Do not substitute remembered model limits, API marketing numbers, or a bundled default.
applyRun only after doctor succeeds. The script:
model_context_window and
model_auto_compact_token_limit keys.Existing sessions do not grow in place. After success, tell the user to start a new CLI thread or restart/open a new Codex Desktop thread.
verifyRun after Codex upgrades, default-model changes, or on a newly configured machine. It exits non-zero when the current base config no longer equals the model-aware recommendation. Report the mismatch; do not call it configured.
Copy exact values from script output. Include:
restart_required: true after a changed apply.This Skill does not:
-c flags;Read references/context_window_contract.md when diagnosing model caps, the 95% usable-window display, or compaction semantics.
© daymade, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts, references) in daymade-codex/codex-1m-context-window-setup of daymade/claude-code-skills.
Open the folder on GitHubat commit 3c268d6
Codex 1m Context Window Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codex 1m Context Window Setup this skilldaymade/claude-code-skills | 1.4k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence | |
| Memori Long-Term MemoryMemoriLabs/Memori | 17k | — | ~2k | Automated safety check: Notes | Custom licence | |
| Picoclaw Skill Creatorsipeed/picoclaw | 30k | — | ~4.4k | Automated safety check: Pass | MIT | |
| ccc Semantic Code Searchcocoindex-io/cocoindex-code | 2.7k | — | ~938 | Automated safety check: Pass | Apache-2.0 | |
| Context Mode for Antigravity CLImksglu/context-mode | 26k | — | ~850 | Automated safety check: Pass | Custom licence |
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
MemoriLabs/Memori
Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.
sipeed/picoclaw
Guidance for creating, updating and reviewing Picoclaw skills, from the SKILL.md structure to organizing bundled scripts, references and assets.
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
mksglu/context-mode
Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.
alexgreensh/token-optimizer
Audit a Claude Code or Codex setup for context-window waste, then fix it and measure the savings.
daymade/claude-code-skills
This skill should be used when comparing two videos to analyze compression results or quality differences.
daymade/claude-code-skills
Generates professional animated CLI demos as GIFs using VHS terminal recordings.
daymade/claude-code-skills
Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.
daymade/claude-code-skills
Generates several distinct, clickable HTML interaction prototypes for one product surface into a Design Board and collects selection/remix feedback before implementation.
daymade/claude-code-skills
Diagnoses and repairs repository setup and guarded Git workflows for Claude Code or Codex — environment repair, startup sync, hook auditing, collaborator handoff.
daymade/claude-code-skills
Pulls Bigdata.com (RavenPack) financial and news data via the official bigdata-client SDK and /v1/ REST endpoints — structured financials, prices, analyst estimates, entity-sentiment series…
Categories
Configures and verifies an expanded, model-aware context window for OpenAI Codex CLI and Desktop. Codex 1m Context Window Setup is an agent skill from daymade/claude-code-skills. Configures and verifies an expanded, model-aware context window for OpenAI Codex CLI and Desktop.
Codex 1m Context Window Setup fits situations like: Codex shows ~258K context; auto-compaction fires too often; modelcontextwindow/modelautocompacttokenlimit needs repair.
Run `npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a claude-code`. Or copy the skill folder (daymade-codex/codex-1m-context-window-setup in daymade/claude-code-skills) into .claude/skills/codex-1m-context-window-setup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a codex`. Or copy the skill folder (daymade-codex/codex-1m-context-window-setup in daymade/claude-code-skills) into .agents/skills/codex-1m-context-window-setup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add daymade/claude-code-skills --skill codex-1m-context-window-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-1m-context-window-setup, .gemini/skills/codex-1m-context-window-setup, .github/skills/codex-1m-context-window-setup and .opencode/skills/codex-1m-context-window-setup in your project.
Going by SKILL.md and its folder, Codex 1m Context Window Setup needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Codex 1m Context Window Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 828 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Codex 1m Context Window Setup: Context Mode Output Sandbox (mksglu/context-mode, 26k stars), Memori Long-Term Memory (MemoriLabs/Memori, 17k stars), Picoclaw Skill Creator (sipeed/picoclaw, 30k stars) and ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
daymade (a GitHub user) maintains it in daymade/claude-code-skills, which has 1,443 GitHub stars. The repository holds 102 skills in this directory. The repository was last updated on October 7, 2026.
Source: daymade/claude-code-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.