Automate work with scheduled tasks changedroutines
Nearest release: v2.1.331, published under an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 23 Nov 2026 19:16 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 23 Nov 2026 19:37 UTC.
Upstream edited
Recorded here
Lines+4added
Lines−4removed
From line
95
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits53to this page, all time
The whole hunk
from line 95, old and new numbered
/
from line 95
9595
9696**4. Select repositories**
9797
98Expand **Advanced settings**. Under **Repository** on the **General** tab, select one or more GitHub repositories for Claude to work in.
98In the **Repository** row below **Trigger**, select one or more GitHub repositories for Claude to work in. If the row isn't there, expand **Advanced settings** and find **Repository** on the **General** tab.
9999
100100Each repository is cloned at the start of a run. Claude creates `claude/`-prefixed branches for its changes.
101101
102102**5. Select an environment**
103103
104After you select a repository, **Cloud environment** appears below it. Pick a [cloud environment](https://code.claude.com/docs/en/cloud-environments.md) for the task. If an environment is already selected, you can keep it or select a different one. Environments control what the cloud session has access to:
104Find **Cloud environment** below **Trigger**, or under **Advanced settings > General** if it isn't there, and pick a [cloud environment](https://code.claude.com/docs/en/cloud-environments.md) for the task. If an environment is already selected, you can keep it or select a different one. Environments control what the cloud session has access to:
105105
106106* **Network access**: set the level of internet access available during each run
107107* **Environment variables**: provide values Claude can use during each run. They're [visible to anyone who uses the environment](https://code.claude.com/docs/en/cloud-environments.md#what-carries-over-from-your-setup), so in an Anthropic-hosted environment, store keys for the APIs Claude calls during a run as [network secrets](https://code.claude.com/docs/en/cloud-environments.md#add-network-secrets) instead. That section also lists the requests that never get a secret
from line 117
117117
118118**7. Review connectors**
119119
120Switch to the **Connectors** tab of **Advanced settings**. All of your connected [MCP connectors](https://code.claude.com/docs/en/mcp.md) are included by default. Remove any the task doesn't need: Claude can use an included connector during a run, including writes. For when a run stops to ask you first, see [Permission prompts during a run](#permission-prompts-during-a-run).
120Expand **Advanced settings** and open the **Connectors** tab. All of your connected [MCP connectors](https://code.claude.com/docs/en/mcp.md) are included by default. Remove any the task doesn't need: Claude can use an included connector during a run, including writes. For when a run stops to ask you first, see [Permission prompts during a run](#permission-prompts-during-a-run).
121121
122122**8. Create the task**
123123
from line 437
437437
438438**2. Open the environment selector**
439439
440Go to **Advanced settings > General > Cloud environment**, expanding **Advanced settings** first if it's collapsed. Click the cloud icon showing your environment's name, such as **Default**.
440Find **Cloud environment** below **Trigger**, or under **Advanced settings > General** if it isn't there. Click the cloud icon showing your environment's name, such as **Default**.
441441
442442**3. Open the environment settings**
443443
No line in this hunk matches that.