Claude Code Routines - Put Claude Code tasks on autopilot with smart routines
by•
Claude Code Routines runs AI coding automations on Anthropic-managed infrastructure, triggered by schedule, API call, or GitHub event to autonomously review PRs, triage backlogs, or verify deployments without keeping your laptop open. You don't need to manage cron jobs or servers manually. For engineering teams on Pro, Max, Team, or Enterprise plans.


Replies
Claude Code Routines is a new automation layer inside Claude Code that lets developers configure scheduled or event-triggered AI coding tasks with no cron jobs, no servers, and no infrastructure to maintain.
The problem: Developers already using Claude Code to automate their dev cycle were still managing cron jobs, infrastructure, and MCP server tooling themselves. The AI was capable, but the plumbing was on you.
The solution: A routine is a Claude Code automation you configure once, including a prompt, repo, and connectors, and then run on a schedule, from an API call, or in response to an event. Routines run on Claude Code's web infrastructure, so nothing depends on your laptop being open.
Features worth noting:
Three trigger types in one surface.
Scheduled routines — Triage, label, and post summaries automatically (hourly, nightly, or weekly)
API routines — Each routine gets its own endpoint + auth token; connect to deploy hooks, alerts, and dashboards
GitHub routines — Trigger on PRs via webhooks for reviews, triage, and auto-sync changes
Claude opens one session per PR and continues to feed updates from that PR to the session, so it can address follow-ups like comments and CI failures.
Who it's for: Engineering teams and solo devs who are already on Claude Code and have repetitive workflows they're currently handling with cron jobs, GitHub Actions, or manual scripts. Especially useful for on-call engineers who need faster alert triage and teams maintaining multi-language SDKs.
What repetitive dev workflow would you automate first if you had 15 routine runs a day?
P.S. I hunt the latest and greatest launches in tech, SaaS and AI, follow to be notified → @rohanrecommends
@rohanrecommends The GitHub routine that keeps one session per PR is the detail that makes this genuinely useful - most tools treat each push as isolated. Does the session retain context across force pushes too, or does that reset things?
@rohanrecommends what does runs on web signify?
Seems like a good idea especially trying to compete with OpenClaw that runs continuously. Could be useful to run cron jobs to scan code databases to increase code quality especially with the volume of code that Claude outputs. If it says what it's going to do then I think its a good addition. Would be nice if it developed a report on what it's learned during those cron sessions and how it will implement those thoughts into deeper levels of model customisation
I started using Claude Code for repetitive tasks and I'm saving 25 minutes per delivery. That's not a small number when you multiply it across a week. Now Routines is dropping and I'm actually excited — which doesn't happen often.
So Claude Code can now babysit your PRs overnight without your laptop staying open. For on-call engineers drowning in repetitive triage, that's not a small thing. Curious how the 15 daily routine limit holds up for bigger teams in practice. 🤔
UXPin Merge
Claude keeps showing up in more workflows lately, especially for coding and long-form thinking. Curious what you see as the biggest unlock with things like Code Routines?
@uxpinjack i feel we no longer have to be the plumber trying to connect diff parts but this feature sounds interesting!
Love this! I use Claude Code daily to build my security scanner. Routines could be a game changer for repetitive scanning workflows.
I'm saving 25 minutes per delivery on repetitive tasks thanks to Claude Code. I can't wait to see what Routines can do.
Love that it runs on Anthropic's infrastructure so you're not babysitting your laptop. That detail alone makes it actually usable
i thought it's already been live. i saw some tutorial videos about /routine feature on youtube yesterday.