Claude Code Routines: Scheduled, API, and Webhook Automations
Claude Code adds Routines (preview) to run prompts on schedules, via API, or GitHub webhooks—no laptop needed. Automate triage, PR tagging, and fixes.
Claude Code now has: routines (in preview)
You set up a routine once (prompt, repository, and connectors), and it can run on a schedule, via an API call, or in response to an event.
Routines run in Anthropic’s web infrastructure, so you don’t need to keep your laptop on.
Each routine has its own API endpoint, so you can route alerts, deploy hooks, or internal tools directly into Claude. Try sending an alert payload and asking it to find the responsible service and post a triage summary in #oncall.
Make a POST request with a message and get a session URL in response.
Webhook routines subscribe to GitHub events and let Claude react to them as they come in. You can connect one to a repository and ask it to tag any PRs that touch /auth-provider and post a summary in #auth-changes.
Additional event sources are coming soon.
Scheduled routines let you set a cadence and not come back to the task. You can configure it so that every night at 2:00, Claude takes the top bug from Linear, tries to fix it, and opens a draft PR.
If you used /schedule in the CLI, it’s now routines—no migration needed.
Available now on all paid plans as long as Claude Code is enabled on the web. 🤔
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.
Related articles
All articlesDigUp: EmbeddingGemma 2 Powered Local Search App for macOS
DigUp uses Google’s open‑source EmbeddingGemma 2 to deliver fast, on‑device search of files, PDFs, photos, podcasts and videos on macOS.
OpenAI expands GPT‑6.1 context window to 500k tokens by default
OpenAI raised the default context window of GPT‑6.1 in Codex and ChatGPT Work from 272k to 500k tokens, with plans for further expansion.
Animator: AI-Powered Hand‑Drawn Video Generator from Text Prompts
Animator creates narrated hand‑drawn animation videos from a simple text prompt in seconds, generating script, scenes, narration and icons via Python.