Listen to the original at YouTube podcast ↗youtube.com
Claire Vo, founder of Chat PRD and host of How I AI, demonstrates Codex's /goal feature—a framework for running autonomous, long-running AI tasks that work, verify, and iterate until a measurable objective is met. She walks through technical examples (fixing edit errors, eliminating API logs) and practical use cases (cleaning 3,900+ emails, organizing Linear tasks) to show how goals differ fundamentally from traditional prompts.
01Key learnings
- Goals enable multi-hour autonomous AI tasks by having the model work in a loop—execute, verify, decide next step—until it gathers evidence the goal is met, unlike turn-based prompts requiring constant human prompting.
- Strong goals require six components: outcome (what success looks like), verification (how to test it), constraints (what can't regress), boundaries (allowed tools/files), iteration policy (how to decide next steps), and clear stopping conditions.
- Goals work best for problems with durable objectives, evidence-based finish lines, and paths requiring multiple investigation turns; avoid them for simple one-line edits or vague outcomes like 'make customers happy.'
- Product managers and engineers skilled in writing OKRs and success criteria have a natural advantage in crafting effective goals, as the discipline of defining outcomes over outputs directly transfers.
- Vo used /goal to systematically fix all edit errors in Chat PRD by having Codex categorize Sentry traces, implement root-cause fixes, and validate against historical examples—resulting in zero errors with one coherent solution rather than band-aid fixes.
- Non-technical use cases (email cleanup, task management hygiene) are equally powerful; Vo's 4-hour email goal categorized ~4,000 emails, unsubscribed from spam, and reduced inbox to 68 actionable items.
- Working with goal-based AI increasingly mirrors managing human colleagues—assign a goal, step away, and receive completed work for review—shifting the dynamic from builder mode to manager mode.
- Goals require higher-quality prompt engineering than simple tasks; the technical rigor of defining verification, constraints, and iteration policies forces teams to articulate success more precisely.
02Frameworks mentioned
Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.