The Codex feature that works while you sleep

The Codex feature that works while you sleep

From How I AI by Claire Vo

May 27, 2026 · 30 min

About this episode

Claire Vo discusses the /goal command in Codex, showcasing its ability to transform AI into an autonomous agent for complex tasks.

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…

People in this episode

Host: Claire Vo

Topics covered

  • AI
  • Codex
  • autonomous agents
  • goal-based tasks
  • error management
  • email organization

Keywords

  • Codex
  • /goal
  • autonomous agent
  • error logs
  • email cleanup
  • project management
  • AI prompts

Sponsors

Mercury

More episodes of How I AI

Explore listener stats, chart rankings, contacts and more on the How I AI podcast page.