Skip to content
Skills Library
AI & agents · Tool integration

codex-cli-install

/codex-cli-install

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.

Licence
MIT
Last repository change
11.05.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
14
Scripts
9
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.05.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 9 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/config-custom-api-key.bat, scripts/config-custom-api-key.ps1, scripts/config-custom-api-key.sh, scripts/config-skip-login.bat, scripts/config-skip-login.ps1, scripts/config-skip-login.sh, scripts/install-comp.bat, scripts/install-comp.ps1

What it does and when to use it

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.

Original author description

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.

How it works

  1. Manual invocation
  2. Core operating rules
  3. Subskills
  4. Subskill selection
  5. How to execute each subskill
  6. Example prompts
  7. Resources
Original SKILL.md headings · 70 lines, 513 words
SKILL.md preview
---
name: codex-cli-install
description: 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.
---

# Codex CLI Install

## Manual invocation

Invoke this skill explicitly by name (`$codex-cli-install`) because it modifies the local host environment.

## Core operating rules

- Detect the host OS first and choose commands accordingly.
- On Windows, prefer the PowerShell helpers in `scripts/*.ps1`; if the user needs a double-clickable entrypoint, use the matching `scripts/*.bat` wrapper.
- On Linux or macOS, prefer the POSIX shell helpers in `scripts/*.sh`.
- Do not mix command styles across OS families.
- If the OS is unclear from context, check it before acting.
- Treat the scripts in `scripts/` as optional accelerators and reference implementations, not the only path.
- Before running a helper script, inspect the actual environment: available shell, available package managers, PATH layout, permission constraints, and existing Codex configuration.
- If a helper script works in the current environment, use it.
- If a helper script fails, do not stop at the script failure. Read the relevant subskill guide under `references/`, infer the required actions, and execute an environment-appropriate plan manually.

## Subskills

This skill has exactly three subskills.

1. `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`

2. `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`

3. `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`

## Subskill selection

- If the user wants Codex installed, use `installation`.
- If Codex is already installed but the user wants to bypass the built-in login flow, use `skip-login-config`.
- If the user wants a wrapper such as `codex-openai-proxy`, a custom base URL, or a custom API key, use `add-custom-api-key`.
- If the user wants a complete setup, run the subskills in this order: `installation`, then `skip-login-config`, then `add-custom-api-key`.

## How to execute each subskill

For each subskill:

1. Read the corresponding file in `references/` first.
2. Detect the OS and shell family.
3. Check which runtime tools are actually available.
4. Prefer the documented manual steps from the reference guide.
5. Use a helper script from `scripts/` only if it matches the environment and clearly reduces work.
6. If the helper script fails, continue by applying the guide manually instead of retrying blindly.
7. Verify the result with the verification section from the corresponding reference guide.

## Example prompts

- "Use the Codex CLI install skill to install Codex on this machine."
- "Use the skip-login subskill so Codex no longer shows its built-in login flow on this host."
- "Use the custom API key subskill to make a `codex-openai-proxy` alias that reads the key from an environment variable."
- "Set up Codex fully, and adapt the steps if the bundled scripts do not work in this environment."

## Resources

- Installation guide: `references/installation.md`
- Skip-login guide: `references/skip-login-config.md`
- Custom API-key guide: `references/add-custom-api-key.md`
- Helper scripts: `scripts/`
Files in this package (14)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB
  • references/add-custom-api-key.md 8 KB
  • references/installation.md 2 KB
  • references/skip-login-config.md 3 KB
  • scripts/config-custom-api-key.bat 1 KB
  • scripts/config-custom-api-key.ps1 5 KB
  • scripts/config-custom-api-key.sh 6 KB
  • scripts/config-skip-login.bat 1 KB
  • scripts/config-skip-login.ps1 3 KB
  • scripts/config-skip-login.sh 3 KB
  • scripts/install-comp.bat 1 KB
  • scripts/install-comp.ps1 2 KB
  • scripts/install-comp.sh 3 KB

Versions

The database has no other skills named codex-cli-install.

Database snapshot: 13.11.2026 · package version 4d34e4418112 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100claude-code-install
    A three-part Claude Code setup skill with subskills for installation, skip-login configuration, and custom API-key launcher setup. Use when the user wants Claude Code installed or configured on the current host, with instructions adapted to the actual operating system and runtime environment.
  • 85codex
    When the user wants the local Codex CLI run or its installation, login, or connected tools changed.
  • 100setup-guide
    Use when the user wants to set up LLM training for the first time, or when training_hub is not yet installed/configured in the current environment.
  • 90Codex CLI Plugins
    This skill should be used when the user asks to "create a Codex plugin", "build a plugin for Codex CLI", "package a Codex skill", "set up a Codex marketplace", "publish a Codex plugin", "configure plugin.json manifest", "add MCP to a Codex plugin", "install a local plugin in…
  • 100working-with-codex
    Use when working with Codex CLI, plugins, skills, hooks, configuration, or any Codex feature - provides comprehensive official documentation for all aspects of the OpenAI Codex CLI
  • 100setup-guide
    Use when the user wants to set up synthetic data generation for the first time, or when sdg_hub is not yet installed/configured in the current environment.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.