codex-delegator
Installation
SKILL.md
Codex Delegator
Overview
This skill enables Claude Code to automatically delegate complex, challenging tasks to OpenAI Codex CLI using codex exec --full-auto. When Claude Code encounters tasks that require different problem-solving approaches, deep logical analysis, or tasks that have proven resistant to repeated attempts, it can seamlessly invoke Codex to provide fresh perspectives and alternative solutions. The delegation happens automatically and transparently, with Claude Code handling context preparation, execution, and solution validation.
How Automated Delegation Works
When Claude Code determines a task is suitable for delegation:
- Analysis Phase: Claude Code analyzes the task complexity, context, and requirements
- Decision: Determines if delegation would be beneficial based on:
- Task has been attempted 2+ times without success
- High logic complexity (nested conditions, complex algorithms)
- Backend/algorithm intensive work
- Need for different problem-solving approach