# Source: https://code.claude.com/docs/en/routines.md # Fetched: 2026-05-06 ## Routines — Executive Summary **Routines** are saved Claude Code configurations that run automatically on Anthropic-managed cloud infrastructure. Each routine packages a prompt, one or more repositories, and a set of MCP connectors, then triggers on a schedule, API call, or GitHub event. Routines support three trigger types: **Scheduled** (recurring or one-off timing), **API** (HTTP POST with bearer token), and **GitHub events** (PR opened/closed/updated, releases). A single routine can combine multiple triggers. Key characteristics: - Run autonomously in cloud sessions with full tool access (Bash, Write, Edit, etc.) matching their configured permissions - Each session is isolated; GitHub-triggered routines spawn a new session per matching event - Connectors (Slack, Linear, Google Drive, etc.) and repositories are selected at creation time - Managed from the web UI at `claude.ai/code/routines`, the Desktop app, or the CLI (`/schedule`) - Charged against subscription usage like interactive sessions; scheduled runs count toward daily caps, one-off runs do not - Available on Pro, Max, Team, and Enterprise plans with Claude Code on the web enabled Common use cases: PR review, alert triage, deploy verification, backlog maintenance, docs drift detection, library porting between SDKs. For detailed setup instructions, see the full documentation.