Skip to content
InnovateTechie
Claude AI

Claude Routines: Scheduled Tasks That Run on a Cadence

InnovateTechieBy InnovateTechie10 min read
Share
Claude routines dashboard showing scheduled tasks running on a cadence

Quick answer

Claude routines are saved Claude Code configurations — a prompt, repositories, and connectors — that run automatically on Anthropic's cloud on a schedule, an API call, or a GitHub event. They put recurring agent work on autopilot, so a task fires on a cadence without you starting it each time.

Key takeaways

  • Claude routines support three trigger types that can combine in one routine — a recurring schedule, an on-demand API call via HTTP POST with a bearer token, and GitHub events like a pull request opening.
  • Daily run caps differ by plan: Pro allows up to 5 routine runs per day, Max up to 15, and Team and Enterprise up to 25.
  • By default, a routine can only push to `claude/`-prefixed branches — a guardrail Anthropic recommends keeping in place since routines run entirely without approval prompts.
  • The minimum scheduling interval is one hour, and any cron expression requesting a more frequent cadence gets rejected.
  • Routines are created at claude.ai/code/routines or with `/schedule` in the CLI, and the creation form's model selector currently recommends Claude Opus 5 for judgment-heavy jobs.
  • A green run status only confirms the session started and exited without an infrastructure error — it does not mean the task actually succeeded, so routines need their own built-in reporting to a channel you monitor.

If you have ever wanted Claude to send you a morning briefing, run a weekly research digest, or check something every night while you sleep, that is exactly the gap routines fill. Instead of opening a session and re-typing the same prompt, you save the work once and let it run. This guide explains what claude routines really are, which surfaces support scheduling today, the use cases that fit, and the guardrails that matter when an agent acts without you watching.

What Claude Routines Actually Are

A routine is a self-contained unit of automation. You give it a prompt that describes the job, pick one or more GitHub repositories for it to work in, choose which connectors it can reach, and attach a trigger that decides when it runs. From then on, Claude executes the whole thing autonomously as a full cloud session — it can browse files, run shell commands, read test output, and open pull requests, using the same abilities it has in an interactive session.

The important detail is where it runs. According to Anthropic's official routines documentation, routines execute on Anthropic-managed cloud infrastructure, not your laptop. That is the whole point: your machine can be closed and the scheduled tasks still fire. Think of a routine like a cron job, except instead of running a fixed shell script, you are scheduling an agent that understands your codebase and can decide what to do based on what it finds.

Routines support three trigger types, and a single routine can combine them:

  1. Scheduled — run on a recurring cadence such as hourly, nightly, weekly, or weekdays, or once at a specific future time.
  2. API — trigger on demand by sending an HTTP POST to a per-routine endpoint with a bearer token, so an alerting tool or deploy pipeline can start a run.
  3. GitHub — run automatically in response to repository events such as a pull request opening or a release publishing.

Anthropic notes that routines are in research preview, so limits and the exact interface may shift. That is a fair reason to check the official docs before you build anything you depend on.

Claude routines running scheduled tasks on a cadence in the cloud

Which Surfaces Actually Let You Schedule Today

This is where honesty matters, because "run Claude on a schedule" can mean several different things. Some are native, some are do-it-yourself. Here is the accurate picture of what schedules Claude work and how much plumbing you own.

SurfaceNative scheduling?Best for
Claude Code routines (cloud)Yes — schedule, API, and GitHub triggersRecurring repo work, digests, PR review that runs with your laptop closed
Desktop scheduled tasksYes — local, runs on your machineJobs that need your local files and only run while the app is open
/loop in-session schedulingPartial — within an open CLI sessionRepeating a task during a session you are already running
Cowork / Dispatch background tasksDelegation, not a clockHanding off multi-step work to run in the background now
Anthropic API + your own cronDIY — you own the schedulerFull control, custom timing, non-repo automation

The native option most people mean by claude routines is the cloud feature inside Claude Code. It is available on Pro, Max, Team, and Enterprise plans with Claude Code on the web enabled, and you create one at claude.ai/code/routines or by typing /schedule in the CLI. If you are new to the underlying tool, our explainer on what Claude Code is is a good starting point before you wire up scheduled tasks.

There is also a genuinely local path. Desktop scheduled tasks run on your own machine rather than the cloud, which matters when a job needs access to local files. In the Desktop app you choose Remote for a cloud routine or Local for a desktop scheduled task — same idea, different execution environment.

Cowork is a different flavor of automation. It is about delegating background work rather than putting it on a clock, so it pairs well with routines rather than replacing them. If you are curious how that surface handles hand-offs, see what Claude Cowork is. And when no native scheduler fits — say you want Claude to summarize a data feed that lives outside a repo — the always-available route is the Anthropic API called from your own cron or scheduler, which our Claude API getting started guide covers end to end.

Good Use Cases for Claude Routines

Routines shine when the work is unattended, repeatable, and tied to a clear outcome. The official docs list several patterns, and they map neatly onto everyday needs.

