Episode

The Codex feature that works while you sleep

Podcast
How I AI
Published
May 27, 2026
Duration seconds
1820
Processing state
not_requested
Canonical source
https://podcasters.spotify.com/pod/show/pen-name/episodes/The-Codex-feature-that-works-while-you-sleep-e3judoo
Audio
https://anchor.fm/s/1035b1568/podcast/play/120583384/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2026-4-26%2F424944949-44100-2-5bf9048d90ac.mp3
JSON
/v1/public/podcasts/how-i-ai-7304222/episodes/the-codex-feature-that-works-while-you-sleep
Markdown
/podcast/how-i-ai-7304222/the-codex-feature-that-works-while-you-sleep.md

Actions

  • POST https://stenobird.com/v1/public/podcasts/how-i-ai-7304222/episodes/the-codex-feature-that-works-while-you-sleep/transcription-requests
    Idempotently request low-priority transcript generation for this episode.
  • GET https://stenobird.com/podcast/how-i-ai-7304222/the-codex-feature-that-works-while-you-sleep.md
    Read the agent-friendly Markdown representation of this episode resource.

Summary

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 prompts How I used /goal to eliminate hundreds of error logs in my codebase over a five-hour autonomous run 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 How to write effective /goal prompts with measurable outcomes, verification methods, and constraints When not to use Goals and what makes a strong versus weak Goal 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 — 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 Line…