codex-subagent

Installation
SKILL.md

Codex Sub-Agent Delegation

Replace Cursor's built-in Task tool with codex exec for all sub-agent work except lightweight codebase exploration.

When to Delegate to Codex

Scenario Use Codex? Notes
Implementation / coding Yes --full-auto
Research / investigation Yes --full-auto
Debugging Yes --full-auto
Code review Yes Use codex review instead
Shell / git operations Yes --full-auto
Quick file search / grep No Use Cursor tools directly
Readonly codebase exploration No Use Cursor built-in explore

Core Command Pattern

Critical: On Windows (PowerShell), always pipe empty stdin to prevent codex from blocking on stdin:

Installs
1
First Seen
Aug 10, 2026