by softaworks
复杂的代码分析和重构任务需要具有高级推理能力的专业AI模型。此技能使Claude Code能够调用OpenAI Codex CLI,提供对GPT-5.2的访问,其SWE-bench性能达到76.3%,可进行深度代码理解、自动重构和全面的软件工程工作流。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 codex 技能" 开始使用
=== codex 技能 === 作者: softaworks 描述: 复杂的代码分析和重构任务需要具有高级推理能力的专业AI模型。此技能使Claude Code能够调用OpenAI Codex CLI,提供对GPT-5.2的访问,其SWE-bench性能达到76.3%,可进行深度代码理解、自动重构和全面的软件工程工作流。 使用方法: 1. 调用技能: "使用 codex 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 codex 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
safe
Leave a star ⭐ if you like it 😘
Enable Claude Code to invoke the Codex CLI (codex exec and session resumes) for automated code analysis, refactoring, and editing workflows.
codex CLI installed and available on PATH.codex --version; resolve any errors before using the skill.Download this repo and store the skill in ~/.claude/skills/codex
git clone --depth 1 git@github.com:skills-directory/skill-codex.git /tmp/skills-temp && \
mkdir -p ~/.claude/skills && \
cp -r /tmp/skills-temp/ ~/.claude/skills/codex && \
rm -rf /tmp/skills-temp
By default, this skill suppresses thinking tokens (stderr output) using 2>/dev/null to avoid bloating Claude Code's context window. If you want to see the thinking tokens for debugging or insight into Codex's reasoning process, explicitly ask Claude to show them.
User prompt:
Use codex to analyze this repository and suggest improvements for my claude code skill.
Claude Code response: Claude will activate the Codex skill and:
gpt-5 or gpt-5-codex) unless already specified in your prompt.low, medium, or high) unless already specified in your prompt.read-only for analysis)codex exec -m gpt-5-codex \
--config model_reasoning_effort="high" \
--sandbox read-only \
--full-auto \
--skip-git-repo-check \
"Analyze this Claude Code skill repository comprehensively..." 2>/dev/null
Result: Claude will summarize the Codex analysis output, highlighting key suggestions and asking if you'd like to continue with follow-up actions.
See SKILL.md for complete operational instructions, CLI options, and workflow guidance.
View Count
0
Download Count
0
Favorite Count
0
Quality Score
69