codex-cli-bridge

codex-cli-bridge is a skill for Claude Code, Codex from alirezarezvani/claude-code-skill-factory. It costs 41 tokens per session (2,303 once invoked), scanned A, original, MIT.

A compatibility bridge between Claude Code and OpenAI Codex CLI, two tools that let agents work with code from the command line.

In plain words
What is it for?
Use it to create AGENTS.md from CLAUDE.md, expose Claude skills to Codex CLI users, and run Codex analysis or editing commands through helpers.
Why use it?
It keeps project guidance usable across both tools without copying the same documentation into separate files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to create AGENTS.md from CLAUDE.md, expose Claude skills to Codex CLI users, and run Codex analysis or editing commands through helpers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alirezarezvani/claude-code-skill-factory/codex-cli-bridge
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alirezarezvani/claude-code-skill-factory --skill codex-cli-bridge
Clone the repo
git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-cli-bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/alirezarezvani/claude-code-skill-factory/codex-cli-bridge/github.svg)](https://agentmods.dev/skills/alirezarezvani/claude-code-skill-factory/codex-cli-bridge)
Your own site
<a href="https://agentmods.dev/skills/alirezarezvani/claude-code-skill-factory/codex-cli-bridge"><img src="https://agentmods.dev/badge/skills/alirezarezvani/claude-code-skill-factory/codex-cli-bridge/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex-cli-bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/alirezarezvani/claude-code-skill-factory/codex-cli-bridge"><img src="https://agentmods.dev/badge/skills/alirezarezvani/claude-code-skill-factory/codex-cli-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.02303
Opus 5.5 $0.00016 $0.00921
Sonnet 5.5 $0.00008 $0.00461
Haiku 4.5 $0.00004 $0.00230

Measured 1mo ago against content hash 0ec7b025e57e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-cli-bridge scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (agents_md_generator.py, bridge.py, claude_parser.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

generated-skills/codex-cli-bridge/SKILL.md · 349 lines

How it starts

The opening of the file, as written. The whole thing — 349 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex CLI Bridge Skill

Purpose

This skill creates a comprehensive bridge between Claude Code and OpenAI's Codex CLI, enabling seamless interoperability through:

  1. Documentation Translation: Converts CLAUDE.md → AGENTS.md (reference-based, no file duplication)
  2. Execution Helpers: Python wrappers for Codex CLI commands (always uses codex exec)
  3. Skill Documentation: Makes Claude Skills accessible to Codex CLI users

Key Capabilities

1. CLAUDE.md → AGENTS.md Generation

  • Parses CLAUDE.md and project structure
  • Scans .claude/skills/, .claude/agents/, documentation/ folders
  • Generates comprehensive AGENTS.md with file path references
  • Reference-based: No file duplication, only links to existing files
  • Documents Skills with most relevant usage method (bash scripts vs prompt references)

2. Safety Mechanism

  • Auto-checks Codex CLI installation (codex --version)
  • Auto-runs /init if CLAUDE.md missing (with user notification)
  • Validates authentication and environment
  • User-friendly error messages

3. Codex CLI Execution Helpers

  • exec_analysis() - Read-only analysis tasks (gpt-5, read-only sandbox)
  • exec_edit() - Code editing tasks (gpt-5-codex, workspace-write)
  • exec_with_search() - Web search-enabled tasks
  • resume_session() - Continue last Codex session
  • Always uses codex exec (never plain codex - critical for Claude Code)

4. Skill Documentation for Codex CLI

  • Prompt-only skills: Show how to reference in Codex prompts
  • Functional skills: Show how to execute Python scripts directly
  • Complex skills: Show both methods
  • Includes proper codex exec command syntax
  • Model selection guidance (gpt-5 vs gpt-5-codex)

Input Requirements

For AGENTS.md Generation

{
  "action": "generate-agents-md",
  "project_root": "/path/to/project",
  "options": {
    "validate_codex": true,
    "auto_init": true,
    "include_mcp": true,
    "skill_detail_level": "relevant"
  }
}

Read the full file on GitHub · 349 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 349 lines · 41 tokens per session scan A 0ec7b025e57e

Subscribe to this mod's changes

codex-cli-bridge is a skill published in the GitHub repository alirezarezvani/claude-code-skill-factory (889 stars, last pushed 11mo ago), licensed MIT. It adds 41 tokens to every session and 2,303 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skill-builder

Automatically detect source types and build AI skills using Skill Seekers. Use when the user wants to create skills from documentation, repos, PDFs, videos, or other knowledge sources.

yusufkaraaslan/Skill_Seekers · 38 tokens

skill-builder

Automatically detect source types and build AI skills using Skill Seekers. Use when the user wants to create skills from documentation, repos, PDFs, videos, or other knowledge sources.

yusufkaraaslan/Skill_Seekers · 38 tokens

stuck

Diagnoses a broken course setup by reading the folder, so the student never has to describe the problem in English. Takes no argument. Reports which class they are on and which files are filled, then names one blocker and one fix: Claude Code opened at the wrong level, .claude/skills/ missing, skills not loading…

mshadmanrahman/claude-for-designers · 161 tokens

wrap-up

Saves today's work session as a four-line entry (did, decided, open, next) at the top of the project's log.md, after the student confirms it, so a fresh chat can continue tomorrow with /pick-up. Writes to projects/ /log.md or career-vault/log.md, one entry per project touched, never to new-client. Use when the student…

mshadmanrahman/claude-for-designers · 104 tokens

pick-up

Reads the newest entry of a project's log.md and tells the student where they left off: what they did and decided, what is open, and the next step. Takes an optional project name. With several projects and no name, shows a menu of each project's last entry. Read only. Use when the student says pick up, where did I…

mshadmanrahman/claude-for-designers · 93 tokens

grill-me

One move you can run on anything: point grill-me at a target and it makes you defend your thinking from first principles until the true matter is clear. Point it at your working contract and it rewrites the weak lines in place. Point it at a brief and it produces a Requirements Handshake. Point it at research, an…

mshadmanrahman/claude-for-designers · 119 tokens