codex-setup

Solid

Check Codex CLI, auth, Official plugin status, and configure defaults. Use when asked "codex setup", "configure codex", "install codex", or when another codex-advisor skill reports setup issues.

AI & Automation 48 stars 5 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
56
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Codex Setup & Configuration Preflight check and `~/.codex/config.toml` configuration helper for codex-advisor. ## Mode Selection Parse $ARGUMENTS: | Input | Action | |-------|--------| | `--status` or no args | Run preflight + show current config | | `--model MODEL` | Set default model in config.toml | | `--effort LEVEL` | Set reasoning effort in config.toml | | Combined flags | Apply all settings | ## Preflight Check ### Check Codex CLI ```bash which codex >/dev/null 2>&1 && codex --version || echo "NOT_INSTALLED" ``` If NOT_INSTALLED: "Codex CLI is not installed. Install: `npm install -g @openai/codex`" ### Check Authentication ```bash codex --version 2>&1 ``` If output contains "not authenticated" or "OPENAI_API_KEY": "Authentication required. Run: `codex login`" If version prints normally: auth is likely OK (full verification happens on first real command). ### Check Official Codex Plugin ```bash CODEX_COMPANION=$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-companion.sh") ``` If exit code non-zero (plugin not found), guide the user through the full installation process: 1. Tell the user to run these commands **in order** (they must type these themselves since they are interactive CLI commands): - `/plugin marketplace add openai/codex-plugin-cc` — adds the Official Codex marketplace - `/plugin install codex@openai-codex` — installs the plugin from that marketplace - `/reload-plugins` — activates the newly installed plugin 2. After the user completes th...

Details

Author
LeeJuOh
Repository
LeeJuOh/claude-code-zero
Created
6 months ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category