This New Claude Code Feature is a Game Changer

Nate Herk · Intermediate ·🧠 Large Language Models ·4mo ago

Key Takeaways

The video demonstrates the use of Cloud Code and Claude to build an executive assistant, utilizing tools such as cron create, cron list, and cron delete to schedule reminders and tasks. The loop skill is also showcased, allowing users to schedule recurring tasks for up to 3 days at a time.

Full Transcript

Cloud Code can now remind you to do things, check on things proactively for you, and work for days straight without you ever touching it or needing to give any input. So, here you can see I just said, "Remind me at 10:23 a.m. to check on my project." It goes ahead and uses a cron create tool to set this reminder. There we go. 10:23 just hit. I didn't touch it. And it just said, "Hey, Nate, this is the reminder to check on your project." So, just shot off this one that says, "Every 10 minutes, check my ClickUp to see if there's any new developments on our project." It's using the loop skill, as you can see, which is a new built-in skill. And it creates a cron for every single 10 minutes. And now this would run for the next 3 days every 10 minutes until I told it not to. And this doesn't have to be every 10 minutes. It could be every hour. It could be every 5 minutes. It could be whatever interval that you want. And this is all thanks to the newly released feature or skill loop, which is a powerful new way to schedule recurring tasks for up to 3 days at a time. And this is so funny because less than 12 hours before this was announced, the scheduled tasks in cloud code was also announced. So, right off the bat, those two features might seem like they're the exact same thing, but they're actually super different in how they work, and they have different use cases. So, in today's video, I'm going to break all of that down and tell you everything that you need to know about it. And by the way, if you haven't watched my new scheduled tasks video, then check that out right up here and then hop back over to this one. All right, so as you guys just saw in the quick demo, we now have the ability to use loops, which means that we could say something like /loop every 5 minutes, check on the deploy, or we could just say that in natural language, which is awesome because it invokes the loop skill and then it creates that cron job right here in cloud code. And you'll notice that this is in my VS Code. So this is available in your terminal, in cloud code desktop app, in VS Code extensions, wherever. This is just a core part of cloud code now. So if you're not seeing this, just make sure you update your extension or you update Cloud Code. And this lets you set up loop intervals or reminders. So reminders, like you saw that first demo, I just said, "Hey, at this time, just tell me this." And in that session, it will bump up a message without you triggering it. Or you could have them be intervals. So you could say every 2 hours. You could say every 30 minutes. Whatever you want that actual interval to be. And what's cool about it is it does it all in the same session. So if I leave this session up, every 10 minutes, it would check everything right here, which means that it's able to continuously read through what happened in the past one, and it continuously sees what we're doing. Now, obviously there are some pros and cons there, but just wanted to point that out. The major con there being your context, making sure that if something does go off every 10 minutes, you're not going to get a huge report and then every 10 minutes you just more tokens, more tokens, and then context rot. It's basically scheduling a prompt that you would be sending in here and then firing off, which means you can loop skills. So, if you want every 20 minutes, for example, run a skill called review PR, you could tell it to every 20 minutes run the skill. It would run it, it would wait 20 minutes, and then it would do it again. And of course, you could use actual slash commands to invoke both the loop and the skill. Or you could just say every 20 minutes, run my review PR skill. And of course, the onetime reminder feature. So at 3 p.m. or in 45 minutes, remind me to do this or check in on that. And Claude will basically pin that time. It'll create that cron, and then once it's done, it'll just delete itself. So whether that's, hey, at 4:30, remind me I have to go do this or every hour remind me to just stand up and like look away from my screen for 5 minutes, it can do that. All right. All right. So, there's a couple things that I wanted you guys to understand about how this actually works. So, let's just play around a little bit. Hey, at 10:40 a.m., can you please remind me to take out the garbage? Cool. So, what that's going to do is it's going to use the cron create tool and it's going to create that basically schedule to remind me take out the garbage. And what you can see here is the actual prompt. So, at this interval, which is just how cron works, it's basically going to shoot a prompt into this window that says remind Nate to take out the garbage. You can see the recurring equals false. Now, of course, the key is if the session is closed, then that cron is going to automatically be killed. So, now something interesting. I'm going to open up a new session and I'm going to say, hey, every hour, can you just remind me I need to stretch my neck? And I'm going to shoot this one off. And we'll see how this one is a little bit different because this once again creates a cron. We have a prompt. And you can see in this one, we don't have the recurring equals false. We just know that this cron is going to go every hour. But these loop jobs or task jobs are per session. So these two tabs are two different sessions. So if I came into this session and said, "Can you please tell me all of the scheduled loop tasks that we have today? It's going to use a tool called cron list, and it only can see the 10:40 a.m. take out the garbage." It cannot see the task that exists in this session because they're independent and they're separate. Now, one interesting thing to notice is that this session didn't actually invoke the loop tool. The loop tool basically tells it how to set up cron jobs and how to use the cronate. So if you don't see loop, don't worry. It's still actually doing this in a loop. It's just kind of about the actual wording. So, if I was to open a new one, let's see if I actually call the loop tool right here. So, I do loop and then I just say, you know, um, check my ClickUp. This one is going to default, I believe, to 10 minutes if you don't specify a time. And it might invoke the loop skill because we actually called it to, but looks like it didn't because it knows exactly what it needs to do already. So, the point being, all that matters is that the cron is being created. It doesn't always matter if it invokes the loop skill or not. And then if you wanted to cancel one of these jobs, all you'd have to do is either close out of the terminal or just say, "Actually, I don't need this anymore. Go ahead and cancel it." And that one invokes a different cron skill called cronde delete, it shoots over the job ID. And now that is canceled. And one final thing to keep in mind is in VS Code, if you close out of a tab and then you just open up that conversation again, that still will kill those crons. So you guys just saw how pretty much all of this worked. We have cron create to schedule. We have cron list to list them. And then we have cronde delete to cancel them. And all of those can be invoked with natural language, which is awesome. So now let's get into some of the limitations and then I'm going to compare them to the actual scheduled tasks feature. So the first big one is that we have a 3-day loop expiry, which is just basically for safety. It auto cleans things up if you forgot you had all of these loops running. So once you create a loop, it basically has a 3-day timer on it. It can run for day one, it can run on day two, and then on day three, it can run up until that last fire, and then it will autodee. And if you want anything longer than 3 days, then you would either just recreate that loop or that probably indicates that you should just turn this into a legitimate scheduled task. Now, the other thing that you can do is if you want to completely disable scheduling, so maybe in your natural prompting it's accidentally creating all these crrons, you could go into your environment variables and just disable that and it would probably be able to help you figure that out. So the other things here are that if you close the terminal, your tasks are gone. It doesn't have catchup. So the scheduled tasks, if you, you know, opened up your desktop app and you missed a bunch, it would catch up automatically. This doesn't do that. And there's no persistence, meaning after your 3 days and you wanted to do that same loop again. It would be a fresh session. But obviously, there's tons of things you can do here with context management and reading different files in order to kind of Frankenstein your own fix there. So now that all the features have been explained and you've seen a demo, I think that probably you understand the difference between the loop and the schedule tasks a bit better now. But let's just go over some of the key highlights. The loop has your 3-day expiry. It's all done within one session and there's no catch-up. It's basically a help me now or help me on this project for today type of function. The schedule tasks are dis stored. They're longived. They have catchup and these are like daily, weekly, monthly functions that can run indefinitely. Of course, with both of these though, the terminal or you know the app has to be open and this one is only currently available in the desktop app. But I can imagine how fast Anthropic is shipping things. Maybe by the time you watch this video, scheduled tasks are already out for the terminal and extensions as well, the way that loop is available in cloud code everywhere. So basically, it's one simple question. Do you need help right now on a project or do you need help with something every day or every week? And that's how you decide if you use the new loop feature or if you use scheduled tasks. So I thought I'd end off real quick by giving a few maybe practical ways that you could actually use loop rather than something scheduled. So maybe all day you're waiting on a very urgent email. Just set up Cloud Code to check in on that email every 5 minutes and if it's there, it can automatically let you know. Maybe you're working on a deploy and you want to just pull that and check every, you know, hour or so if everything's working okay. Maybe you've got a deadline due at the end of the week and you need a 3-day sprint to be constantly checking in on the team and checking in on progress. Maybe you're testing and iterating. Maybe you're watching logs. Maybe you're tracking changes. There's so many different use cases here. There's so many different ways to use the loop to prompt an agent to have different files, to use different skills, and it's really, really cool the way that you could potentially set these things up. But now that you understand all of the power with these loops, the next step that I would recommend is trying to build your own executive assistant. So, I just dropped a full video about how that works. You can watch that one right up here. So, hopefully I see you guys over there. But that's going to do it for today. So, if you enjoyed, you learned something new. Please give it a like. Definitely helps me out a ton. And as always, I appreciate you guys making it to the end of the video. I'll see you on the next one. Thanks everyone.

