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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.