codex-subagent
Installation
SKILL.md
Codex Subagent Skill
Spawn autonomous subagents to offload context-heavy work. Subagents burn their own tokens, return only final results.
Golden Rule: If task + intermediate work would add 3,000+ tokens to parent context → use subagent.
Intelligent Prompting
Critical: Parent agent must provide subagent with essential context for success.
Good Prompting Principles
- Include relevant context - Give the subagent thorough context
- Be specific - Clear constraints, requirements, output format
- Provide direction - Where to look, what sources to prioritize
- Define success - What constitutes a complete answer