← ClaudeAtlas

codex-clilisted

Delegate review, implementation, or image generation to the Codex CLI for a second opinion. Use when asking codex.
cskwork/claude-codex-skill · ★ 0 · AI & Automation · score 70
Install: claude install-skill cskwork/claude-codex-skill
# codex-cli Wrap the local `codex` CLI (`codex --version` ≥ 0.128.0) so Claude Code can hand off three kinds of work without leaving the conversation: - **review** — second-opinion code review on a diff - **impl** — non-interactive coding task in a sandbox - **image** — image generation via Codex's built-in `image_gen.imagegen` tool (no API key, ChatGPT login is enough) ## Verify once per session ```bash codex --version # codex-cli ≥ 0.128.0 codex login status # must say "Logged in" ``` If not logged in, tell the user to run `! codex login` from the prompt. Do not log in on their behalf. ## Pick the mode Parse `$ARGUMENTS`. The first token selects the mode (`review | impl | image`); everything after it is the prompt or flags. If the user invoked `/codex-cli` with no subcommand, infer: - mentions "review", "diff", "PR", "second opinion" → review - mentions "image", "picture", "render", "draw", "그려" → image - otherwise → impl State the mode you picked in your reply so the user can correct you. ## Mode: review ```bash codex review --uncommitted # staged + unstaged + untracked codex review --base main # PR-style against base branch codex review --commit <sha> # one specific commit "Focus on concurrency. Skip nits." | codex review --uncommitted - ``` After it returns, paraphrase the findings — do NOT dump raw output. Group by **CRITICAL / HIGH / MEDIUM / LOW** per `~/.claude/rules/common/code-review.md`. Cite `file