openai-codex-operator
由 cecwxf 提供
Coding Agents & IDEs简介
Run OpenAI Codex CLI from OpenClaw for coding tasks in a target project directory.
描述
该技能的功能
Runs OpenAI Codex CLI commands from OpenClaw against a target project directory. Supports one-shot tasks, interactive sessions, and long-running background jobs with process tracking and input relay.
Wraps Codex CLI with PTY and workdir configuration so interactive or long-running coding tasks don't hang or lose context inside OpenClaw.
何时使用
- Implementing a new feature with tests in one command
- Finding the root cause of a failing CI build
- Reviewing a branch diff for high-risk changes before merging
- Refactoring a module across an unfamiliar codebase
- Running scripted multi-step coding workflows in the background
示例工作流
User asks: implement a rate-limiting middleware with tests
- 1
Verify Codex CLI is available by running
codex --version - 2
Start a background exec with
codex exec "Implement rate-limiting middleware with tests, run tests, summarize changed files"pointed at the target repo - 3
Record the session ID and poll the process for completion milestones
- 4
Read output logs to confirm test results and which files were modified
- 5
Report the implementation summary and test outcomes to the user
Rate-limiting middleware implemented, tests passing, list of changed files returned
前置要求
- OpenAI Codex CLI installed and available in PATH
- OpenAI account with Codex access (API key or authenticated session)
安装
clawhub install cecwxf/openai-codex-operator运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。