LaunchKit · 2026
Back to Skills

codex-sub-agents

Use OpenAI Codex CLI for coding tasks.

6
3.3k downloads
by @adamsardo

Setup & Installation

openclaw skills install @adamsardo/codex-sub-agents

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

npx clawhub install codex-sub-agents

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.

INPUT

User asks: Fix the TypeScript errors in src/components

AGENT
  1. 1Runs `codex exec --full-auto --cd src/components` with the fix instruction
  2. 2Codex reads component files and identifies type errors
  3. 3Codex edits each file to resolve the errors
  4. 4Codex runs the TypeScript compiler to verify no errors remain
OUTPUT

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.

ChatGPT Plus, Pro, Business, or Enterprise subscription (for OAuth login), or an OpenAI API key as an alternative