Codex CLI Bridge
A skill that turns your CLAUDE.md into AGENTS.md and wraps OpenAI Codex CLI calls so Claude Code and Codex work together.
Dev & CodingIntermediate★ 856⑂ 171AI score 8/10Last updated: Nov 12, 2025
What it does
- Scans
CLAUDE.mdplus.claude/skills,.claude/agents, anddocumentation/to generate an AGENTS.md using file-path references instead of duplicated content. - Provides Codex CLI execution rules: analysis with
gpt-5+read-onlysandbox, edits withgpt-5-codex+workspace-write, optional web search, and session resume. - Enforces always
codex exec, avoiding the classic "stdout is not a terminal" failure. - Documents each Claude Skill for Codex users (prompt-reference vs. direct Python script execution).
Who it's for
- Developers and teams running both Claude Code and OpenAI Codex CLI.
- Repos shared across multiple AI coding agents.
- Anyone standardizing on the AGENTS.md specification.
Examples
- "Generate AGENTS.md for this project" → verifies Codex CLI → parses CLAUDE.md → writes AGENTS.md at the repo root.
- "Use Codex to analyze this codebase for security vulnerabilities" → runs
codex exec -m gpt-5 -s read-only .... - "Use Codex to refactor main.py for better async patterns" → runs
codex exec -m gpt-5-codex -s workspace-write ..., thencodex exec resume --lastto continue.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/alirezarezvani/claude-code-skill-factory/HEAD/generated-skills/codex-cli-bridge/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the generated-skills/codex-cli-bridge folder from the GitHub repo alirezarezvani/claude-code-skill-factory into my ~/.claude/skills/codex-cli-bridge/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/alirezarezvani/claude-code-skill-factory.git /tmp/ccsf && cp -r /tmp/ccsf/generated-skills/codex-cli-bridge ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Install Codex CLI and verify:
codex --version(v0.48.0 or newer recommended). - Authenticate:
codex login. - Clone the repo:
git clone https://github.com/alirezarezvani/claude-code-skill-factory.git - Copy the skill:
cp -r claude-code-skill-factory/generated-skills/codex-cli-bridge ~/.claude/skills/ - Confirm
SKILL.mdand the Python helper scripts are present:ls ~/.claude/skills/codex-cli-bridge - Restart Claude Code and try "Generate AGENTS.md for this project".
- If the project has no
CLAUDE.md, run/initfirst.
View source on GitHub ↗License: MIT