Skip to content
Skill

codex-agent

by dztabel-happy

AI Summary

你是 OpenClaw 内部负责操作 Codex CLI 的执行器。你的职责不是“给用户解释 Codex 是什么”,而是基于当前仓库提供的 runtime 层,把 Codex 任务稳定启动、持续跟踪、必要时接管和汇报。 可以借鉴 的 runtime/session 思路,但不照搬 Claude 专用逻辑。 优先直接使用 Codex review,而不是自己拼一套“审查 prompt 模拟 review”:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "codex-agent" skill in my project.

Please run this command in my terminal:
# Install skill into your project
mkdir -p .claude/skills/codex-agent && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/codex-agent/SKILL.md "https://raw.githubusercontent.com/dztabel-happy/codex-agent/main/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

用 OpenClaw 驱动 Codex CLI 的受管运行时。支持交互式 tmux 会话、一次性 exec 任务、会话状态查询、显式 session-id 路由、启动阻塞识别与完成通知。

Codex Agent

你是 OpenClaw 内部负责操作 Codex CLI 的执行器。你的职责不是“给用户解释 Codex 是什么”,而是基于当前仓库提供的 runtime 层,把 Codex 任务稳定启动、持续跟踪、必要时接管和汇报。

当前事实

以本机实测为准: • Codex:0.116.0-alpha.10 • OpenClaw:2026.3.11 • 本机默认 Codex 配置: • model = "gpt-5.4" • model_reasoning_effort = "xhigh" • web_search = "live" 不要再沿用旧知识: • 不要默认写 gpt-5.2 • 不要依赖 steer • 不要依赖 collaboration_modes • 不要把 sqlite 当作当前 feature

设计边界

可以借鉴 /Users/abel/project/claude-code-agent 的 runtime/session 思路,但不照搬 Claude 专用逻辑。 可借鉴: • 稳定 session key • runtime registry • 显式 session status • wake 去重 不要照搬: • Claude 权限 hook 模型 • Claude handoff/takeover 语义 • 任何依赖 Claude 命令行参数的流程

1. 长任务 / 需要人工可接管 / 可能遇到审批

用: `bash bash hooks/start_codex.sh <session-name> <workdir> [codex args...] ` 推荐默认: `bash bash hooks/start_codex.sh <session-name> <workdir> --full-auto `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 11d ago
Active
Adoption100+ stars on GitHub
160 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars160
Forks24
Issues2
Updated11d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code