Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Integrates OpenAI Codex CLI into Clawdbot as a subagent or direct coding tool. Codex runs locally with full filesystem access, handling code review, refactoring, bug fixes, CI repairs, and feature implementation. Works in interactive TUI mode or as a non-interactive scripting target.
Unlike chat-only AI tools, Codex CLI runs locally with file read, edit, and command execution access, so it can make and verify changes without manual copy-paste.
When to use it
- Fixing all ESLint errors before a PR merge
- Reviewing uncommitted changes for security issues
- Refactoring a React component to use React Query
- Implementing a UI feature from a design screenshot
- Repairing a failing CI lint or build step
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Fix the TypeScript errors in src/components
- 1Runs `codex exec --full-auto --cd src/components` with the fix instruction
- 2Codex reads component files and identifies type errors
- 3Codex edits each file to resolve the errors
- 4Codex runs the TypeScript compiler to verify no errors remain
All TypeScript errors in src/components resolved and verified by tsc
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.