collaborating-with-codex

Delegate coding tasks to Codex CLI via a Python bridge with JSON outputs.

4|1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/rongarede/skill-snapshots --skill collaborating-with-codex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: collaborating-with-codex
Source: https://github.com/rongarede/skill-snapshots/tree/main/ai-collaboration/collaborating-with-codex
Command: npx skills add https://github.com/rongarede/skill-snapshots --skill collaborating-with-codex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables Claude to delegate coding tasks to Codex CLI for multi-model collaboration, empowering faster prototyping, debugging, and code reviews by leveraging Codex alongside Claude's orchestration.

Core Features & Use Cases

  • Multi-turn sessions: Maintain context across prompts using SESSION_ID.
  • Sandboxed execution: Supports read-only, workspace-write, and danger-full-access environments to control actions.
  • JSON output: Structured responses suitable for programmatic consumption and integration.
  • Agent role injection: Inject predefined agent roles from ~/.claude/agents/ to steer Codex behavior.
  • Cross-platform compatibility: Handles Windows path escaping and environment differences. Use Case: A developer asks for a feature plan, then iteratively refines code with Codex and Claude, all in a single session.

Quick Start

Use the codex bridge to run a simple prompt and get a structured JSON response:

  • Basic: python3 scripts/codex_bridge.py --cd "/path/to/project" --PROMPT "Analyze the authentication flow"
  • Multi-turn: Start with a session and reuse SESSION_ID for follow-up prompts
  • Agent roles: python3 scripts/codex_bridge.py --cd "/project" --agent planner --PROMPT "Plan the auth module"

Frequently Asked Questions about collaborating-with-codex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Claude with Codex CLI for coding tasks?

You can use Claude with Codex CLI for coding tasks by running a Python-based bridge script that delegates prompts to Codex. This multi-model collaboration enables faster prototyping, debugging, and code reviews by leveraging Codex alongside Claude's orchestration.

How do I maintain context across multiple prompts when collaborating with Codex?

To maintain context across multiple prompts when collaborating with Codex, you can use multi-turn sessions by generating and reusing a SESSION_ID. This allows you to iteratively refine code with Codex and Claude in a single continuous session.

Does the Codex bridge support read-only and full-access sandbox environments?

Yes, the Codex bridge supports read-only, workspace-write, and danger-full-access sandboxed execution environments. This allows you to control the specific actions Codex can perform during a coding session.

How do I inject predefined agent roles into Codex behavior?

You can inject predefined agent roles into Codex behavior by passing the agent parameter with a role defined in the ~/.claude/agents/ directory. This steers Codex behavior according to the specified agent profile.

Can I use the Codex bridge on Windows for multi-model coding collaboration?

Yes, you can use the Codex bridge on Windows for multi-model coding collaboration. The bridge handles Windows path escaping and environment differences to ensure cross-platform compatibility.

What is the output format when delegating coding tasks to Codex CLI?

The output format when delegating coding tasks to Codex CLI is structured JSON. This format is suitable for programmatic consumption and allows easy integration of Codex responses into other development workflows.