logo
episode-header-image
Jun 2026
29m 6s

How to design AI agent loops: schedules,...

Claire Vo

About this episode

I break down every loop type from scratch—what a heartbeat, cron, hook, and goal loop actually are, when each one fits, and the five things any effective loop needs before it touches production. Then I build two live loops: a daily aging-PR reviewer in Claude Code that schedules itself at 10:15 a.m. and spins off its own subagents, and a weekly skills-identification loop in Codex that spawns goal-based subagents to validate its own output in real time.


What you’ll learn:

  1. The plain-English definition of a loop—and why it’s just an automated prompt, not a scary new paradigm
  2. The four loop types (heartbeat, cron, hook, and goal) and when each one actually fits your workflow
  3. How to think about loop design using the “onboarding an employee” mental model
  4. The five things every effective loop needs: work trees, skills, plugins/connectors, subagents, and state tracking
  5. How to build a scheduled PR-review routine in Claude Code that babysits aging PRs and alerts your team
  6. How to set up a weekly skills-identification automation in Codex that spawns its own validating subagents
  7. Why goal-based loops are the hardest to write well—and where most people burn tokens for nothing
  8. The two warning signs that your loop is going to get expensive before it gets useful

—

Brought to you by:

WorkOS—Make your app enterprise-ready today

Runway—The creative AI platform for images, video, and more

—

In this episode, we cover:

(00:00) Prompts are out and loops are in

(02:30) Defining a loop

(03:03) The four ways to automate a prompt: heartbeat, cron, hooks, and goals

(06:03) Five things every effective loop needs

(09:26) The “onboarding an employee” framework for designing loops

(11:58) Live build #1: Daily aging PR loop in Claude Code

(17:08) Subagents inside loops

(19:00) Live build #2: Weekly skills identification loop in Codex

(22:57) Watching subagents spin up in real time

(25:28) Warning signals around loops

(27:31) What listeners are doing with loops

—

Tools referenced:

• Claude Code: https://claude.ai/code

• Codex: https://chatgpt.com/codex

• OpenClaw: https://openclaw.ai/

—

Other references:

• Claire’s article “Why OpenClaw Feels Alive Even Though It’s Not”: https://x.com/clairevo/article/2017741569521271175

• Addy Osmani’s article on loop engineering: https://addyosmani.com/blog/loop-engineering/

• 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.

Up next

Nov 23
OpenClaw for executives: Automate every 1% annoyance
Ankit Maheshwari, the CTO of Innovaccer, walks me through the OpenClaw Jarvis he still runs on a Mac Mini. He started with the approvals that were making him the bottleneck at work, then kept going until the same system was ordering his lunch, calling coworkers who haven’t respon ... 
31m 24s
Nov 16
How I fight token fraud as a solo founder
Today I’m walking you through a problem that has cost me tens of thousands of dollars over the past year and eaten almost all of my engineering energy: token fraud. I’m the solo founder of ChatPRD, a bootstrapped AI platform for product managers, and fraudsters have been farming ... 
39m 46s

Recommended Episodes

Aug 17
How to use Claude Code better than 99% of People
Get Claude Code: https://startup-ideas-pod.link/claude-greg In this solo episode I lay out the exact system I use to turn Claude Code into what I call an AI employee. My premise is simple: give Claude the same things you would give a person joining your company (a workspace, memo ... 
48m 10s
Sep 28
Ep 871: Desktop Agent Lingo Simplified: Goals, Loops, Plans, Subagents and how it works in Codex and Claude Code (Start Here Series Vol 30)
Talking about prompts and chatbots won't help you talk about AI strategy in 2026. You've gotta know the ins and outs of loops, plans, goals, subagents and more. In this episode of Everyday AI, we're breaking down the agent lingo and how the key terms play out in systems like Code ... 
29m 16s
Sep 3
Agentic Loops for Knowledge Workers
In this episode, NLW and Nufar Gaspar explain how knowledge workers can move beyond one-shot prompting and use agentic loops to produce more complete, reliable work. They break down how to design verifiable finish lines, decide which tasks should be looped, prevent runaway costs ... 
57m 5s
Mar 2026
8. The AI That Works While You Sleep (Scheduled Tasks & Autonomous
In Episode 8, we unlock the next level of AI productivity: autonomous, recurring workflows. Instead of triggering Claude manually for each task, we explore how Claude Cowork can operate as a background agent that runs on its own schedule.You will learn how to configure automated ... 
45m 5s
Apr 2026
What To Build First With Claude Design
Anthropic dropped Claude Design on Friday — a new design suite built on top of Opus 4.7 that lets users prototype, wireframe, and iterate on visual projects through natural language, inline comments, and custom sliders. Today's episode walks through the best use cases emerging fr ... 
29m 4s
Jan 2026
Claude Code Clearly Explained (and how to use it)
In this episode, I sit down with Professor Ras Mic for a beginner-friendly crash course on using Claude Code (and AI coding agents in general) without feeling overwhelmed by the terminal. We break down why your output is only as good as your inputs and how thinking in features + ... 
31m 28s
Jan 2026
Designer's toolkit for Claude Code
Kyle Zantos is leading the new UX Tools Labs where he's responsible for figuring out what matters for new design tools and workflows.As a result, he's pretty quickly become my go-to source as I transition into more of a builder with AI.So this conversation is a deep dive into ver ... 
48m 3s
Aug 2023
048: Smart Artists don't run ads... instead they do this. Introducing "The Loop"
I will define the loop, what it is at its core, how to think about it, and how to use it in different scenarios — both online and offline. Also... how to super charge it Want to join Patrick for a live webinar? He hosts one every Monday, Wednesday, and Friday. Register here: asf. ... 
33m 34s
Apr 2026
13. Teaching Claude New Tricks (Encapsulating Knowledge with Agent Skills)
Episode 13: Claude Skills — Turning SOPs into Executable WorkflowsIn Episode 13 of Beyond Prompting, we unlock one of the most powerful—and overlooked—capabilities in modern AI workflows:turning your team’s standard operating procedures into executable systems.This is where AI st ... 
37m 56s
Dec 2025
Set Up Claude Skills in 21 Mins (for Non-Technical People)
In this episode, I walk through a beginner-friendly, step-by-step way to set up Claude Skills so you can get more consistent, higher-value output over time. I show where to enable Skills (it’s not on by default), how to create a new skill using Claude’s “create a skill together” ... 
19m 59s