YouTube Deep SummaryYouTube Deep Summary

Star Extract content that makes a tangible impact on your life

Video thumbnail

Claude Routines Explained In 7 Minutes

Software Engineer Meets AI • 2026-04-24 • 7:36 minutes • YouTube

📚 Chapter Summaries (5)

🤖 AI-Generated Summary:

Mastering Claude Cloud Routines: How to Automate Smartly Without Breaking the Bank

Last week, Entropic launched an exciting new feature called Cloud Routines for Claude users. These cloud routines enable you to automate tasks and workflows by running saved prompt configurations on a schedule or triggered by external events. However, as with any powerful tool, improper use can lead to excessive token consumption—and potentially costly bills. After experimenting with cloud routines for a week, I’ve distilled five essential tips to help you use them efficiently and avoid wasting tokens.


What Are Claude Cloud Routines?

A Claude Cloud Routine is essentially a saved cloud code configuration that includes:

  • A prompt repository (the instructions Claude will follow)
  • A set of connectors (integrations with external tools and apps)

Routines run automatically on Claude’s managed cloud infrastructure, which means they continue working even if your computer is off. This feature is available on all paid subscriptions: Cloud Pro, Max, Team, and Enterprise.

What Are Connectors?

Connectors allow routines to interact with external applications and control input/output. There are two types:

  • Built-in connectors (GitHub, Slack, Jira, Google Drive, Notion, Gmail, Canva, etc.)
  • MCPs (custom connectors)

For example, you can create a routine that fetches emails from Gmail, processes them via Claude, and sends the results to Slack automatically.

How Are Routines Triggered?

There are three ways to trigger a routine:

  1. Scheduled — runs on a recurring cadence like hourly, daily, or weekly.
  2. API — triggered by an HTTP request with a bearer token.
  3. GitHub Events — triggered by GitHub activity such as commits or pull requests.

Creating Your First Cloud Routine

You can create routines either from the Claude website or using cloud code commands. Here’s a simple example:

Imagine you want to run a weekly competitor research task for your project alldevs.com, a free directory of daily developer tools.

  1. Click “Create Routine” on the Claude website.
  2. Name it something like needs.com competitor research.
  3. Set the instructions (prompt) clearly:
    “Search the web for competitors of alldevs.com. Provide a table with competitor names, URLs, tools they offer, and features missing from my site.”
  4. Choose the model (I recommend using Claude’s set 4.6 for efficiency).
  5. Set the trigger to a schedule—e.g., every Monday at 9:00 AM.
  6. Create the routine without any connectors if you don’t need external inputs or outputs.
  7. Run it manually once to test and view results.

This approach gives you a detailed, structured competitor analysis delivered automatically each week.


Managing Routines with Cloud Code

If you prefer working with code, Claude provides a /schedule command to manage routines programmatically. You can:

  • List existing routines
  • Create new routines
  • Update or delete routines
  • Trigger routines on demand

This flexibility allows developers to integrate routines seamlessly into their workflows and automate complex pipelines.


Five Tips to Save Tokens and Optimize Your Cloud Routines

Cloud routines consume tokens just like interactive chat sessions, and there are daily execution limits depending on your subscription. Here’s how to get the most value without draining your token budget:

1. Choose Lean, Well-Defined Tasks

Pick tasks that are straightforward, simple, and don’t require extensive context or large outputs. Examples include:

  • Summarizing emails or calendar events
  • Health checks
  • Pull request reviews
  • Release notes summaries
  • Dependency updates

Avoid using routines for massive refactors or complex feature creation, as these consume significant tokens and may not fit within routine constraints.

2. Specify Clear Output Formats

Be explicit about the output you want Claude to provide. For example, instead of asking for a generic competitor analysis, request a table format with specific columns (name, URL, tools, missing features). This reduces guesswork and token waste.

3. Select the Right Model

Avoid using large, expensive models like oppus for routine tasks. Instead, use lighter and cost-effective models like set 4.6 or haiku. For bigger tasks, consider running them outside the routine system.

4. Test Thoroughly Before Scheduling

Don’t set a routine to run on a schedule without testing it first. Run it manually, evaluate the output, and refine the prompt to ensure it does exactly what you want. This prevents repeated token consumption on faulty executions.

5. Never Expose Routines Publicly

Avoid creating routines that anyone on the internet can trigger. Without proper controls, malicious users could drain your token quota quickly. Keep routines private and triggered only by known schedules or secured API calls.


Final Thoughts

Claude Cloud Routines open up incredible possibilities for automating workflows and integrating AI into your daily tasks. By choosing the right tasks, specifying outputs clearly, selecting efficient models, testing thoroughly, and protecting your routines from abuse, you can harness this power without breaking the bank.

If you want to dive deeper, check out the official Claude website and experiment with your own cloud routines. And don’t forget to subscribe and like if you found these tips helpful—I’m here to help developers turn AI into real productivity workflows!

Happy automating!


Note: This post is based on hands-on experience with Claude Cloud Routines and best practices shared by the developer community.


📝 Transcript Chapters (5 chapters):

📝 Transcript (179 entries):

