The Codex feature that works while you sleep episode artwork

EPISODE · May 27, 2026 · 30 MIN

The Codex feature that works while you sleep

from How I AI · host Claire Vo

In this 30-minute episode, I walk through my favorite feature in Codex: the /goal command. I show how Goals transform AI from a turn-based assistant that needs constant ‘what’s next?’ prompting into an autonomous agent that can work for hours on complex, multi-step tasks. I share three real examples: eliminating thousands of Sentry errors, cleaning 3,900 emails down to 68, and organizing hundreds of Linear tasks.What you’ll learn:What Goals are and how they differ from standard promptsHow I used /goal to eliminate hundreds of error logs in my codebase over a five-hour autonomous runThe non-technical use cases that make Goals incredibly powerful: cleaning up 3,900 emails in under four hours and organizing hundreds of project management tasks in LinearHow to write effective /goal prompts with measurable outcomes, verification methods, and constraintsWhen not to use Goals and what makes a strong versus weak GoalWhy Goals represent a fundamental shift in how we work with AI, from babysitting the model to managing it—Brought to you by:Mercury—Radically different banking loved by over 300K entrepreneurs—In this episode, we cover:(00:00) Introduction(01:50) What is /goal and when should you use it?(02:45) The difference between prompts and Goal-based loops(04:06) Claire’s first five-hour 45-minute autonomous coding task(05:05) How to manage a Goal lifecycle: view, pause, resume, and clear(06:06) How to write strong goals: outcomes vs. outputs(07:34) The six components of effective Goals(08:57) Example: Reducing P95 checkout latency with /goal(09:36) Demo: Using /goal to eliminate Sentry errors in ChatPRD(13:18) Demo: Burning down Vercel API errors(17:28) Non-technical use case: Cleaning 3,900 emails with /goal(21:24) Demo: Using /goal to clean up Linear project tasks(24:41) When not to use /goal(26:10) Why /goal changes everything—Tools referenced:• Codex: https://openai.com/codex/• Sentry: https://sentry.io/• Vercel: https://vercel.com/• Linear: https://linear.app/—Other reference:• OpenAI blog post “Using Goals in Codex”: https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex—Where to find Claire Vo:ChatPRD: https://www.chatprd.ai/Website: https://clairevo.com/LinkedIn: https://www.linkedin.com/in/clairevo/X: https://x.com/clairevo—Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email [email protected].

In this 30-minute episode, I walk through my favorite feature in Codex: the /goal command. I show how Goals transform AI from a turn-based assistant that needs constant ‘what’s next?’ prompting into an autonomous agent that can work for hours on complex, multi-step tasks. I share three real examples: eliminating thousands of Sentry errors, cleaning 3,900 emails down to 68, and organizing hundreds of Linear tasks.What you’ll learn:What Goals are and how they differ from standard promptsHow I used /goal to eliminate hundreds of error logs in my codebase over a five-hour autonomous runThe non-technical use cases that make Goals incredibly powerful: cleaning up 3,900 emails in under four hours and organizing hundreds of project management tasks in LinearHow to write effective /goal prompts with measurable outcomes, verification methods, and constraintsWhen not to use Goals and what makes a strong versus weak GoalWhy Goals represent a fundamental shift in how we work with AI, from babysitting the model to managing it—Brought to you by:Mercury—Radically different banking loved by over 300K entrepreneurs—In this episode, we cover:(00:00) Introduction(01:50) What is /goal and when should you use it?(02:45) The difference between prompts and Goal-based loops(04:06) Claire’s first five-hour 45-minute autonomous coding task(05:05) How to manage a Goal lifecycle: view, pause, resume, and clear(06:06) How to write strong goals: outcomes vs. outputs(07:34) The six components of effective Goals(08:57) Example: Reducing P95 checkout latency with /goal(09:36) Demo: Using /goal to eliminate Sentry errors in ChatPRD(13:18) Demo: Burning down Vercel API errors(17:28) Non-technical use case: Cleaning 3,900 emails with /goal(21:24) Demo: Using /goal to clean up Linear project tasks(24:41) When not to use /goal(26:10) Why /goal changes everything—Tools referenced:• Codex: https://openai.com/codex/• Sentry: https://sentry.io/• Vercel: https://vercel.com/• Linear: https://linear.app/—Other reference:• OpenAI blog post “Using Goals in Codex”: https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex—Where to find Claire Vo:ChatPRD: https://www.chatprd.ai/Website: https://clairevo.com/LinkedIn: https://www.linkedin.com/in/clairevo/X: https://x.com/clairevo—Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email [email protected].

NOW PLAYING

The Codex feature that works while you sleep

0:00 30:20

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Chewing the Fat with WorkForge WorkForge Bite-Sized Conversations for Building a Stronger Workforce Welcome to Chewing the Fat, a podcast delving deep into the world of food manufacturing. Dive into real conversations around critical topics like staffing, retention, onboarding, and career development in this essential industry. Subscribe now to gain insights from your peers, subject matter experts and more on the biggest issues facing food manufacturers today: -Hiring and retaining employees -Addressing the challenges of the Silver Tsunami -Improving time to productivity of new employees -Engaging employees from hire to retire And more... Tune in to Chewing the Fat, a WorkForge podcast, and join the conversation on how to build and sustain a resilient, high-performing workforce in food manufacturing. Solving for Change MOBIA Technology Innovations Solving for Change welcomes business and technology leaders to share stories of bold business transformation within complex organizations. In an era when technology and markets are changing around businesses, the key to staying competitive is to evolve in response to those changes.  MOBIA’s Mike Reeves and Marc LeBlanc investigate business transformation, deconstructing the challenges, ambitions, and market disruptions that drive companies to embark on transformation journeys, and exploring their unique approaches to achieving meaningful outcomes.  What sparks leaders to pursue business transformation? How do they overcome the challenges along the way? What are the keys to creating enduring change?  Through in-depth conversations with business and technology leaders, Mike and Marc answer these questions and explore how businesses evolve by pulling four key transformation levers: people, process, technology, and culture. The Lee Olsen Show Lee Olsen CJF I want to help you improve all areas of your life by 3 types of podcasts!👉Blood, Sweat & Blessings-Interviews of normal people that have achieved BIG things!👉Series!!! For Love of the Horse- Brad Jackman DVM & Lee Olsen CJF, how to help your horse!👉Business Tips- Proven Life Changing Business Strategies with Lee Olsen The Field Priest Methodius Chwastek The Field is a place of cultivation and of battle. In the Church, we learn to cultivate a life pleasing to God. This life is shaped in the spiritual battle. This series examines, chapter by chapter, the Christian classic The Field, by Saint Ignatius Brianchaninov. Please join me as I explain this great work in terms the modern Orthodox Christian can understand. 

Frequently Asked Questions

How long is this episode of How I AI?

This episode is 30 minutes long.

When was this How I AI episode published?

This episode was published on May 27, 2026.

What is this episode about?

In this 30-minute episode, I walk through my favorite feature in Codex: the /goal command. I show how Goals transform AI from a turn-based assistant that needs constant ‘what’s next?’ prompting into an autonomous agent that can work for hours on...

Can I download this How I AI episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!