Morning briefings are the classic one, and Anthropic's announcement of routines in Claude Code frames them exactly this way. A schedule trigger runs every weeknight, reads issues opened since the last run through a connector, applies labels, assigns owners, and posts a summary to Slack so your team starts the day with a groomed queue. Recurring research digests work the same way — scan what changed since yesterday and hand back a short readout.

Scheduled report generation is another strong fit. A weekly routine can scan merged pull requests, flag documentation that references changed APIs, and open update PRs for an editor to review. Monitoring and alert triage lean on the API trigger: your monitoring tool POSTs to the routine's endpoint when an error threshold is crossed, and the routine pulls the stack trace, correlates it with recent commits, and drafts a pull request with a proposed fix. On-call reviews a draft instead of starting from a blank terminal.

Because a routine can call any connector you attach, the reach is broad — Slack, Linear, your issue tracker, and more. Managing what a routine can touch is exactly what Claude connectors are for, so scope them deliberately. For heavier automations that split work into specialist steps, pairing routines with Claude Code subagents keeps each part of the job focused.

Claude routines use cases including briefings, digests, and monitoring

Honest Caveats Before You Automate

Scheduled agents are powerful precisely because nobody is watching — which is also the risk. A few caveats are worth internalizing before you turn anything on.

First, routines run without approval prompts. There is no permission picker during a run, so what a routine can reach is decided entirely by the repositories, environment, and connectors you attach. By default Claude can only push to claude/-prefixed branches, which is a sensible guardrail; do not lift that restriction unless you have a specific reason. Never point an unattended routine at destructive actions on a timer. Scope it to draft PRs and read-heavy work, and keep a human in the review loop.

Second, cost adds up. Routines draw down your subscription usage the same way interactive sessions do, and there is a daily cap on how many runs can start. On the current plans, Pro allows up to 5 routine runs per day, Max up to 15, and Team and Enterprise up to 25. If a job runs every hour, that adds up fast, so match the cadence to how often the answer actually changes.

Third, failures need alerting because nobody is watching. A green status only means the session started and exited without an infrastructure error — it does not mean your task succeeded. Blocked network requests, missing connector tools, and task-level mistakes all hide behind that green dot, so build a check into the prompt (for example, have the routine post "no changes needed" or a failure note to a channel you monitor). This is a different mindset from event-driven Claude Code hooks, which react to something you did; a routine acts on its own clock, so you have to design its own reporting.

A quick freshness note on models: the routine creation form includes a model selector, and the newest option — currently Claude Opus 5 — is worth choosing for judgment-heavy jobs, while a lighter model keeps a high-frequency routine cheaper.

How to Start Simple

Do not build a fleet of claude routines on day one. The reliable path is to prove one small routine, then expand.

  • Pick one job you already do by hand, such as a nightly summary of yesterday's merged PRs.
  • Write a self-contained prompt — because the routine runs alone, it must state exactly what to do and what success looks like.
  • Set a modest cadence (daily, not hourly) and use Run now to test it immediately.
  • Scope repositories and connectors to only what the job needs, and leave branch pushes restricted.
  • Watch the first few runs, read the transcripts, and only then add triggers or frequency.

From the CLI you can create one conversationally — for instance /schedule daily PR review at 9am — and Claude walks you through the same details the web form collects. One-off runs like /schedule in 2 weeks, open a cleanup PR are handy reminders that fire once and then disable themselves.

Scheduling has four surfaces, not one — Claude schedule compares them on cadence, cost, and what silently breaks.

Frequently Asked Questions

Claude routines are saved Claude Code automations — a prompt, repositories, and connectors — that run on Anthropic's cloud on a schedule, an API call, or a GitHub event. They let recurring agent work run without you starting a session each time, and they keep working when your laptop is closed.

Routines are available on Pro, Max, Team, and Enterprise plans that have Claude Code on the web enabled. Daily run caps differ by plan: Pro allows up to 5 runs per day, Max up to 15, and Team and Enterprise up to 25. Check the official docs for current limits since the feature is in research preview.

Scheduled routines support hourly, daily, weekdays, and weekly presets, plus one-off runs at a specific time. The minimum interval is one hour, and any cron expression that would run more frequently is rejected. Runs may start a few minutes after the scheduled time due to a consistent stagger.

No. Cloud routines run on Anthropic-managed infrastructure, so they fire whether or not your machine is on. If you specifically need access to local files, use a Desktop scheduled task instead, which runs on your own computer while the app is open.

They can be, with guardrails. Routines run without approval prompts, so scope their repositories, connectors, and network access tightly, keep branch pushes restricted to claude/ branches, and avoid destructive actions on a timer. Have the routine report results to a channel you watch, since a green status does not confirm the task succeeded.

Yes. If routines do not fit — for example a job outside a GitHub repo — call the Anthropic API from your own cron or scheduler and you control the timing entirely. That do-it-yourself route works on any plan and is the most flexible form of automation, though you own the plumbing and monitoring.
InnovateTechie

Written by

InnovateTechie

Writing about Claude and the Anthropic toolkit — models, Claude Code, pricing, features, and fixes, in clear, practical, hands-on guides tested by daily use.

View all posts →