Anthropic just put Claude Code on autopilot.
A new feature called Routines, currently in research preview, lets developers define a coding task once and have Claude execute it automatically: on a schedule, in response to an HTTP POST, or triggered by a GitHub event like a new pull request. The agent runs on Anthropic-managed cloud infrastructure, so it keeps running whether or not your laptop is open.
Routines landed on Hacker News this week with 658 points and 372 comments, one of the largest discussions the Claude Code project has generated. The signal is real: developers are paying attention to this.
What a Routine Actually Does
The setup is a prompt, one or more GitHub repositories, and a set of triggers. Claude clones the repo fresh on each run, does whatever the prompt describes, and pushes its changes to a claude/-prefixed branch by default. You can allow unrestricted branch pushes if the workflow needs it, but the safe default keeps Claude from accidentally modifying main.
Three trigger types are available:
- Scheduled: run hourly, daily, on weekdays, or weekly. Custom cron expressions are supported via the CLI.
- API: a per-routine HTTP endpoint with a bearer token. Post a Sentry alert body or a failing test log to the endpoint, and Claude wakes up, reads the context, and opens a draft fix.
- GitHub events: pull request opened, release published, or other repository events, with optional filters by author, title, label, or draft status.
A single routine can combine all three. The example in the docs describes a PR review routine that also runs nightly and can be triggered by a deploy script. Each run creates a standalone session, visible at claude.ai/code/routines, where you can review what Claude did, leave feedback, or continue the conversation.
Routines are available on Pro, Max, Team, and Enterprise plans with Claude Code on the web enabled. Usage counts against standard subscription limits, and there’s a daily cap on routine runs per account.
Why We’re Watching
The boring version of this announcement is “Anthropic added a cron interface to Claude Code.” That’s not what this is.
Routines are the first time Anthropic has shipped an architecture where Claude can take persistent, consequential actions on a codebase without any human initiating the run. The feature is scoped carefully: pushes go to prefixed branches, actions use your connected GitHub identity so you can audit them, and the safety rails are visible. But the direction is clear. Anthropic is building infrastructure for coding agents that exist independently of a chat session, more like services than tools.
The HN response is significant context. Previous Claude Code releases generated noise from AI enthusiasts. This one is drawing detailed technical questions from working engineers asking how to integrate Routines into their CI pipelines and incident response flows. That’s a different kind of attention.
Watch whether GitHub Actions and similar CI platforms respond with similar scheduling features. If they do, it means the category is validated. If they don’t, it means they see Routines as niche enough to ignore for now, which would itself be telling.