codex2cc 是一个 Codex skill,用来建立更省 token 的软件开发工作流:
- Codex 扮演总指挥:负责需求澄清、计划、审查、提示词润色、联网搜索和插件选择。
- Claude Code 扮演执行者:负责写代码、重构、批量修改和本地验证。
codex2cc is a Codex skill for a token-efficient software workflow:
- Codex acts as the commander: requirements, planning, review, prompt polishing, web search, and plugin selection.
- Claude Code acts as the implementer: code writing, refactoring, bulk edits, and local verification.
默认交接方式是“任务包优先”。即使 VS Code 已经安装 Claude Code,这个 skill 也不会假设存在稳定的 CLI、扩展 API 或自动控制通道。Codex 会生成一份可复制的任务包,用户把它粘贴给 Claude Code;Claude Code 完成后,用户再把输出贴回 Codex 审查。
The default handoff is task-packet-first. Even when VS Code has Claude Code installed, this skill does not assume a stable CLI, extension API, or automatic control channel. Codex prepares a copyable task packet that the user can paste into Claude Code, then reviews Claude Code's output when it is pasted back.
推荐使用安装脚本:
Recommended install script:
./install.sh如果脚本没有执行权限,先运行:
If the script is not executable, run:
chmod +x install.sh
./install.sh把 skill 目录复制到你的 Codex skills 目录:
Copy the skill directory into your Codex skills folder:
mkdir -p ~/.codex/skills
cp -R skills/codex2cc ~/.codex/skills/codex2cc如有需要,重启 Codex 让 skill 列表刷新。
Restart Codex if needed so the skill list refreshes.
中文:
使用 $codex2cc,把这个需求整理成给 VS Code Claude Code 的任务包,并评估 DeepSeek v4 是否适合完成。
English:
Use $codex2cc to turn this feature request into a Claude Code task packet, including delegability assessment and verification steps.
任务包是一段完整的 Claude Code 执行 prompt。它包含:
- 目标
- 仓库上下文
- 能力评估
- 实现指令
- 约束和非目标
- 验证命令
- 要求 Claude Code 返回的格式
A task packet is a complete prompt for Claude Code. It includes:
- Objective
- Repository context
- Capability assessment
- Implementation instructions
- Constraints and non-goals
- Verification commands
- Required return format
Claude Code 应返回变更摘要、修改文件、运行过的命令、测试结果、风险和未完成项。
Claude Code should return a summary, changed files, commands run, test results, risks, and anything left undone.
-
Codex 先询问 VS Code 中是否已经安装并可用 Claude Code。
-
Codex 检查仓库,并只澄清会影响实现方向的关键歧义。
-
Codex 生成任务包,并强制包含 Claude Code 能力评估。
-
用户把任务包发送给 Claude Code。
-
用户把 Claude Code 的 diff、日志或总结贴回 Codex。
-
Codex 审查输出;如有需要,生成更小的下一轮任务包。
-
Codex asks whether VS Code already has Claude Code installed and usable.
-
Codex inspects the repository and clarifies only high-impact ambiguity.
-
Codex produces a task packet with a required Claude Code capability assessment.
-
The user sends the task packet to Claude Code.
-
The user pastes Claude Code's diff, logs, or summary back to Codex.
-
Codex reviews the output and prepares a smaller follow-up task packet if needed.
Codex 保留产品判断、架构取舍、外部资料搜索、插件选择和最终审查。Claude Code 处理边界清晰的实现工作。
Codex should keep product judgment, architecture tradeoffs, external research, plugin choice, and final review. Claude Code should handle bounded implementation work.
未来版本可以增加本地 adapter 或 CLI bridge,实现半自动交接;但当前版本刻意从稳定的“可复制任务包”工作流开始。
Future versions may add a local adapter or CLI bridge for semi-automatic handoff, but this repository intentionally starts with the stable copyable-packet workflow.
MIT