A Claude Code plugin that provides a skill for seamless OpenAI Codex CLI integration with GPT-5.2 high-reasoning capabilities.
Philosophy: Codex = Brain (thinking), Claude = Hands (implementation)
cc-skill-codex is a Claude Code plugin that contains the codex skill. When you install this plugin, you get access to the skill that enables Codex CLI integration.
- Marketplace name:
cc-skill-codex-marketplace - Plugin name:
cc-skill-codex - Full plugin identifier:
cc-skill-codex@cc-skill-codex-marketplace - Skill name:
codex - Installation: Via Claude Code marketplace (installs the plugin, which includes the skill)
cc-skill-codex/ # Plugin root
├── .claude-plugin/ # Plugin metadata
│ ├── plugin.json # Plugin configuration
│ └── marketplace.json # Marketplace configuration
├── README.md # This file - installation and usage guide
├── LICENSE # Apache 2.0 license
└── skills/ # Skills provided by this plugin
└── codex/ # The "codex" skill
├── SKILL.md # Main skill definition (loaded by Claude Code)
└── references/ # Reference documentation (for users)
├── command-patterns.md # Design → Implementation workflows
├── session-workflows.md # Session continuation patterns
├── troubleshooting.md # Error solutions and debugging
├── codex-config.md # Complete configuration reference
├── codex-help.md # Codex CLI v0.77 help reference
└── advanced-patterns.md # Advanced options
How it works:
- You add the marketplace (
cc-skill-codex-marketplace) from GitHub - You install the plugin (
cc-skill-codex) from the marketplace - The plugin provides the skill (
codex) - Claude Code loads
skills/codex/SKILL.mdwhen the skill is invoked - All other files are documentation for users
-
Codex CLI installed and authenticated:
codex --version # v0.77+ codex login -
Claude Code installed and running
-
Add the marketplace to Claude Code:
/plugin marketplace add wywwzjj/cc-skill-codex
-
Open plugin management:
/plugin
-
Select "Browse Plugins" to view available plugins
-
Find and select cc-skill-codex
-
Choose the installation option
# 1. Add the marketplace
/plugin marketplace add wywwzjj/cc-skill-codex
# 2. Install the plugin
/plugin install cc-skill-codex@cc-skill-codex-marketplaceAfter installation, verify the skill is working:
> Use Codex to design a binary search tree in Rust
The skill will invoke Codex CLI with GPT-5.2 high-reasoning capabilities.
# Check if Codex CLI is installed
codex --version # Requires v0.77+
# If not installed, follow OpenAI's installation instructions
# https://developers.openai.com/codex/cli/installation
# Authenticate with your OpenAI account
codex loginAdd the GitHub marketplace to Claude Code:
/plugin marketplace add wywwzjj/cc-skill-codexThis registers the marketplace so Claude Code knows where to find the plugin.
Option A: Interactive Menu (Recommended)
-
Open plugin management:
/plugin
-
Select "Browse Plugins"
-
Find "cc-skill-codex" and install it
Option B: Direct Command
/plugin install cc-skill-codex@cc-skill-codex-marketplaceNote: The full identifier is cc-skill-codex@cc-skill-codex-marketplace where:
cc-skill-codex= plugin namecc-skill-codex-marketplace= marketplace name (from marketplace.json)
Check the plugin is installed:
/pluginSelect "Manage Plugins" to see cc-skill-codex in your list.
Design request (Codex thinks, Claude implements):
> Use Codex to design a REST API for a blog system
Codex will:
- Execute:
codex exec -m gpt-5.2-codex -s read-only -c model_reasoning_effort=high -c hide_agent_reasoning=true "Design a REST API..." - Provide high-level architecture, endpoint design, data models
- Session auto-saved for continuation
Then implement with Claude:
> Implement the user authentication endpoint based on Codex's design
Claude will implement the code using Codex's design.
Review request:
> Use Codex to review this authentication code for security issues
Codex will:
- Analyze with high reasoning (read-only mode)
- Identify vulnerabilities and best practice violations
- Provide improvement recommendations
Then fix with Claude:
> Fix the security issues in auth.py:45-67 as Codex suggested
Follow-up request:
> Continue with that API - add error handling
Codex will:
- Execute:
codex exec -m gpt-5.2-codex -c hide_agent_reasoning=true resume --last "Add comprehensive error handling to the API" - Resume with full context from previous session
- Build on previous design decisions
Why this matters: Codex sessions persist across Claude Code restarts - you can resume days later with full context.
Debug request:
> Use Codex to analyze why my queue implementation deadlocks under high concurrency
Codex will:
- Perform deep reasoning analysis
- Identify root cause and race conditions
- Suggest debugging approach and fixes
Then implement fix with Claude:
> Apply the fix Codex suggested at lines 23-45
- Codex = Brain: Design, architecture, code review, debug analysis (read-only)
- Claude = Hands: Implementation, refactoring, file modifications
- Explicit: "Use Codex to design...", "Use Codex to review..."
- Keywords: Mention "Codex" to explicitly trigger the skill
- Best practice: Be explicit about what you want Codex to do
- gpt-5.2 (default): General reasoning, architecture design, code review
- gpt-5.2-codex: Code editing tasks (rare - usually let Claude implement)
- Default reasoning: High reasoning effort for maximum quality
- Keywords: "continue", "resume", "add to that", "keep going"
- Persistence: Sessions survive Claude Code restarts
- Long-term context: Resume projects days or weeks later with full history
| Task | Use Codex? | Example |
|---|---|---|
| Design architecture | ✅ Yes | "Use Codex to design a caching layer" |
| Review security | ✅ Yes | "Use Codex to review for vulnerabilities" |
| Debug analysis | ✅ Yes | "Use Codex to analyze this deadlock" |
| Implement code | ❌ No | Let Claude implement based on Codex's design |
| Refactor code | ❌ No | Let Claude refactor based on Codex's review |
For detailed information, see:
skills/codex/SKILL.md- Main skill documentationskills/codex/references/command-patterns.md- Design → Implementation workflowsskills/codex/references/session-workflows.md- Session continuation examplesskills/codex/references/troubleshooting.md- Error solutions and debuggingskills/codex/references/codex-config.md- Configuration reference
License: Apache 2.0 Version: 2.0.0 Codex CLI: v0.77+ Philosophy: Codex = Brain (thinking), Claude = Hands (implementation)