Original Description

Full courses + unlimited support: https://www.skool.com/ai-automation-society-plus/about All my FREE resources: https://www.skool.com/ai-automation-society/about Apply for my YT podcast: https://podcast.nateherk.com/apply Work with me: https://uppitai.com/ My Tools💻 14 day FREE n8n trial: https://n8n.partnerlinks.io/22crlu8afq5r Code NATEHERK to Self-Host n8n for 10% off (annual plan): http://hostinger.com/nateherk Voice to text: https://ref.wisprflow.ai/nateherk Claude Code can now run recurring tasks, set reminders, and loop skills on intervals for up to 3 days straight without any input from you. In this video, I break down exactly how the new loop feature works, walk through the cron tools that power it, and compare it to scheduled tasks so you know which one to use and when. Sponsorship Inquiries: 📧 sponsorships@nateherk.com TIMESTAMPS 0:00 Loop Feature Demo 1:02 How Loops Work 3:03 Live Walkthrough 5:32 Limitations 6:40 Loops vs Scheduled Tasks 8:15 Final Thoughts
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Nate Herk | AI Automation · Nate Herk | AI Automation · 0 of 60

← Previous Next →
1 How I Wish Someone Explained AI Agents To Me (as a beginner)
How I Wish Someone Explained AI Agents To Me (as a beginner)
Nate Herk | AI Automation
2 How to Create an AI Email Agent with n8n (No Code, Step-by-Step Tutorial)
How to Create an AI Email Agent with n8n (No Code, Step-by-Step Tutorial)
Nate Herk | AI Automation
3 How to Create an RAG Chatbot AI Agent with n8n (No Code, Step-by-Step Tutorial)
How to Create an RAG Chatbot AI Agent with n8n (No Code, Step-by-Step Tutorial)
Nate Herk | AI Automation
4 Build your first NO CODE AI Agent in n8n (for beginners)
Build your first NO CODE AI Agent in n8n (for beginners)
Nate Herk | AI Automation
5 *LIVE BUILD* Personalized Outreach AI Agent in n8n (No Code)
*LIVE BUILD* Personalized Outreach AI Agent in n8n (No Code)
Nate Herk | AI Automation
6 *LIVE BUILD* Inbox Management AI Agent with n8n (NO CODE, Step-by-Step Tutorial)
*LIVE BUILD* Inbox Management AI Agent with n8n (NO CODE, Step-by-Step Tutorial)
Nate Herk | AI Automation
7 How to Build a Google Scraping AI Agent with n8n (Step By Step Tutorial)
How to Build a Google Scraping AI Agent with n8n (Step By Step Tutorial)
Nate Herk | AI Automation
8 How to Build a Client Onboarding AI Agent with n8n (Step-by-Step Tutorial, No Code)
How to Build a Client Onboarding AI Agent with n8n (Step-by-Step Tutorial, No Code)
Nate Herk | AI Automation
9 I Built a Personal Assistant AI Agent with No Code in n8n
I Built a Personal Assistant AI Agent with No Code in n8n
Nate Herk | AI Automation
10 Build a No-Code AI Chatbot (Step-by-Step Tutorial)
Build a No-Code AI Chatbot (Step-by-Step Tutorial)
Nate Herk | AI Automation
11 I Built an AI Agent that Automated my Inbox with n8n (No Code)
I Built an AI Agent that Automated my Inbox with n8n (No Code)
Nate Herk | AI Automation
12 Step-By-Step: Add 100+ Files to Pinecone for RAG AI Agent with n8n
Step-By-Step: Add 100+ Files to Pinecone for RAG AI Agent with n8n
Nate Herk | AI Automation
13 n8n Masterclass: Build AI Agents & Automate Workflows (Beginner to Pro)
n8n Masterclass: Build AI Agents & Automate Workflows (Beginner to Pro)
Nate Herk | AI Automation
14 Scrape Google for LinkedIn Profiles in Seconds with n8n
Scrape Google for LinkedIn Profiles in Seconds with n8n
Nate Herk | AI Automation
15 Step By Step: Automating Lead Nurturing with No Code in n8n
Step By Step: Automating Lead Nurturing with No Code in n8n
Nate Herk | AI Automation
16 n8n AI Agent Masterclass | AI Nodes Made Simple
n8n AI Agent Masterclass | AI Nodes Made Simple
Nate Herk | AI Automation
17 AI Personal Assistant 2.0 | This Agent Calls Other Agents (No Code) in n8n
AI Personal Assistant 2.0 | This Agent Calls Other Agents (No Code) in n8n
Nate Herk | AI Automation
18 The Best Way to Give AI Agents Tools in n8n
The Best Way to Give AI Agents Tools in n8n
Nate Herk | AI Automation
19 I Scraped, Researched, and Created Outreach for 16,846 Leads using Godmode HQ
I Scraped, Researched, and Created Outreach for 16,846 Leads using Godmode HQ
Nate Herk | AI Automation
20 AI Agent Prompting Masterclass: Beginner to Advanced
AI Agent Prompting Masterclass: Beginner to Advanced
Nate Herk | AI Automation
21 How to Build an AI Slack Assistant in 5 Minutes (Chatbase)
How to Build an AI Slack Assistant in 5 Minutes (Chatbase)
Nate Herk | AI Automation
22 Step by Step: Scrape UNLIMITED Emails for FREE with n8n
Step by Step: Scrape UNLIMITED Emails for FREE with n8n
Nate Herk | AI Automation
23 Chains vs AI Agents in n8n #artificialintelligence #shorts
Chains vs AI Agents in n8n #artificialintelligence #shorts
Nate Herk | AI Automation
24 Step by Step: RAG AI Agents Got Even Better
Step by Step: RAG AI Agents Got Even Better
Nate Herk | AI Automation
25 n8n vs Make.com #artificialintelligence #coding #agentgpt #techtok
n8n vs Make.com #artificialintelligence #coding #agentgpt #techtok
Nate Herk | AI Automation
26 How to Build a Personal Assistant AI Agent in n8n (Step-by-Step, No Code)
How to Build a Personal Assistant AI Agent in n8n (Step-by-Step, No Code)
Nate Herk | AI Automation
27 Personal Assistant AI Agent in n8n  #n8n #coding #agentgpt #artificialintelligence
Personal Assistant AI Agent in n8n #n8n #coding #agentgpt #artificialintelligence
Nate Herk | AI Automation
28 Set up Google Credentials in n8n in 5 minutes (2025)
Set up Google Credentials in n8n in 5 minutes (2025)
Nate Herk | AI Automation
29 5 n8n Tips You NEED to Know
5 n8n Tips You NEED to Know
Nate Herk | AI Automation
30 Build this Multi AI Agent System for Research and Content Creation in n8n
Build this Multi AI Agent System for Research and Content Creation in n8n
Nate Herk | AI Automation
31 Vector Database Optimization with n8n: Metadata, Text Splitting, & Embeddings
Vector Database Optimization with n8n: Metadata, Text Splitting, & Embeddings
Nate Herk | AI Automation
32 Are you doing these things to optimize your Vector Database?  #artificialintelligence #n8n
Are you doing these things to optimize your Vector Database? #artificialintelligence #n8n
Nate Herk | AI Automation
33 This AI Agent Extracts Text From Images in n8n
This AI Agent Extracts Text From Images in n8n
Nate Herk | AI Automation
34 This Invoice Agent Analyzes Images in n8n  #techtok #agentgpt #artificialintelligence #n8n
This Invoice Agent Analyzes Images in n8n #techtok #agentgpt #artificialintelligence #n8n
Nate Herk | AI Automation
35 The Best RAG System On YouTube (Steal This!)
The Best RAG System On YouTube (Steal This!)
Nate Herk | AI Automation
36 RAG System 2.0 | Effortless RAG in n8n  #artificialintelligence #n8n #aiagent #RAG
RAG System 2.0 | Effortless RAG in n8n #artificialintelligence #n8n #aiagent #RAG
Nate Herk | AI Automation
37 Understanding APIs in n8n (as a beginner)
Understanding APIs in n8n (as a beginner)
Nate Herk | AI Automation
38 Understanding APIs in n8n #n8n #artificialintelligence #api
Understanding APIs in n8n #n8n #artificialintelligence #api
Nate Herk | AI Automation
39 How I Built an AI Agent to Automate my Emails in n8n (Step by Step, No Code)
How I Built an AI Agent to Automate my Emails in n8n (Step by Step, No Code)
Nate Herk | AI Automation
40 This AI Agent automates my customer support emails. #n8n #aiagent #artificialintelligence
This AI Agent automates my customer support emails. #n8n #aiagent #artificialintelligence
Nate Herk | AI Automation
41 Everything I Learned About AI Agents in 2024 in 19 Minutes
Everything I Learned About AI Agents in 2024 in 19 Minutes
Nate Herk | AI Automation
42 Build AI Agents for $0.014 with DeepSeek V3 in n8n
Build AI Agents for $0.014 with DeepSeek V3 in n8n
Nate Herk | AI Automation
43 Having an Actual Conversation with Data Using an ElevenLabs Voice Agent and n8n
Having an Actual Conversation with Data Using an ElevenLabs Voice Agent and n8n
Nate Herk | AI Automation
44 Having an ACTUAL conversation with my data using ElevenLabs Voice Agent #aiagent #elevenlabs
Having an ACTUAL conversation with my data using ElevenLabs Voice Agent #aiagent #elevenlabs
Nate Herk | AI Automation
45 ElevenLabs Voice Agents Are So Easy to Build (No Code!)
ElevenLabs Voice Agents Are So Easy to Build (No Code!)
Nate Herk | AI Automation
46 How I'd Teach a 10 Year Old to Build AI Agents (No Code, n8n)
How I'd Teach a 10 Year Old to Build AI Agents (No Code, n8n)
Nate Herk | AI Automation
47 How I Built A Technical Analyst AI Agent in n8n With No Code
How I Built A Technical Analyst AI Agent in n8n With No Code
Nate Herk | AI Automation
48 This AI Agent Analyzes Stock Indicators! #n8n #artificialintelligence  #coding #agentgpt #techtok
This AI Agent Analyzes Stock Indicators! #n8n #artificialintelligence #coding #agentgpt #techtok
Nate Herk | AI Automation
49 I Built a Team of Research Agents for Newsletter Automation in n8n (No Code)
I Built a Team of Research Agents for Newsletter Automation in n8n (No Code)
Nate Herk | AI Automation
50 This Team of AI Research Agents Automated My Newsletters! #n8n #artificialintelligence #aiagent
This Team of AI Research Agents Automated My Newsletters! #n8n #artificialintelligence #aiagent
Nate Herk | AI Automation
51 The Ultimate n8n Starter Kit (2025) (Free)
The Ultimate n8n Starter Kit (2025) (Free)
Nate Herk | AI Automation
52 Two Ways to Save 96% of Your Money Using DeepSeek R1 in n8n
Two Ways to Save 96% of Your Money Using DeepSeek R1 in n8n
Nate Herk | AI Automation
53 How to Actually Build Agents with DeepSeek R1 in n8n (Without OpenRouter)
How to Actually Build Agents with DeepSeek R1 in n8n (Without OpenRouter)
Nate Herk | AI Automation
54 This Voice Agent Sends Emails for You #artificialintelligence #n8n #aiagent  #coding #agentgpt
This Voice Agent Sends Emails for You #artificialintelligence #n8n #aiagent #coding #agentgpt
Nate Herk | AI Automation
55 Best Model for RAG? GPT-4o vs Claude 3.5 vs Gemini Flash 2.0 (n8n Experiment Results)
Best Model for RAG? GPT-4o vs Claude 3.5 vs Gemini Flash 2.0 (n8n Experiment Results)
Nate Herk | AI Automation
56 How to Locally Host DeepSeek R1 for FREE in Under 10 Minutes in n8n
How to Locally Host DeepSeek R1 for FREE in Under 10 Minutes in n8n
Nate Herk | AI Automation
57 OpenAI Fires Back at DeepSeek With a New Reasoning Model: o3-mini (n8n AI Agent)
OpenAI Fires Back at DeepSeek With a New Reasoning Model: o3-mini (n8n AI Agent)
Nate Herk | AI Automation
58 Run DeepSeek R1 Locally in Under a Minute  #coding #artificialintelligence #n8n #deepseek
Run DeepSeek R1 Locally in Under a Minute #coding #artificialintelligence #n8n #deepseek
Nate Herk | AI Automation
59 I Built the Ultimate Team of AI Agents in n8n With No Code (Free Template)
I Built the Ultimate Team of AI Agents in n8n With No Code (Free Template)
Nate Herk | AI Automation
60 I Built the Ultimate Team of Agents in n8n  #artificialintelligence #n8n #agentgpt  #techtok #coding
I Built the Ultimate Team of Agents in n8n #artificialintelligence #n8n #agentgpt #techtok #coding
Nate Herk | AI Automation

