Skip to content
How I AIHow I AI

I let Codex run for 6 hours. Here’s what happened.

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:* 1. What Goals are and how they differ from standard prompts 2. How I used /goal to eliminate hundreds of error logs in my codebase over a five-hour autonomous run 3. The 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 Linear 4. How to write effective /goal prompts with measurable outcomes, verification methods, and constraints 5. When not to use Goals and what makes a strong versus weak Goal 6. Why 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: https://mercury.com/ *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 jordan@penname.co._

Claire Vohost
May 27, 202630mWatch on YouTube ↗

Episode Details

EPISODE INFO

Released
May 27, 2026
Duration
30m
Channel
How I AI
Watch on YouTube
▶ Open ↗

EPISODE DESCRIPTION

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:*

  1. What Goals are and how they differ from standard prompts
  2. How I used /goal to eliminate hundreds of error logs in my codebase over a five-hour autonomous run
  3. The 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 Linear
  4. How to write effective /goal prompts with measurable outcomes, verification methods, and constraints
  5. When not to use Goals and what makes a strong versus weak Goal
  6. Why 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: https://mercury.com/ *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:*

*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 jordan@penname.co._

SPEAKERS

  • Claire Vo

    host

    Product leader and AI-focused creator/host of the “How I AI” podcast.

EPISODE SUMMARY

In this episode of How I AI, featuring Claire Vo, I let Codex run for 6 hours. Here’s what happened. explores how Codex Goals enable long-running autonomous work with verification loops Codex Goals differ from normal prompts by running an autonomous loop of execute–verify–decide-next-step until evidence shows the outcome is achieved.

RELATED EPISODES

No hype Claude Opus 4.8 review—my real experience

No hype Claude Opus 4.8 review—my real experience

How the engineer behind Claude Cowork actually uses Claude | Felix Rieseberg (Anthropic)

How the engineer behind Claude Cowork actually uses Claude | Felix Rieseberg (Anthropic)

Was anything good released at Google I/O 2026?

Was anything good released at Google I/O 2026?

Why this Claude Code engineer uses HTML files as AI specs | Thariq Shihipar (Anthropic)

Why this Claude Code engineer uses HTML files as AI specs | Thariq Shihipar (Anthropic)

Never write an update again: Notion's AI-powered engineering meetings | Ryan Nystrom

Never write an update again: Notion's AI-powered engineering meetings | Ryan Nystrom

Claude Code Just Got WAY More Powerful

Claude Code Just Got WAY More Powerful

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.