LaunchKit · 2026
Back to Skills

codex-sub-agents-1

Use OpenAI Codex CLI for coding tasks.

0
906 downloads
by @phucanh08

Setup & Installation

openclaw skills install @phucanh08/codex-sub-agents-1

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install codex-sub-agents-1

Version History

v1.0.1Feb 10, 2026 - Version note by skill developer:

- Documentation updated; no functional changes to the skill's features or behavior. - SKILL.md reformatted and revised for clarity and readability.

What This Skill Does

OpenAI Codex CLI (`codex`) is a locally-run coding agent with full filesystem access. It handles code review, refactoring, bug fixes, CI repairs, and feature implementation through a terminal UI or non-interactive scripting mode. It can also run as a subagent or MCP server within Clawdbot setups.

Unlike chat-based AI tools, Codex CLI runs locally with actual file editing and command execution, so it applies changes directly rather than just suggesting them.

When to use it

  • Fix failing CI lint or build errors automatically
  • Review uncommitted changes before a commit
  • Refactor a component to use a different data-fetching pattern
  • Implement a feature from a design spec screenshot
  • Explore and explain an unfamiliar codebase

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: The CI is failing on the lint step, fix all ESLint errors

AGENT
  1. 1Run `codex exec --full-auto "The CI is failing on the lint step. Fix all ESLint errors."`
  2. 2Codex reads the project files and identifies ESLint violations
  3. 3Edits the offending files to resolve each lint error
  4. 4Re-runs the lint command to verify all errors are cleared
OUTPUT

All ESLint errors fixed across the codebase, CI lint step passes

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

ChatGPT Plus, Pro, Business, or Enterprise subscriptionOPENAI_API_KEY environment variable (alternative to subscription OAuth login)