Routines are cloud-hosted automation for Claude Code: define a prompt, select a repo, set a trigger (schedule, API call, or GitHub event), and Claude runs it autonomously — even when your laptop is closed.
Setup guide for Claude Code Routines — cloud-hosted automation that runs Claude autonomously on a schedule, API call, or GitHub event, even when your laptop is closed.
Claude Code Routines launched in April 2026 to 707 points on Hacker News. They’re not local slash commands — they’re cloud-hosted automation that runs Claude Code on Anthropic’s infrastructure, autonomously, on any trigger you configure.
You’ll get:
Developers and teams who use Claude Code and want to automate repetitive tasks that currently require someone to manually run them. If you’ve thought “I wish this ran automatically every night” or “I want Claude to review every PR without me triggering it” — Routines is exactly that.
Also for anyone who wants to wire Claude Code into existing pipelines: monitoring tools, CI/CD systems, deploy scripts — anything that can make an HTTP POST can now trigger a Claude session.
Before Routines, Claude Code required a person to start every session. With Routines, Claude runs as a persistent cloud service. Your PR review checklist, your nightly triage, your post-deploy smoke test — these become autonomous processes that just happen, on schedule or on event, while you’re doing other work.