codex

A collaboration skill for using Claude with OpenAI Codex through an MCP server or the Codex command-line tool. It defines how to start sessions, continue them, review code, and check available sessions.

In plain words
What is it for?
Use it for solo implementation followed by Codex review, pair-programming workflows, edge-case checks, and continuing existing Codex sessions when the required connection is configured.
Why use it?
It sets clear roles and prerequisites for delegating implementation or review work between the two coding assistants.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ggombee/code-forge/codex
Any agent
npx skills add ggombee/code-forge --skill codex
Clone the repo
git clone --depth 1 https://github.com/ggombee/code-forge

Made for: Claude Code, Codex.

Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00023 $0.01536
Opus 5 $0.00012 $0.00768
Sonnet 5 $0.00005 $0.00307
Haiku 4.5 $0.00002 $0.00154

Measured yesterday against content hash df35a61dad62, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex 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 yesterday.

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.

skills/codex/SKILL.md · 194 lines

How it starts

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

Codex Pair Programming

Claude + OpenAI Codex 협업 스킬. MCP 서버 설정 시에만 사용 가능. OpenAI 공식 codex 플러그인(/codex:review 등)과의 역할 분리: docs/codex-coexistence.md


Prerequisites (전제 조건)

이 스킬은 codex MCP 서버가 설정된 경우에만 사용 가능합니다.

자동 감지 및 안내

스킬 실행 시 아래 순서로 확인한다:

  1. mcp__codex__codex 도구가 사용 가능한가? → MCP 모드로 진행
  2. which codex 실행 가능한가? → CLI Headless 모드로 진행
  3. 둘 다 불가 → 설정 안내 표시 후 종료:
Codex가 설정되어 있지 않습니다.

설정 방법은 docs/codex-mcp-setup-guide.md 를 참조하세요.
빠른 설정:
  1. codex CLI 설치: brew install openai-codex
  2. 인증: codex login
  3. .mcp.json에 MCP 서버 등록
  4. Claude Code 재시작

설정 가이드: @${CLAUDE_PLUGIN_ROOT}/docs/codex-mcp-setup-guide.md

설정 미완료 시 → 위 안내를 표시하고 스킬을 종료한다. 자동으로 설치를 강요하지 않는다.


MCP 도구

도구 용도 주요 파라미터
codex 새 작업 시작 dir, session_id, model, reasoning_effort
codex_reply 기존 세션 이어서 작업 session_id, 이전 컨텍스트 유지
codex_review 코드 리뷰 uncommitted 변경, 브랜치, 특정 커밋
list_sessions 활성 세션 목록 -
ping 서버 상태 확인 -

협업 모드

Mode 1: Solo+Review (기본)

Claude가 구현하고, Codex가 리뷰한다. 1-2개 파일 변경에 적합.

Claude: 코드 구현
  ↓
Codex (codex_review): 코드 리뷰, 엣지케이스 검증
  ↓
Claude: 피드백 반영

적합한 경우:

  • 단순 기능 추가/수정
  • 빠른 피드백이 필요할 때
  • 코드 품질 더블체크

Mode 2: Sequential (순차 협업)

Claude가 설계하고, Codex가 구현 + 테스트한다.

Claude: 아키텍처 설계, 인터페이스 정의
  ↓
Codex (codex): 구현 + 테스트 작성
  ↓
Claude: 결과 검증, 통합

적합한 경우:

  • 설계와 구현이 분리 가능한 작업
  • 테스트 커버리지가 중요한 작업

Mode 3: Parallel (병렬 협업)

Claude와 Codex가 서로 다른 파일을 동시에 작업한다.

Claude: 창의적/아키텍처 작업 (컴포넌트 설계, 상태 관리)
Codex (codex): 정밀 작업 (유틸 함수, 타입 정의, 테스트)

적합한 경우:

  • 대규모 작업에서 병렬 처리
  • 파일 수정 범위가 겹치지 않을 때

역할 분담

역할 Claude Codex
아키텍처 설계 O -
창의적 문제 해결 O -
꼼꼼한 구현 - O
엣지케이스 검증 - O
코드 리뷰 O O
테스트 작성 O O

금지 사항

금지 이유
MCP 미설정 상태에서 사용 도구 없이 시뮬레이션 금지
동일 파일 동시 수정 충돌 방지
Codex 출력 무검증 수용 반드시 결과 확인 후 반영
MCP 미설정 사용자에게 설치 강요 opt-in 원칙

Read the full file on GitHub · 194 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. yesterday First seen · 194 lines · 23 tokens per session scan A df35a61dad62

Subscribe to this mod's changes

codex is a skill published in the GitHub repository ggombee/code-forge (13 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 1,536 once invoked, about $0.0001 per session on Opus 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.