Claude Code Routines: Automated Cloud Tasks for AI Development Workflows

Claude Code Routines are saved configurations that package a prompt, one or more repositories, and connectors into automated tasks that execute on Anthropic-managed cloud infrastructure. This means routines continue running even when your local machine is offline.
How Routines Work
Each routine can have multiple trigger types attached:
- Scheduled triggers: Run on recurring cadences like hourly, nightly, or weekly
- API triggers: Execute on demand via HTTP POST to a per-routine endpoint with bearer token authentication
- GitHub triggers: Run automatically in response to repository events including pull requests, pushes, issues, or workflow runs
A single routine can combine multiple triggers. For example, a PR review routine could run nightly, trigger from a deploy script via API, and also react to every new pull request.
Practical Use Cases
The documentation provides several concrete examples of routine applications:
- Backlog maintenance: A schedule trigger runs nightly against your issue tracker via connector, reads new issues, applies labels, assigns owners based on code areas, and posts summaries to Slack
- Alert triage: Monitoring tools call the routine's API endpoint when error thresholds are crossed, passing alert bodies as text. The routine pulls stack traces, correlates with recent commits, and opens draft PRs with proposed fixes
- Bespoke code review: GitHub triggers on pull_request.opened apply team-specific review checklists, leave inline comments for security/performance/style issues, and add summary comments
- Deploy verification: CD pipelines call the routine's API endpoint after production deploys. The routine runs smoke checks, scans error logs for regressions, and posts go/no-go decisions to release channels
- Docs drift detection: Weekly schedule triggers scan merged PRs, flag documentation referencing changed APIs, and open update PRs against docs repositories
- Library porting: GitHub triggers on pull_request.closed (filtered to merged PRs) port changes to parallel SDKs in other languages and open matching PRs
Creating and Managing Routines
Routines are available on Pro, Max, Team, and Enterprise plans with Claude Code on the web enabled. You can create and manage them at claude.ai/code/routines or from the CLI with the /schedule command.
Creation options include:
- Web interface at claude.ai/code/routines
- Desktop app: Click "New task" and choose "New remote task" ("New local task" creates local Desktop scheduled tasks instead)
- CLI with
/schedulecommand
The creation form configures the routine's prompt, repositories, environment, connectors, and triggers. All creation methods write to the same cloud account, so routines created via CLI appear immediately in the web interface.
Current Status and Limitations
Routines are currently in research preview, meaning behavior, limits, and the API surface may change. They execute as full Claude Code cloud sessions without permission-mode prompts.
📖 Read the full source: HN AI Agents
👀 See Also

Agent Telephony Layer Goes Open Source: Give Your AI a Phone Number
A dev built an open-source telephony layer for AI agents, enabling them to call and text. It's REST + MCP, framework-agnostic, and has an OpenClaw skill.

ATLAS: Open-Source Test-Time Compute Pipeline for Qwen3-14B Achieves Frontier-Level Coding Performance
A college student has developed ATLAS, an open-source test-time compute pipeline built around Qwen3-14B that achieves 74.6% pass@1 on LiveCodeBench v5 problems at ~$0.004 per task in electricity costs. The system is slow for complex problems but offers comparable performance to frontier models like GPT-5 (84.6%) and Claude 4.5 Sonnet (71.4%).

Open Source GTM Plugin for Claude Code with 166 Marketing Skills and Bootstrap Command
A developer has released an open source Go-To-Market plugin for Claude Code that provides 166 specialized marketing skills across SEO, content, outbound, sales, growth, analytics, strategy, ads, social, CRM, and AI search. The plugin includes a /bootstrap command that interviews users about their brand to generate personalized context files.

OpenClaw Client Adds Live API Cost Tracking, Spending Caps, and Granular Agent Controls
OpenClaw Client now features live usage UI with circular progress bars, per-agent spending caps, sub-agent management, skill toggling, and model switching from different providers.