Claude Code introduces routines that allow users to schedule tasks or trigger them in response to specific events.
Anthropic is giving Claude Code a new routines feature. These routines are designed to improve the automation process for developers. By setting up a configuration once, users can schedule their automations at fixed times or have them react to specific events such as API calls or GitHub events.
Easy scheduling
Users can schedule tasks at times that suit them best. For example, Claude Code can fix a tedious bug and open a draft PR every day at 2 AM. Such automation saves time and resources, ensuring that tasks are carried out consistently and efficiently without continuous developer supervision.
Automation via API routines and Webhooks
In addition to scheduled routines, Claude Code offers the ability to trigger routines via API calls. This is intended to give developers flexible control to integrate automations with their existing tools or internal dashboards. Anthropic states that routines can also be configured to start automatically upon GitHub events, such as submitting a pull request.
