codex-consult
Get a second opinion from OpenAI Codex on documents, specs, or plans. Use for cross-AI consultation on any content, not just code diffs.
npx skills add majiayu000/claude-skill-registry --skill codex-consult --agent codex
Same command for any agent — swap --agent for claude-code, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Codex Consult Invoke OpenAI's Codex CLI to review a document or plan, with instructions to research relevant topics before providing feedback. ## When to Use - You want a second opinion on a generated spec, plan, or document - Cross-model consultation on non-code content (specs, plans, configs) - Generation commands (`/product-spec`, `/technical-spec`, etc.) invoke this automatically - You want Codex to research current documentation before evaluating content **For code diff reviews**, use `/codex-review` instead. ## Prerequisites - Codex CLI installed (`codex --version` works) - Valid OpenAI authentication (`codex login` completed) ## Arguments | Argument | Example | Description | |----------|---------|-------------| | `FILE` | `PRODUCT_SPEC.md` | Document to consult on (first positional arg) | | `focus` | `completeness` | Focus consultation on specific area | | `--upstream FILE` | `--upstream PRODUCT_SPEC.md` | Reference document to check alignment against | | `--research TOPICS` | `--research "Supabase, NextAuth"` | Explicit technologies for Codex to research | | `--model MODEL` | `--model gpt-5.2` | Use specific model (overrides config) | ## Workflow Copy this checklist and t
- When to Use
- Prerequisites
- Arguments
- Workflow
- Step 1: Verify Codex CLI
- Check if Running Inside Codex
- Check Codex CLI Installed
- Check Authentication
- Read Configuration
- Select Model
- Step 2: Read Document Content
- Step 3: Generate Consultation Prompt
- Step 4: Invoke Codex
- Safety Guard (prevent accidental commits)
Codex sets CODEX_SANDBOX when running if [ -n "$CODEX_SANDBOX" ]; then echo "RUNNING_IN_CODEX" fi codex --version codex login status Read model from config (codexConsult with fallback to codexReview) if [ -n "$EXPLICIT_MODEL" ]; then else Read the document under review
What does the codex-consult skill do?
Get a second opinion from OpenAI Codex on documents, specs, or plans. Use for cross-AI consultation on any content, not just code diffs.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill codex-consult --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
