HOW-TO GUIDE

How to run a Claude Code task in the cloud on a schedule or a GitHub event

Based on a guide by Anthropic on the Claude Code Docs · Nov 20, 2026

You'll end with: A saved Claude Code task with a prompt, repositories, and connectors that runs on a schedule, an API call, or a GitHub event.

Why it's worth having: Runs happen on Anthropic's cloud or your own self-hosted environment, so a nightly check keeps going with your laptop closed.

At a glance

WHO IT'S FOR
Engineers and analysts who keep scripts, reports, or checks in a GitHub repository.
LEVEL
Intermediate
COST
On Pro, Max, Ultra, Team, and Enterprise plans, as a research preview.
YOU NEED
A paid Claude plan · Claude Code · A GitHub repository · The connectors the task needs

The method, in short

  1. 1Write the prompt once, and pick the repositories and connectors the task can use.
  2. 2Create the task at claude.ai/code/routines, or from the Claude Code CLI with /schedule.
  3. 3Attach a trigger: a recurring schedule, an API call to the task's endpoint, or a matching GitHub event.
  4. 4Review each run's results and adjust the prompt before you widen what the task can touch.

Scheduled tasks, formerly routines, are a research preview, so behavior, limits, and the API can change.

More from The Feed

GRID

AMD is named tenant for a planned 160MW data center in Pennsylvania

Fit Energy USA filed a conditional use application for Project Phoenix, a data center on about 351 acres of former mining land in Mount Carmel Township, Pennsylvania.

THE FIRST BUILDING
The first single-story building is planned at 160MW of IT capacity across 482,895 sq ft.
THE PHASES
A first phase of two buildings totals 1.5M sq ft, and four more buildings totaling 1.85M sq ft follow.
THE POWER
Fuel cells are planned as primary power, with closed-loop liquid cooling and air-cooled chillers.
WHY IT MATTERS
5C PHL01 is negotiating to buy the site from Fit Energy, and AMD is listed as the intended end user of the Northumberland County campus.
Credit: Dan Swinhoe
ENERGY

Avina's Vernon hydrogen plant starts up on a 5MW Plug electrolyzer

Avina Clean Hydrogen's plant in Vernon, California, is now producing hydrogen on Plug Power's 5MW containerized GenEco PEM electrolyzer for heavy-duty truck fueling.

THE LOCATION
About 10 miles from the Port of Long Beach, serving fleets in the Los Angeles and Long Beach port complex.
THE FUELING
Round-the-clock fueling at 35 MPa and 70 MPa fills truck tanks past 95% in under 30 minutes.
THE FLEET
The unit joins more than 70 GenEco electrolyzers operating worldwide.
WHY IT MATTERS
The plant pairs on-site truck fueling with tube-trailer deliveries across the Los Angeles region, and it was built with the City of Vernon and Vernon Public Utilities.
Credit: Mary Bailey
GRID

DC Blox files for an 80MW third building at its Atlanta West campus

DC Blox filed a development of regional impact notice with Georgia for ATL1-C, a 500,000 sq ft data center at 1800 N River Road in Douglasville.

THE BUILDING
ATL1-C is an 80MW, 500,000 sq ft building set for completion in December 2029.
THE CAMPUS
The 100-acre Atlanta West campus is set to total 200MW across three buildings and 1.37M sq ft.
THE LEASING
The first two buildings are leased, and the 80MW third building is still available.
WHY IT MATTERS
DC Blox first planned two buildings at the site, the 80MW Building A and the 40MW Building B, and the third building takes the campus to 200MW.
Credit: Dan Swinhoe