codex-claude-pm
/codex-claude-pm
Codex as product manager and reviewer for delegating coding implementation to Claude Code. Use when the user wants Codex to split software work into precise Task Packages, call or hand off to Claude Code for implementation, review Completion Reports, inspect diffs, run verification, and issue acceptance or change requests. Trigger for requests mentioning Claude Code delegation, saving Codex quota, cc-dispatch, task packages, implementation handoff, PM/reviewer workflow, or Codex supervising another coding agent.
- Author
- zhouyinlong-lab ↗
- Repository
- dog-skills ↗
- Licence
- MIT
- Last repository change
- 30.07.2026
Assessment and security
- Files in this package
- 13
- Scripts
- 4
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 30.07.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 4 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/Get-ClaudeDispatchRun.ps1, scripts/Invoke-ClaudeDispatch.ps1, scripts/Stop-ClaudeDispatchRun.ps1, scripts/Test-ClaudeDispatchPrereqs.ps1
What it does and when to use it
Codex as product manager and reviewer for delegating coding implementation to Claude Code. Use when the user wants Codex to split software work into precise Task Packages, call or hand off to Claude Code for implementation, review Completion Reports, inspect diffs, run verification, and issue acceptance or change requests. Trigger for requests mentioning Claude Code delegation, saving Codex quota, cc-dispatch, task packages, implementation handoff, PM/reviewer workflow, or Codex supervising another coding agent.
Original author description
Codex as product manager and reviewer for delegating coding implementation to Claude Code. Use when the user wants Codex to split software work into precise Task Packages, call or hand off to Claude Code for implementation, review Completion Reports, inspect diffs, run verification, and issue acceptance or change requests. Trigger for requests mentioning Claude Code delegation, saving Codex quota, cc-dispatch, task packages, implementation handoff, PM/reviewer workflow, or Codex supervising another coding agent.
How it works
- Core Rule
- Workflow
- CLI Dispatch
- Dependency Check
- Accuracy Practices
- Evaluation
- Manual Handoff Format
- References
SKILL.md preview
--- name: codex-claude-pm description: Codex as product manager and reviewer for delegating coding implementation to Claude Code. Use when the user wants Codex to split software work into precise Task Packages, call or hand off to Claude Code for implementation, review Completion Reports, inspect diffs, run verification, and issue acceptance or change requests. Trigger for requests mentioning Claude Code delegation, saving Codex quota, cc-dispatch, task packages, implementation handoff, PM/reviewer workflow, or Codex supervising another coding agent. --- # Codex Claude PM Use this skill to make Codex the planner, reviewer, and final owner while Claude Code performs the implementation work. Treat the workflow as an engineering ticket system, not an open-ended chat. ## Core Rule Codex owns correctness. Claude Code may write code, but Codex must still inspect scope, compare against acceptance criteria, and independently verify the result before accepting it. ## Workflow 1. Orient in the repository. - Check the current working directory, git status, relevant files, package scripts, and existing tests. - Prefer `rg` and targeted file reads. Avoid broad rewrites before understanding local patterns. - If the worktree is dirty, note user changes and avoid overwriting unrelated edits. 2. Decide whether to dispatch. - Dispatch to Claude Code when the request is mostly implementation and can be specified with concrete files, constraints, and acceptance criteria. - Keep Codex-local work when the task is mainly product judgment, architecture choice, security review, small surgical edit, or high-risk secret/credential handling. - Split work before dispatch if it touches more than 3 unrelated modules, exceeds about 300 expected changed lines, or has separable dependencies. - Read `references/dependencies.md` when the task depends on external tools, credentials, project services, generated assets, or multi-step task ordering. 3. Write a Task Package. - Use `references/task-package-template.md`. - List precise files and boundaries. - Convert vague intent into numbered executable requirements. - Define mechanical acceptance criteria and exact test commands. - Include a required Completion Report format from `references/completion-report-template.md`. 4. Quality-check the Task Package before sending. - Read `references/review-checklist.md` when the task has meaningful risk. - Ensure Claude Code can act without follow-up questions. - Prefer smaller, verifiable tasks over one broad prompt. - Include a dependency map when execution order, tooling, runtime services, or credentials affect success. 5. Dispatch to Claude Code. - If the local CLI is available, use `scripts/Invoke-ClaudeDispatch.ps1`. - If the CLI is unavailable or blocked by login, output the Task Package for manual paste into Claude Code. - Prefer non-interactive Claude Code mode: `claude -p`. - Use foreground for small bounded tasks; use `-Background` for long-running implementation, broad investigation, or unclear runtime. - Preserve Claude Code stdout as the transport result. Do not rewrite the Completion Report before Codex review. 6. Verify the result. - Read Claude Code's Completion Report. - For background work, use `scripts/Get-ClaudeDispatchRun.ps1` to check status and fetch the result. - Inspect `git diff --stat` and targeted `git diff` for modified files. - Run the requested tests yourself when feasible. - Check that all acceptance criteria are actually satisfied; do not trust PASS labels alone. 7. Decide. - ACCEPT only when requirements, constraints, and tests are satisfied or deviations are explicitly acceptable. - Issue a Change Request when a fix is needed. Use `references/change-request-template.md`. - If Claude Code exposes unrelated failures, record them separately instead of silently expanding scope. - Read `references/evaluation.md` when judging whether this skill itself worked well on the task. ## CLI Dispatch Use the bundled script from the repository root or target project root: ```powershell powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Invoke-ClaudeDispatch.ps1 ` -TaskPackagePath .\.codex-claude-pm\tasks\TASK-APP-001.md ` -WorkingDirectory . ` -PermissionMode acceptEdits ` -OutputFormat text ``` Useful modes: ```powershell # Preview command and write logs without calling Claude Code powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Invoke-ClaudeDispatch.ps1 ` -TaskPackagePath .\.codex-claude-pm\tasks\TASK-APP-001.md ` -DryRun # More autonomous local execution in a trusted sandbox or disposable worktree powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Invoke-ClaudeDispatch.ps1 ` -TaskPackagePath .\.codex-claude-pm\tasks\TASK-APP-001.md ` -PermissionMode auto # Constrain Claude Code to specific tools powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Invoke-ClaudeDispatch.ps1 ` -TaskPackagePath .\.codex-claude-pm\tasks\TASK-APP-001.md ` -AllowedTools "Read","Edit","Bash(npm test*)","Bash(git diff*)" ``` The script writes each run under `.codex-claude-pm/runs/<timestamp>/` with the task package, command metadata, stdout, and stderr. Each run now also writes `status.json` and has a stable Job ID. Background execution: ```powershell powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Invoke-ClaudeDispatch.ps1 ` -TaskPackagePath .\.codex-claude-pm\tasks\TASK-APP-001.md ` -WorkingDirectory . ` -Background ``` Inspect runs: ```powershell # List recent runs powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Get-ClaudeDispatchRun.ps1 -WorkingDirectory . # Show one run result powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Get-ClaudeDispatchRun.ps1 ` -WorkingDirectory . ` -JobId cc-20260706-120000-abc123 ` -Result # Best-effort cancellation of a background run powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Stop-ClaudeDispatchRun.ps1 ` -WorkingDirectory . ` -JobId cc-20260706-120000-abc123 ``` This mirrors the useful part of `openai/codex-plugin-cc`: setup/status/result/cancel are first-class operations, while Codex remains responsible for the final review. ## Dependency Check Before the first real dispatch in a project, run: ```powershell powershell -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Test-ClaudeDispatchPrereqs.ps1 ` -WorkingDirectory . ``` This checks whether `claude` is available, whether the working directory and git state are readable, and whether non-interactive Claude Code can be invoked for basic CLI metadata. ## Accuracy Practices - Make every requirement observable: name the file, function, UI state, API response, or test behavior. - Put "do not change" constraints in the Task Package, especially public APIs, unrelated files, migrations, lockfiles, generated files, and user data. - Include negative cases and boundary cases in acceptance criteria. - Require Claude Code to report exact files changed and test outputs. - Run independent verification from Codex after Claude Code returns. - Prefer `acceptEdits` or `auto` over `bypassPermissions` unless the project is isolated and trusted. - Use a fresh branch or worktree for large tasks. - If a completion report says tests failed because of pre-existing issues, verify that claim with targeted commands before accepting. ## Evaluation Use `references/evaluation.md` to score the skill after real tasks. A good run produces a specific Task Package, a bounded diff, a structured Completion Report, independently verified tests, and either a clear ACCEPT or focused Change Request. Read `references/codex-plugin-cc-study.md` when changing the dispatcher architecture. ## Manual Handoff Format When automatic CLI dispatch is not appropriate, respond with: 1. The Task Package to paste into Claude Code. 2. The exact target working directory. 3. The expected Completion Report format. 4. The verification commands Codex will run after the report returns. ## References - `references/task-package-template.md` - canonical Task Package format. - `references/completion-report-template.md` - required Claude Code response format. - `references/change-request-template.md` - format for follow-up fixes. - `references/review-checklist.md` - pre-dispatch and post-dispatch quality gates. - `references/dependencies.md` - dependency taxonomy and dependency map format. - `references/evaluation.md` - how to judge whether the skill is useful and accurate. - `references/codex-plugin-cc-study.md` - implementation lessons adopted from `openai/codex-plugin-cc`.
Files in this package (13)
- SKILL.md 9 KB
- agents/openai.yaml 1 KB
- references/change-request-template.md 1 KB
- references/codex-plugin-cc-study.md 2 KB
- references/completion-report-template.md 1 KB
- references/dependencies.md 4 KB
- references/evaluation.md 4 KB
- references/review-checklist.md 2 KB
- references/task-package-template.md 3 KB
- scripts/Get-ClaudeDispatchRun.ps1 4 KB
- scripts/Invoke-ClaudeDispatch.ps1 10 KB
- scripts/Stop-ClaudeDispatchRun.ps1 3 KB
- scripts/Test-ClaudeDispatchPrereqs.ps1 4 KB
Versions
The database has no other skills named codex-claude-pm.
Database snapshot: 13.11.2026 · package version 04878009e07b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 5 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100claude-codex-pair
Coordinate Claude Code and Codex on the same software task with one active writer, an independent read-only reviewer, explicit ownership transfers, evidence-based handoffs, and safe use of the official Codex plugin for Claude Code. Use when the user asks Claude and Codex to work… - 90Codex Integration
Use this skill when delegating complex coding tasks to OpenAI Codex CLI and coordinating work between Claude and Codex. - 100codex-delegation
Use when a coding task would benefit from delegating work to Codex in the background — a deep independent second opinion, security or architecture analysis, or a parallel implementation running while the session continues. Lets Claude drive the codex companion itself (task,… - 87implementation-loop
Delegate implementation to Codex or to a sandboxed Claude Code (`claude -p`), have a model from the other vendor review the diff, send it back to iterate, gate on the full test suite, and ship it as a PR. Use this whenever the user wants Codex or a sandboxed Claude to write… - 90delegate
Hand work to other coding agents (Claude Code, Codex, Antigravity, ZCode) and run it, coordinating from whichever one you run in. Use whenever work is split across agents or needs a routing decision: giving a task to another agent, choosing the agent and model for each of… - 100orch-claude-pi-codex
Claude architects and commands, pi workers implement in parallel, codex reviews independently, Claude synthesizes. Use for /orch-claude-pi-codex, multi-file features, parallel implementation that needs a separate reviewer, or when the user asks for the Claude→pi→codex→Claude orchestration pattern.