Second Opinion
peterkrueck/Claude-Code-Development-Kit
Get a second opinion from OpenAI's Codex CLI running locally.
A skill your agent uses when Claude Code needs a second opinion, verification, or deeper research on technical matters.
$ npx skills add cathrynlavery/codex-skill --skill codex -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cathrynlavery/codex-skill codex --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cathrynlavery/codex-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex .claude/skills/codex && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codex" agent skill from https://github.com/cathrynlavery/codex-skill/tree/main/skills/codex into .claude/skills/codex/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cathrynlavery/codex-skill/tree/main/skills/codexType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cathrynlavery/codex-skill --skill codex -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cathrynlavery/codex-skill codex --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cathrynlavery/codex-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/codex .agents/skills/codex && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codex" agent skill from https://github.com/cathrynlavery/codex-skill/tree/main/skills/codex into .agents/skills/codex/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cathrynlavery/codex-skill --skill codex -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cathrynlavery/codex-skill codex --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cathrynlavery/codex-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/codex .cursor/skills/codex && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codex" agent skill from https://github.com/cathrynlavery/codex-skill/tree/main/skills/codex into .cursor/skills/codex/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cathrynlavery/codex-skill.git --path skills/codex--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cathrynlavery/codex-skill --skill codex -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cathrynlavery/codex-skill codex --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cathrynlavery/codex-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/codex .gemini/skills/codex && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codex" agent skill from https://github.com/cathrynlavery/codex-skill/tree/main/skills/codex into .gemini/skills/codex/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cathrynlavery/codex-skill codexInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cathrynlavery/codex-skill --skill codex -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cathrynlavery/codex-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/codex .github/skills/codex && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codex" agent skill from https://github.com/cathrynlavery/codex-skill/tree/main/skills/codex into .github/skills/codex/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cathrynlavery/codex-skill --skill codex -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cathrynlavery/codex-skill codex --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cathrynlavery/codex-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/codex .opencode/skills/codex && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codex" agent skill from https://github.com/cathrynlavery/codex-skill/tree/main/skills/codex into .opencode/skills/codex/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codexA skill your agent uses when Claude Code needs a second opinion, verification, or deeper research on technical matters.
Codex is an agent skill from cathrynlavery/codex-skill. Use when Claude Code needs a second opinion, verification, or deeper research on technical matters. This includes researching how a library or API works, confirming implementation approaches, verifying technical assumptions, understanding complex code patterns, or getting alternative perspectives on architectural decisions. The agent leverages the Codex CLI to provide independent analysis and validation, and can implement changes when the user explicitly asks Codex to edit or fix code.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Give Claude Code a second opinion using OpenAI Codex - automatic plan review via hooks. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit df30703. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
codexrggitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codex loads about 2.4k tokens when it runs. Until then it costs about 124 tokens; SKILL.md has 997 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cathrynlavery/codex-skill at commit df30703, republished under its MIT licence (© cathrynlavery). 997 words, ~2,390 tokens.
.claude/skills/codex/SKILL.md (or your agent's skills folder).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-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5)-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 Astra, the GPT-5.6 family, and GPT-5.5. 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-5.6-sol — reliable agentic workhorse for everyday tasks. Supports low through ultra reasoning and defaults to medium.gpt-5.6-terra — balanced agentic coding model for everyday work. Supports low through ultra reasoning and defaults to medium.gpt-5.6-luna — fast and affordable agentic coding model. Supports low through max reasoning and defaults to medium.gpt-5.5 — proven previous-generation model for coding and general work. Supports low through xhigh reasoning and defaults to xhigh.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-5.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:
© cathrynlavery, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/codex of cathrynlavery/codex-skill.
Open the folder on GitHubat commit df30703
Codex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codex this skillcathrynlavery/codex-skill | 219 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Second Opinionpeterkrueck/Claude-Code-Development-Kit | 1.4k | — | ~2.4k | Automated safety check: Warn | MIT | |
| The Second Opinionmohitagw15856/pm-claude-skills | 1.4k | — | ~916 | Automated safety check: Pass | MIT | |
| Second Opinion Code Reviewtrailofbits/skills | 7.5k | — | ~1.3k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Second Opinion Requestmohitagw15856/pm-claude-skills | 1.4k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Second Opinion Geminipeterkrueck/Claude-Code-Development-Kit | 1.4k | — | ~2.3k | Automated safety check: Warn | MIT |
peterkrueck/Claude-Code-Development-Kit
Get a second opinion from OpenAI's Codex CLI running locally.
mohitagw15856/pm-claude-skills
Deliberately take the opposite position from your leaning and make you defend yours — a forced second opinion that isn't just an echo.
trailofbits/skills
Runs an independent review of uncommitted changes, a branch diff or one commit through the Codex or Antigravity CLI, or both, and reports their findings.
mohitagw15856/pm-claude-skills
Get a second medical opinion without torching the first relationship — when it's warranted, how to raise it with the current doctor, the records package the consulting doctor needs, and how to weigh…
peterkrueck/Claude-Code-Development-Kit
Get a second opinion from Google's Gemini Pro via the locally installed Gemini CLI (defaults to gemini-3.1-pro-preview; override with the CLAUDESECONDOPINIONMODEL env var).
ccplugins/awesome-claude-code-plugins
Suggests a cross-model second opinion after substantial or risky code changes.
A skill your agent uses when Claude Code needs a second opinion, verification, or deeper research on technical matters. Codex is an agent skill from cathrynlavery/codex-skill. Use when Claude Code needs a second opinion, verification, or deeper research on technical matters.
Codex fits situations like: Claude Code needs a second opinion; deeper research on technical matters; explicitly asks Codex to edit.
Run `npx skills add cathrynlavery/codex-skill --skill codex -a claude-code`. Or copy the skill folder (skills/codex in cathrynlavery/codex-skill) into .claude/skills/codex in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cathrynlavery/codex-skill --skill codex -a codex`. Or copy the skill folder (skills/codex in cathrynlavery/codex-skill) into .agents/skills/codex in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cathrynlavery/codex-skill --skill codex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex, .gemini/skills/codex, .github/skills/codex and .opencode/skills/codex in your project.
Going by SKILL.md and its folder, Codex needs the command-line tools its instructions call (codex, rg and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Codex is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Codex: Second Opinion (peterkrueck/Claude-Code-Development-Kit, 1.4k stars), The Second Opinion (mohitagw15856/pm-claude-skills, 1.4k stars), Second Opinion Code Review (trailofbits/skills, 7.5k stars) and Second Opinion Request (mohitagw15856/pm-claude-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cathrynlavery (a GitHub user) maintains it in cathrynlavery/codex-skill, which has 219 GitHub stars. The repository was last updated on September 20, 2026.
Source: cathrynlavery/codex-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.