skills/cli-agents/codex-cli-install/SKILL.md
A three-part Codex CLI setup skill with subskills for installation, skip-login configuration, and custom API-key launcher setup. Use when the user wants Codex CLI installed or configured on the current host, with instructions adapted to the actual operating system and runtime environment.
npx skillsauth add igamenovoer/magic-context codex-cli-installInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Invoke this skill explicitly by name ($codex-cli-install) because it modifies the local host environment.
scripts/*.ps1; if the user needs a double-clickable entrypoint, use the matching scripts/*.bat wrapper.scripts/*.sh.scripts/ as optional accelerators and reference implementations, not the only path.references/, infer the required actions, and execute an environment-appropriate plan manually.This skill has exactly three subskills.
installation
Install the Codex CLI in the current environment.
Primary guide: references/installation.md
Optional helpers: scripts/install-comp.sh, scripts/install-comp.ps1, scripts/install-comp.bat
skip-login-config
Configure Codex to use a custom provider in config.toml with requires_openai_auth = false, so it no longer relies on the built-in login flow.
Primary guide: references/skip-login-config.md
Optional helpers: scripts/config-skip-login.sh, scripts/config-skip-login.ps1, scripts/config-skip-login.bat
add-custom-api-key
Create a custom alias, function, or optional launcher that injects an OpenAI-compatible API key and base URL, and wires Codex to the matching provider configuration.
Primary guide: references/add-custom-api-key.md
Optional helpers: scripts/config-custom-api-key.sh, scripts/config-custom-api-key.ps1, scripts/config-custom-api-key.bat
installation.skip-login-config.codex-openai-proxy, a custom base URL, or a custom API key, use add-custom-api-key.installation, then skip-login-config, then add-custom-api-key.For each subskill:
references/ first.scripts/ only if it matches the environment and clearly reduces work.codex-openai-proxy alias that reads the key from an environment variable."references/installation.mdreferences/skip-login-config.mdreferences/add-custom-api-key.mdscripts/data-ai
Create readable Mermaid diagrams inside Markdown files. Use for flowcharts and sequence diagrams that must render cleanly in common Markdown renderers (e.g., GitHub) without horizontal scrolling. Covers fenced mermaid blocks, init/theme styling, label wrapping with <br/>, and sequenceDiagram layout rules (short IDs, wrapped labels, don’t break identifiers).
development
Manual invocation only; use only when the user explicitly requests `make-program-tutorial` by exact name, OR when the user asks to use a skill to create an SDK/API/library tutorial. Create a clear, reproducible, step-by-step tutorial for a specific API/SDK/library (or a set of functions/classes), with runnable examples, expected outputs, and basic troubleshooting.
testing
Use when the user wants to create a self-hosted, offline-installable Conda channel (mirror) containing a specific subset of packages using Pixi.
tools
Guides the agent to setup a new or existing Pixi environment for compiling C++ and CUDA code. It ensures the correct compilers, toolkits, and CMake configurations are in place for a robust user-space build.