NativeAIHub

Scheduling and Routines

All plans (cloud routines require Pro or higher)2 min read
/loop (Local Session)/schedule (Cloud)Desktop Tasks
Runs onYour machine, inside an active CLI sessionAnthropic cloud infrastructureYour machine, via Desktop app
Machine requiredYes, session must be openNo, works with laptop closedYes, machine must be awake
Minimum interval1 minute1 hour1 minute
Local file accessFull accessNo (fresh repo clone each run)Full access
Trigger typesTime based onlyTime, API endpoint, GitHub eventsTime based only
Permission promptsInherits from sessionNone (fully autonomous)Configurable per task
PersistenceSession scoped (7 day expiry)Persistent in cloud accountPersistent across app restarts
1

Quick polling

Use /loop for short lived monitoring: watching a deploy, babysitting CI, checking build status. Stops when you close the terminal.

2

Recurring local tasks

Use Desktop scheduled tasks when you need local file access and scheduled runs that survive session restarts, but do not need cloud independence.

3

Autonomous cloud jobs

Use /schedule routines for tasks that must run regardless of your machine state: daily PR reviews, weekly dependency audits, event driven automation.

Cloud routines are in research preview

Cloud routines (/schedule) run on Anthropic's managed infrastructure and keep working when your laptop is closed. This is a significant capability, but it is currently in research preview. Features, limits, and pricing may change. Routines require a claude.ai subscription (Pro, Max, Team, or Enterprise) and Claude Code CLI v2.1.81 or later.

Choosing the right scheduling tier

If you need to poll something for 30 minutes while you work, use /loop. If you need a daily task that runs on your machine with access to local files, use Desktop scheduled tasks. If you need a task that runs whether or not your computer is on, use /schedule cloud routines. All three can coexist, and you can start with /loop to prototype a task before promoting it to a cloud routine.