Claude Code is adding a routine feature that allows tasks to be executed automatically based on certain conditions, such as 'automatically checking pull requests.'



On April 14, 2026, Anthropic implemented a routine function in its autonomous coding support tool, 'Claude Code.' This routine function allows users to automatically execute specific tasks based on predefined conditions.

Introducing routines in Claude Code | Claude
https://claude.com/blog/introducing-routines-in-claude-code





Routines are a feature that automatically runs Claude Code in response to various triggers. Since processing takes place on Anthropic's servers, you don't need to keep your PC powered on. You need to configure 'triggers' and 'prompts' beforehand, and you can also access repositories and connectors.

For example, setting a 'Schedule' trigger allows you to perform a specific action at a certain date and time. Anthropic seems to envision uses such as 'retrieving the top bugs from the project management tool Linear at 2 AM every day, attempting to fix them, and submitting a pull request.'




Each routine has its own API endpoint, so it can be embedded anywhere an HTTP request can be made, such as sending alerts directly or setting up deployment hooks and internal tools. Apparently, sending a message via POST will return a session URL.




Webhooks that can be triggered in specific situations are also available. As of the time of writing, it is possible to subscribe to 'GitHub repository events' and perform actions such as 'automatically checking pull requests.' It has been stated that there are plans to enable triggering for even more different events in the future.




The routine feature is available to all paid plan users with the web version of Claude Code enabled. Running routines counts towards your subscription usage limit, just like interactive sessions, and there are also daily limits on the number of routines you can run, depending on your plan. Pro plan subscribers can run up to 5 routines per day, while Max plan users can run up to 15 routines per day.

Please note that the routine functionality is currently in a research preview release, and its operation, limitations, and API specifications may change in the future.

in AI,   Web Service, Posted by log1d_ts