← All IntelClip / EntertainmentUsing /loop and cron for autonomous agent jobs
From Anthropic's Boris Cherny: Why Coding Is Solved, and What Comes Next · ≈7:53
“I sort of feel like loops are the future at this point.”
“So, I have one that's babysitting my PRs, like fixing CI, auto-rebasing.”
What’s in it
- Learn the /loop command for scheduling repeat agent jobs via cron
- See real use cases: babysitting PRs, fixing CI, clustering feedback
- Discover 'routines' that keep agents running after you close your laptop
Clip transcript
bunch of sub-agents to do work. Actually, the the thing that I've been finding myself using more and more is the loop. So, this is {slash} loop, and it's just like the coolest thing. It's like the simplest thing that works. All it is is you have Claude use cron to schedule a job for some point in the future, and it's a repeat job. And it can run every every minute, every 5 minutes, every day, kind of however often you want to schedule it. And at [snorts] this point, I have like dozens of loops that are running for stuff. So, I have one that's babysitting my PRs, like fixing CI, auto-rebasing. I have another one that keeps CI healthy. So, like if there's like a flaky test or whatever, it'll it'll go and fix it. Um I have another one that grabs uh feedback from Twitter and kind of clusters it for me every 30 minutes. So, I just have a bunch of these loops running at any time. I sort of feel like loops are the future at this point. If you haven't experimented with it, highly highly recommend it. And we also just launched routines, which is the same thing but kind of on the server. So, even if you close your laptop, it it keeps going.
Comments
Sign in to comment.
Loading comments…