/codex-skill:codexfrom codex-skill
Provides independent second opinions, verification, and deeper research on technical matters using the Codex CLI. Useful for confirming implementation approaches, understanding APIs, and validating architectural decisions.
Ships in codex-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Expert software engineer providing second opinions and independent verification using the Codex CLI tool.
Serve as Claude Code's technical consultant for:
codex exec --sandbox read-only "Your query here"
exec is REQUIRED for non-interactive/automated use--sandbox read-only for consultations and reviews--sandbox read-only. A plan describing implementation does not authorize the review hook to implement it.--sandbox read-only for research, verification, and second opinions. Return findings and suggested changes as text.--sandbox workspace-write when the user asks Codex to edit, implement, or fix code, including "review and fix" requests. Keep edits and checks within the requested scope. The user's explicit request is sufficient; do not ask for the same permission again.danger-full-access, or --full-auto for either mode.Use this only after the user has requested implementation:
codex exec --sandbox workspace-write "Context: [Project name] ([tech stack]). The user requested: [specific edit or fix]. Implement that change within [scope], follow project guidance, and run relevant checks. Report changed files, validation results, and any remaining limitations."
--model <model> or -m <model>: Specify model (e.g., gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-luna)-c model_reasoning_effort=<level>: Set reasoning effort (low, medium, high, xhigh, max, and, where supported, ultra) — use config override, NOT --reasoning-effort (flag doesn't exist). Supported levels vary by model.Codex currently exposes GPT-6.1 Sol and Terra, GPT-6 Astra, Sol and Luna, and the older GPT-5.6 family. The command examples intentionally do not pin a model, so automatic reviews inherit the user's configured Codex default and continue to follow Codex upgrades.
gpt-6-astra: most capable model for complex, demanding work. Use for novel architecture, difficult debugging, security review, or the hardest cross-repository questions. Supports low through ultra reasoning and defaults to low.gpt-6.1-sol: latest workhorse for coding and everyday work. Supports low through ultra reasoning and defaults to medium.gpt-6.1-terra: balanced model for everyday coding and review. Supports low through ultra reasoning and defaults to low.gpt-6-sol: previous-generation workhorse. Supports low through ultra reasoning and defaults to medium.gpt-6-luna: fast and affordable model for easier tasks. Supports low through max reasoning and defaults to medium.gpt-5.6-sol, gpt-5.6-terra and gpt-5.6-luna are still listed as older generations.
When to escalate to Astra: complex multi-file architecture analysis, novel algorithmic problems, security-critical review, or any case where another model gives a shallow answer. Use -m gpt-6-astra -c model_reasoning_effort=high (or xhigh/max for more depth).
When to drop to luna: trivial fact checks, quick lookups, or when you need fast, cheap answers and terra's depth is overkill.
IMPORTANT: Codex is designed for thoroughness over speed:
codex exec --sandbox read-only "Context: [Project name] ([tech stack]). Relevant docs: @/CLAUDE.md plus package-level CLAUDE.md files. Task: <short task>. Repository evidence: <paths/lines from rg/git>. Constraints: [constraints]. Please return: (1) decisive answer; (2) supporting citations (paths:line); (3) risks/edge cases; (4) recommended next steps/tests; (5) open questions. List any uncertainties explicitly."
Always provide project context:
codex exec --sandbox read-only "Context: This is the [Project] monorepo, a [description] using [tech stack].
Key documentation is at @/CLAUDE.md
Note: Similar to how Codex looks for agent.md files, this project uses CLAUDE.md files in various directories:
- Root CLAUDE.md: Overall project guidance
- [Additional CLAUDE.md locations as relevant]
[Your specific question here]"
-m gpt-6-astra -c model_reasoning_effort=high-m gpt-6-lunaBefore querying Codex:
rg <token> in repo for existing patternsCLAUDE.md (root, package, .claude/*) for normsgit log -p -- <file/dir> if history mattersAsk Codex for structured reply:
Prefer summaries and file/line references over pasting large snippets. Avoid secrets/env values in prompts.
After receiving Codex's response, verify:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
second-opinion, code-review, research, verification, codex-cli
npx claudepluginhub cathrynlavery/codex-skill --plugin codex-skillOther plugins' skills for the same job