Post

HN
Hacker News (Newest)

Routines in Claude Code

Article URL: https://claude.com/blog/introducing-routines-in-claude-code Comments URL: https://news.ycombinator.com/item?id=47788924 Points: 1 # Comments: 0

Article URL: https://claude.com/blog/introducing-routines-in-claude-code

Comments URL: https://news.ycombinator.com/item?id=47788924

Define repeatable routines that work your backlog, review your PRs, and respond to events in the cloud.

Today, we're introducing routines in Claude Code in research preview. 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. Routines run on Claude Code’s web infrastructure , so nothing depends on your laptop being open.

Developers already use Claude Code to automate the software development cycle, but until now, they've managed cron jobs, infrastructure, and additional tooling like MCP servers themselves. Routines ship with access to your repos and your connectors , so you can package up automations and set them to run on a schedule or trigger.

Give Claude Code a prompt and a cadence (hourly, nightly, or weekly) and it runs on that schedule:

If you're using /schedule in the CLI, those tasks are now scheduled routines.

You can also configure routines to be triggered by API calls. Every routine gets its own endpoint and auth token. POST a message, get back a session URL. Wire Claude Code into your alerting, your deploy hooks, your internal toolsβ€”anywhere you can make an HTTP request: