Skip to content
TakoAPI
Back to skills

openai-codex-operator

by cecwxf

Coding Agents & IDEs
752Downloads reported by clawskills.sh
2Stars
1Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Run OpenAI Codex CLI from OpenClaw for coding tasks in a target project directory.

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

User asks: implement a rate-limiting middleware with tests

AGENT
  1. 1

    Verify Codex CLI is available by running codex --version

  2. 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. 3

    Record the session ID and poll the process for completion milestones

  4. 4

    Read output logs to confirm test results and which files were modified

  5. 5

    Report the implementation summary and test outcomes to the user

OUTPUT

Rate-limiting middleware implemented, tests passing, list of changed files returned

Requirements

  • OpenAI Codex CLI installed and available in PATH
  • OpenAI account with Codex access (API key or authenticated session)

Installation

clawhub install cecwxf/openai-codex-operator

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links