## Context For Claude Routines [00:00] So last week, Entropic released Cloud Routines. But as always with Entropic, with huge power comes huge token usage. After using cloud routines for a week, I've collected five tips. So using them won't make you broke. Let's start with what is cloud routines and create our first routine. If you already created one, you can skip this part. So what is ## What is a Claude Routine? [00:18] a cloud routine? A routine is a save cloud code configuration, a prompt repository, and the set of connectors. We'll see what is connector in a second. packed once and run automatically. Routines execute on a propics manage cloud. This part is important for the rest of the video. So they keep working when your laptop is closed and routines are available on all the paid subscription of cloud pro max team and enterprise. A connector allows you to communicate with your routine via external applications. There are two types of connectors builtin connectors and MCPs. Let's mention the popular connectors. We have GitHub, Slack, Jira, Google Drive, Notion, Gmail, and Canva. For example, we can create a routine that fetches our Gmail account, and when we receive one type of email, the prompt is executed. After we get a response, the response will be sent to our Slack. Connectors allows us to control the input and the output of the routine. There are three ways to trigger a routine. The first one is scheduled which means we're going to run on recurring cadence for example hourly, nightly or weekly. The second way is via API. Claude will receive HTTP request with a barrier token and this will execute the routine. And the last one is via GitHub. As we saw, GitHub is an built-in connector and you can track some of the events in GitHub and trigger routines automatically. So let's create ## How to create a Claude Routine [01:53] our first routine. You can create cloud routine both from cloud code and from the claude website. This is the website of claude. I'll put a link for this website in the description. Let's say I want to create a weekly routine to find competitors for one of my projects alldevs.com. This project contains daily developer tools and it's free so you can use it as well. So to create a routine we need to click on this button. Now we need to give our routine a name and instructions. instructions is the prompt we want claude to execute when this routine will be triggered. Let's call it needs.com competitor research and I want to execute this prompt. Search the web for competitors of alldevnits.com. Tell me which tools they have and what is missing from my site. The output should be in a table format. name of the competitor, URL, tool, and missing features. After that, we need to choose the model. I'm going to use set 4.6. We're going to talk about which model to choose in a second. I want this routine to be triggered on a daily basis. So, I'm not going to choose GitHub event or API. I'll go with schedule. And here I have weekly. Let's set it to 9 on Monday. For our example, I don't need any connectors. I can just create. So, let's click here. So, this is my routine. You can see that this routine is active and it runs every Monday on 9:00 a.m. And this is the prompt. Let's execute this routine and see what we get. We click here run now. That's great. We can see that the execution was completed. So, let's click on it. Here at the top we can see that it did a lot of web searches and after that it provided the output that I wanted competitor URL tools they have and what is missing from alldev needs.com you can see that I have a long list and ## Claude Code /schedule command [04:02] this is great as we mentioned we can also manage our routines via cloud code we need to use the schedule command the schedule command allows you to create update list or run schedule remote agent s on the chron schedule or once a specific time. So let's click on it. First of all, I want to see the routines we already have. So let's click on list. We have the routine we created alldees.com competitor research. We have another routine. We can also create a routine with this option. We can update the routine and we can also trigger from cloud code. By the way, I forgot to introduce myself. I help developers turn AI into real workflows. So sub and like it really helps me provide more value for you. But what about the token usage ## Tips to Save Tokens [04:47] of cloud routines? Routine usage tokens like the interactive sessions do. They also have a daily execution limit. For example, with the prop plan, you have five executions a day. But what can you do about it? Let's take one routine and apply the following tips to make sure it won't eat up your old tokens. So let's edit this routine. The first tip is to make sure we're choosing the right task for a routine. When we think about a task, we want it to be lean. We want the model to have the right context and to have all the info it needs in this prompt. We want to do something like a big refactor or create a major feature for our application because this will consume all the tokens and the context this model will have is not enough. So what is a good task for a routine? We want a straightforward task without any permission issues or any questions. These are examples of routines that Anthropic suggested. We have summaries of calendars, emails, messages, health check, PR review, release notes, dependency update and so on. What you can see that is common with these tasks that these are very lean and simple. The second tip is to have a clear output. For example, with this prompt, create a competitor research, it's not clear. The model will have to guess what the output should be. So using an exact output for like this one, the output should be in a table format and the attributes I want is much better. The next tip is to pick the right model. I'll never go with oppus. I'll use set and haiku. As you know, with a few executions of oppus, you can consume all your weekly limit. So I'm going to use set for these tasks. And if you think the task you wanted to execute is way bigger for set 4.6, don't use it as a routine. The next tip is to always test the routine you created. Don't expect it to run smoothly on the first time. Run it, test it, and make sure the output you receive is what you expect. And only after it passes this test, you can use it on a recurring basis. The last tip is critical. Never expose routine to the internet. So you don't have any control of the executions. Don't create any end format that will trigger a routine. That way one user can consumes all your tokens and you will be a victim to abuse. So make sure the routines you create are controlled and you know exactly when they're going to run. Clo routines is great, but if you want to save tokens, you must know the advisor command. Luckily, I created this video for