← 返回
开发者工具 中文

OpenAI Codex Operator

Run OpenAI Codex CLI from OpenClaw for coding tasks in a target project directory. Use when the user asks OpenClaw to use Codex for implementation, debugging...
在目标项目目录中运行 OpenAI Codex CLI,完成实现、调试等编码任务。当用户请求 OpenClaw 使用 Codex 时触发。
cecwxf cecwxf 来源
开发者工具 clawhub v1.0.1 1 版本 99950.1 Key: 无需
★ 2
Stars
📥 1,963
下载
💾 27
安装
1
版本
#latest

概述

OpenAI Codex Operator

Use this skill to reliably call Codex CLI from OpenClaw.

Core rules

  1. Verify Codex CLI exists (codex --version) before first task.
  2. Always run Codex through OpenClaw exec with pty:true.
  3. Always set explicit workdir to the target repository.
  4. For long tasks, use background:true and track via process.
  5. Report clear milestones: started, waiting-input, finished/failed.

Execution patterns

One-shot coding task

Use:

  • exec.command: codex exec ""
  • exec.pty: true
  • exec.workdir:

Interactive session

Use:

  • exec.command: codex
  • exec.pty: true
  • exec.workdir:

Long-running background task

  1. Start with exec(background:true, pty:true, workdir, command:"codex exec ...")
  2. Record returned sessionId.
  3. Poll with process action:poll.
  4. Read output with process action:log.
  5. If Codex asks for input, use process action:submit.

Recommended prompts

  • "Implement with tests, run tests, and summarize changed files."
  • "Find root cause for failing CI in this repo and propose minimal fix."
  • "Review current branch diff and list high-risk issues first."

Guardrails

  • Do not claim files were changed unless logs show completion.
  • If codex is missing or auth fails, return exact remediation steps.
  • Keep OpenClaw tool config (pty/workdir/background) separate from CLI args.

References

  • references/codex-doc-summary.md
  • references/codex-usage-recipes.md
  • scripts/run-codex-example.sh

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 01:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,424
ai-agent

WTT Skill

cecwxf
WTT(Want To Talk)代理消息与编排技能,适用于OpenClaw,支持主题/点对点通信、任务与管道操作、委托、即时通讯路由等功能。
★ 1 📥 909
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,763