codex-claude-pm
Skill7 starsChanged 5 months agoMITView on GitHub
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.
In this repository129 other files it gives its agents.
- last30days-skill/AGENTS.mdAGENTS.md
- tutor/AGENTS.mdAGENTS.md
- vercel-labs-skills/AGENTS.mdAGENTS.md
- baoyu-skills/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- claude-to-im-skill/CLAUDE.mdCLAUDE.md
- html-video/CLAUDE.mdCLAUDE.md
- last30days-skill/CLAUDE.mdCLAUDE.md
- ui-ux-pro-max-skill/CLAUDE.mdCLAUDE.md
- academic-research-skillsSkill
- agency-agents-zhSkill
- algorithmic-artSkill
- animation-craftSkill
- apple-designSkill
- archifySkill
- architecture-diagramSkill
- article-posterSkill
- baokuan-title-generatorSkill
- baoyu-skillsSkill
- brand-workshopSkill
- canvas-designSkill
- cc-dispatchSkill
- claude-to-imSkill
- code-reviewSkill
- code-simplifierSkill
- comprehensive-thinkingSkill
- context7Skill
- creator-buddySkill
- dashi-pptSkill
- dbskillSkill
- design-buddySkill
- dog-frontierSkill
- dog-posterSkill
- dog-pptSkill
- Dog-Project-EvaluateSkill
- dog-tutorSkill
- emil-design-engSkill
- excalidraw-diagramSkill
- family-doctorSkill
- feynman-learningSkill
- fireworks-tech-graphSkill
- first-principlesSkill
- ghostwriterSkill
- gpt-researcherSkill
- handshakeSkill
- html-videoSkill
- huashu-agent-swarmSkill
- huashu-article-editSkill
- huashu-article-to-xSkill
- huashu-data-proSkill
- huashu-designSkill
- huashu-douyin-scriptSkill
- huashu-image-uploadSkill
- huashu-info-searchSkill
- huashu-material-searchSkill
- huashu-md-to-pdfSkill
- huashu-prompt-saveSkill
- huashu-proofreadingSkill
- huashu-researchSkill
- huashu-script-polishSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. About 0 are common, 19 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to make Codex the planner, reviewer, and final owner while Claude Code performs the implementation work.
- Distinctive: line 17
Check the current working directory, git status, relevant files, package scripts, and existing tests.
- Very specific: line 18
Prefer rg and targeted file reads.
- Distinctive: line 19
If the worktree is dirty, note user changes and avoid overwriting unrelated edits.
- Distinctive: line 23
Keep Codex-local work when the task is mainly product judgment, architecture choice, security review, small surgical edit, or high-risk …
- Very specific: line 25
Read references/dependencies.md when the task depends on external tools, credentials, project services, generated assets, or multi-step …
- Distinctive: line 27
Write a Task Package.
- Very specific: line 35
Read references/review-checklist.md when the task has meaningful risk.
- Distinctive: line 36
Ensure Claude Code can act without follow-up questions.
- Distinctive: line 37
Prefer smaller, verifiable tasks over one broad prompt.
- Very specific: line 41
If the local CLI is available, use scripts/Invoke-ClaudeDispatch.ps1.
- Distinctive: line 42
If the CLI is unavailable or blocked by login, output the Task Package for manual paste into Claude Code.
- Very specific: line 43
Prefer non-interactive Claude Code mode: claude -p.
- Very specific: line 44
Use foreground for small bounded tasks.
- Distinctive: line 48
Read Claude Code's Completion Report.
- Distinctive: line 51
Run the requested tests yourself when feasible.
- Distinctive: line 52
Check that all acceptance criteria are actually satisfied.
- Distinctive: line 57
If Claude Code exposes unrelated failures, record them separately instead of silently expanding scope.
- Very specific: line 58
Read references/evaluation.md when judging whether this skill itself worked well on the task.
- Distinctive: line 62
Use the bundled script from the repository root or target project root:
- Distinctive: line 125
Before the first real dispatch in a project, run:
- Distinctive: line 137
Put "do not change" constraints in the Task Package, especially public APIs, unrelated files, migrations, lockfiles, generated files, and …
- Distinctive: line 140
Run independent verification from Codex after Claude Code returns.
- Very specific: line 141
Prefer acceptEdits or auto over bypassPermissions unless the project is isolated and trusted.
- Distinctive: line 142
Use a fresh branch or worktree for large tasks.
- Distinctive: line 143
If a completion report says tests failed because of pre-existing issues, verify that claim with targeted commands before accepting.
- Very specific: line 147
Use references/evaluation.md to score the skill after real tasks.
- Very specific: line 149
Read references/codex-plugin-cc-study.md when changing the dispatcher architecture.
- Distinctive: line 153
When automatic CLI dispatch is not appropriate, respond with:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Orient in the repository.
- Check the current working directory, git status, relevant files, package scripts, and existing tests.
- Prefer
rgand targeted file reads. Avoid broad rewrites before understanding local patterns. - If the worktree is dirty, note user changes and avoid overwriting unrelated edits.
- 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.mdwhen the task depends on external tools, credentials, project services, generated assets, or multi-step task ordering.
- 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.
- Use
- Quality-check the Task Package before sending.
- Read
references/review-checklist.mdwhen 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.
- Read
- 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
-Backgroundfor 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.
- If the local CLI is available, use
- Verify the result.
- Read Claude Code's Completion Report.
- For background work, use
scripts/Get-ClaudeDispatchRun.ps1to check status and fetch the result. - Inspect
git diff --statand targetedgit difffor modified files. - Run the requested tests yourself when feasible.
- Check that all acceptance criteria are actually satisfied; do not trust PASS labels alone.
- 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.mdwhen 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 -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Invoke-ClaudeDispatch.ps1 `
-TaskPackagePath .\.codex-claude-pm\tasks\TASK-APP-001.md `
-WorkingDirectory . `
-PermissionMode acceptEdits `
-OutputFormat textUseful modes:
# 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 -ExecutionPolicy Bypass -File .\codex-claude-pm\scripts\Invoke-ClaudeDispatch.ps1 `
-TaskPackagePath .\.codex-claude-pm\tasks\TASK-APP-001.md `
-WorkingDirectory . `
-BackgroundInspect runs:
# 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-abc123This 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 -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
acceptEditsorautooverbypassPermissionsunless 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:
- The Task Package to paste into Claude Code.
- The exact target working directory.
- The expected Completion Report format.
- 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 fromopenai/codex-plugin-cc.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

