From codex-cli
Route Codex CLI work across local CLI inspection, non-interactive exec/review automation, plugin and MCP management, doctor/debug/sandbox/app-server diagnostics, session log forensics, and Codex app local environment actions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex-cli:codex-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the user asks to operate, diagnose, automate, wrap, or
Use this skill when the user asks to operate, diagnose, automate, wrap, or
explain the Codex CLI, including codex, codex exec, codex review,
codex doctor, codex mcp, codex plugin, codex sandbox, codex debug,
codex app-server, codex remote-control, codex resume, codex fork,
codex archive, or local Codex app Run actions.
From this skill directory, the plugin root is ../...
Prefer live local facts over memory. Inspect the installed CLI before building commands or debugging version-sensitive behavior:
python3 ../../scripts/codex_cli_inspector.py --json
If the user supplies a Codex executable path, use it for the current run:
python3 ../../scripts/codex_cli_inspector.py --codex "$CODEX_CLI_PATH" --json
Do not commit personal absolute paths into source files, manifests, docs, or
examples. Use CODEX_CLI, PATH, ~/.codex, $CODEX_HOME, or user-provided
runtime arguments instead.
codex exec resume, or code review commands: use codex-exec-automation.codex-plugin-mcp-manager.codex-doctor-debugger.codex-log-reader..codex/environments/environment.toml, Codex app Run/Test/Preview actions, startup commands, long-running dev servers, or repeatable local project actions: use codex-environments.If several apply, start with health/surface inspection, then choose the narrow
workflow skill. For a failing non-interactive run, inspect the command with
codex-exec-automation, then use codex-log-reader only if session evidence is
needed.
--dangerously-bypass-approvals-and-sandbox, --dangerously-bypass-hook-trust, and --yolo as high-risk. Use them only when the user explicitly selected an external sandbox or hardened automation boundary.--sandbox workspace-write --ask-for-approval on-request for ordinary local coding work.--sandbox read-only --ask-for-approval never for read-only non-interactive checks.logout, destructive plugin/MCP removal, archive/unarchive, app-server listeners, remote-control start/stop, feature enable/disable, or marketplace upgrade/remove without a clear target and user intent.Use this precedence for current CLI behavior:
codex path or CODEX_CLI.codex --help and subcommand help.codex doctor --json or compact doctor output.openai/codex repository for implementation-level clues.When local help and docs disagree, trust local help for the installed binary and say that the docs may describe a different version.
A Codex CLI task is done when the answer includes the exact command or source
change, the safety mode chosen, the cwd/config assumptions, and proof appropriate
to the request: inspector output, --help evidence, doctor output, log-reader
summary, environment TOML parse, script syntax check, plugin/MCP list output, or
a clearly reported blocker.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub xopoko/plug-n-skills --plugin codex-cli