This video teaches viewers how to use Cloud Code and Claude to build an executive assistant, leveraging tools such as cron create and the loop skill to schedule reminders and tasks. By following the steps outlined in the video, viewers can create a custom executive assistant to streamline their workflow. The video also highlights the importance of natural language processing in ai coding.

Key Takeaways
  1. Set up a reminder using a cron create tool
  2. Use the loop skill to schedule recurring tasks
  3. Invoke the loop skill using a slash command or natural language
  4. Run a skill at a specified interval using the loop skill
  5. Set a one-time reminder using the Cloud Code interface
  6. Use the cron list tool to list scheduled loop tasks for the current session
  7. Use the cron delete tool to cancel scheduled loop tasks with the job ID
💡 The loop skill in Cloud Code allows users to schedule recurring tasks for up to 3 days at a time, making it a powerful tool for building an executive assistant.

Related Reads

📰
I ran a 110B LLM on 16GB of RAM. Here's the equation that predicts any model's speed on your machine
Learn how to predict a large language model's speed on your machine using a simple equation, and discover how to run a 110B LLM on limited RAM
Dev.to · Federico Sciuca
📰
A Fidelity-First Workflow for Editing GPT-Generated Text
Learn a fidelity-first workflow for editing GPT-generated text to improve its quality and readability
Dev.to · Bisrat
📰
Never Let the Model Pick the Tenant ID: Securing an LLM Agent in Go
Secure your LLM agent by controlling tenant ID selection and implementing server-side identity, OAuth, and rate limits to prevent unauthorized access
Dev.to · Jules Robineau
📰
The Research Assistant in the Room
Learn how to build a Research Assistant like Omnist in two weeks with a team of one, leveraging AI and ML concepts
Dev.to · Thomas Lee

Chapters (6)

Loop Feature Demo
1:02 How Loops Work
3:03 Live Walkthrough
5:32 Limitations
6:40 Loops vs Scheduled Tasks
8:15 Final Thoughts
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →