VOOZH about

URL: https://thenewstack.io/claude-code-can-now-do-your-job-overnight/

⇱ Claude Code can now do your job overnight - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2026-04-14 14:56:00
Claude Code can now do your job overnight
AI / AI Agents / CI/CD

Claude Code can now do your job overnight

API triggers, GitHub webhooks, and autonomous cloud execution s turn the coding agent into something closer to a background service.
Apr 14th, 2026 2:56pm by Frederic Lardinois
👁 Featued image for: Claude Code can now do your job overnight

On Tuesday, Anthropic launched an oft-requested feature for Claude Code: routines.

The idea here is that you can now run a given prompt on a schedule, or based on GitHub events (using webhooks) and API triggers from your own code.

In an earlier update this year, Anthropic introduced the /schedule command to its command-line tool, which allows developers to run prompts at a set time or interval. This is similar, but different.

“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,” Anthropic explains in its announcement.

Routines are essentially the next-gen version of /schedule, and with this update, existing scheduled tasks now automatically become routines. You can set them up from claude.ai/code on the web or as a remote task in the Claude desktop app.

👁 Image
Credit: Anthropic.

Three triggers: schedule, API, and webhooks

Anthropic notes that scheduled routines will be especially useful for triaging new issues every night, scanning for merged pull requests every week, and ensuring that a project’s documentation is still up to date. For routines that fire based on API pings, the company notes that this could be used for continuous deployment workflows, for example, where “Claude runs smoke checks against the new build, scans error logs for regressions, and posts a go/no-go to the release channel.”

Many teams have been stringing together similar setups with GitHub Actions and Claude in its -p headless mode. Now Anthropic can manage the session lifecycle for them.

For these routines, Claude Code becomes more of a background agent, especially when running GitHub routines with their per-pull-request continuity. Many teams have been stringing together similar setups with GitHub Actions and Claude in its -p headless mode. Now Anthropic can manage the session lifecycle for them.

👁 Image
Credit: Anthropic.

Cloud execution, subscription limits

To some degree, this is akin to scheduled tasks in Cowork, Anthropic’s Claude Code variant for knowledge workers.

A major difference, though, in addition to the API and GitHub triggers, is that while scheduled Cowork tasks can only run while your computer is on, Claude Code routines run on Anthropic’s web infrastructure. That’s not cheap, so users on Anthropic’s $20/month Pro accounts can only run 5 routines per day, while Max users (who pay $100 or $200 per month) will get 15 routines per day. Users on Team and Enterprise plans get up to 25 daily routine runs. That’s in addition to the regular token limits Anthropic enforces based on your plan — which are a bit opaque but seem to be getting stricter and stricter by the day.

While scheduled Cowork tasks can only run while your computer is on, Claude Code routines run on Anthropic’s web infrastructure.

One interesting aspect of these routines running in the cloud is that they run autonomously. As Anthropic notes, “there is no permission-mode picker and no approval prompts during a run.” These routines can run shell commands, access skills (if they are in the repository), and call connectors and MCP servers. 

It’s also worth noting that they are not shared across teams, and whatever they do across GitHub, Slack, and other tools is linked to the user’s identity.

Loops are still an option, too

One option that is still available for running long-lived session-scoped tasks is the `/loop` command. Loops live on your local machine and let you schedule recurring tasks, but they can only live for up to 7 days and do not persist across restarts.

TRENDING STORIES
Before joining The New Stack as its senior editor for AI, Frederic was the enterprise editor at TechCrunch, where he covered everything from the rise of the cloud and the earliest days of Kubernetes to the advent of quantum computing....
Read more from Frederic Lardinois
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Anthropic.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.