惊:OpenAI 官方开源 Codex 插件,Claude Code 用户直接爽用
OpenAI 官方刚开源了 Codex Plugin CC,现在 Claude Code 用户可以直接在工作流中调用 Codex,用 AI 自动审查和修复代码。
核心功能一览
三分钟上手
安装:
/plugin marketplace add openai/codex-plugin-cc /plugin install codex@openai-codex /reload-plugins /codex:setup
立即体验:
# 审查当前代码 /codex:review --background # 检查进度 /codex:status # 看结果 /codex:result
真实场景
快速代码审查:
/codex:review --base main
让 Codex 修 bug:
/codex:rescue investigate why the tests are failing /codex:rescue fix the failing test with minimal patch
深度风险评估:
/codex:adversarial-review --background look for race conditions
关键参数
--background - 后台运行(推荐)
--base main - 与主分支比较
--model gpt-5.4-mini - 指定模型
--effort medium - 处理级别(none / minimal / low / medium / high / xhigh)
--resume - 继续上一个任务
为啥这玩意儿香
官方出品 - OpenAI 亲自维护
无缝集成 - 直接在 Claude Code 里用,不用切换应用
全功能开放 - 审查、修复、深度分析一条龙
后台运行 - 长任务不卡工作流
配置灵活 - 自选模型和处理级别
前置要求
ChatGPT 订阅(含免费版)或 OpenAI API 密钥
Node.js 18.18+
现在就试试吧,一条命令开启 AI 代码审查新时代!