Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- 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.
User asks: The CI is failing on the lint step, fix all ESLint errors
- 1Run `codex exec --full-auto "The CI is failing on the lint step. Fix all ESLint errors."`
- 2Codex reads the project files and identifies ESLint violations
- 3Edits the offending files to resolve each lint error
- 4Re-runs the lint command to verify all errors are cleared
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.