--- name: codex-consult description: Second opinion via Codex on spec/plan/design. Use when user says "second opinion", "have codex review the spec/plan". --- # Consulting Codex Spawn the `codex` subagent, iterate via SendMessage. Hard limit: 5 rounds (see `../references/common.md` for wait-loop/resume). - `cwd:` mandatory; artifact inside `=== TASK FOR CODEX ===` with role "second opinion, not executor" + requirements + artifact text/path. - Evaluate findings critically (don't agree blindly), SendMessage with accepted/rejected + why + updated artifact. - Finale: agreed/applied, rejected+why, unresolved.