Skip to content

By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.

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?’

Claire Vohost
May 27, 202630mWatch on YouTube

Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.

Great conversations run long. Their best ideas don't have to.

uListen is free on iPhone, iPad, Android, Chrome, and Claude.

See how

At a glance

WHAT IT’S REALLY ABOUT

How Codex Goals enable long-running autonomous work with verification loops

  1. Codex Goals differ from normal prompts by running an autonomous loop of execute–verify–decide-next-step until evidence shows the outcome is achieved.
  2. Effective Goals are outcome-based and measurable, pairing a clear finish line with verification methods, constraints/guardrails, scoped boundaries, and an iteration/stop policy.
  3. Claire shares a real five-hour-45-minute autonomous coding run and shows how /goal can systematically burn down recurring production issues instead of applying one-off fixes.
  4. Technical demos focus on using logs (Sentry/Vercel) to categorize errors, identify root causes, ship fixes via PRs, and re-validate against historical events until errors reach zero.
  5. Non-technical demos show /goal as an operations assistant—cleaning thousands of emails and mass-triaging Linear tasks—highlighting that long-running goals can improve everyday workflow hygiene.

IDEAS WORTH REMEMBERING

5 ideas

Use /goal when you’re stuck in “keep going / try next / rerun tests” mode.

Goals shine when you’d otherwise micromanage an agent step-by-step; the loop self-directs and keeps iterating until it can prove completion.

Write goals as measurable outcomes, not vague tasks or refactors.

“Refactor this code” or “make customers happy” lacks a finish line; better goals specify what should be true and how success will be validated (benchmarks, tests, log replays, etc.).

Strong goals combine verification with guardrails to prevent “cheating.”

Claire emphasizes constraints like keeping correctness tests green—otherwise an agent could hit the metric by breaking or removing functionality (e.g., deleting a slow page).

Include boundaries and an iteration policy so the agent knows where to look and how to proceed.

Specify allowed tools/files/systems (Sentry/Vercel/checkout subsystem) and require iteration reporting (what changed, what evidence showed, what experiment is next).

Treat production error logs as a backlog you can systematically eliminate.

Her Sentry example uses /goal to categorize root causes, implement fixes, and replay historical events until “invalid operation” errors go to zero—yielding a more coherent framework, not scattered band-aids.

WORDS WORTH SAVING

5 quotes

If you find yourself in that process, using /goal in Codex might be a tool that you wanna add to your toolkit.

— Claire Vo

With Goal, when you give Codex a goal, it actually has something that it can work towards, and it will continue to loop to the next step and verify until it can measure that it has met that goal.

— Claire Vo

But the first time I used Goal, I was actually able to get a coding task running for about five hours and 45 minutes, which is longer than I've ever had anything run before.

— Claire Vo

You really wanna use Goals when you would otherwise find yourself saying the same thing after turn," like, "Keep going," "Try the next thing," "Run it again," "Now run the test," "Continue until it's actually done."

— Claire Vo

Goals are strongest when it has three properties: a durable objective, an evidence-based finish line, and a path that may require several turns of investigation.

— Claire Vo

Read the available transcript
Prompt vs goal-based loop (autonomy + verification)Goal lifecycle commands (view/pause/resume/clear)Outcomes vs outputs in goal writingSix components of effective goalsError burn-down using Sentry tracesVercel log triage to PR workflowInbox and project-management cleanup via plugins/MCP

Ask ChatGPT about this episode

Get its key ideas, plus a summary of each chapter linked to that point in the video, right in your chat.

  1. Add uListen AI to ChatGPT.

  2. Paste this prompt into a new chat.

    Use uListen AI to give me this episode's key ideas and a chapter-by-chapter summary, with timestamps: https://www.youtube.com/watch?v=2wLJl9A2CnA

SPEAKERS

  • Claire Vo

    host

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

High quality AI-generated summary created from speaker-labeled transcript.

Get more out of YouTube videos.

Read along on your phone, search it beside the video, or ask your favorite AI app what was said.