Anthropic · 2026-04-14 · major
Claude Code Routines — Scheduled Automations for Code Maintenance
Anthropic launches routines for Claude Code in research preview — automated tasks that fix bugs, review PRs, or respond to events on a schedule or webhook trigger, running on Anthropic's infrastructure without needing your machine online.

Claude Code can now fix bugs and review PRs on autopilot — even when your laptop is closed.
Key specs
| Daily limits (pro) | 5 routines |
|---|---|
| Daily limits (max) | 15 routines |
| Daily limits (team/enterprise) | 25 routines |
| Availability | Research preview |
What is it?
Routines are Claude Code automations that you configure once with a prompt, repository, and connectors, then execute on a schedule, via API call, or in response to GitHub events. They run entirely on Anthropic's web infrastructure, so your local machine does not need to be online. The feature launched April 14, 2026 as a research preview for Pro, Max, Team, and Enterprise subscribers.
How does it work?
You define a routine with a prompt and optional repository/connector access, then pick a trigger: scheduled (hourly, nightly, weekly), API (each routine gets an endpoint and auth token), or GitHub webhook (fires on PR events, comments, CI failures). Claude creates a session per run, executes the task, and posts results. GitHub webhook routines spawn separate sessions per matching PR and process updates as they arrive. Routines have access to your repos and any connectors you enable (Slack, Asana, etc.).
Why does it matter?
The promise of AI coding agents is that they do the grunt work while you sleep — but until now you had to keep a process running somewhere. Routines shift that burden to Anthropic's cloud. Nightly bug triage, automated code reviews, deployment verification, and cross-language porting become set-and-forget tasks. Early teams are using routines for backlog grooming and alert resolution.
Who is it for?
Teams using Claude Code who want hands-off automation for maintenance, review, or triage tasks.
Try it
Open Claude Code settings and look for Routines under the web dashboard.