Learning resourcesReviewed · Anthropic

Use Claude Code in the cloud

Anthropic's Claude Code cloud guide is for developers who want coding tasks to continue across devices, with access limited by eligible plans, organization settings and repository support. It explains GitHub authentication, cloud environments, terminal handoffs, local repository uploads and automatic pull request fixes, including platform-specific upload behavior and security limits.

Researched 24 Nov 2026

In short.

This is a practical guide to Claude Code cloud sessions for individual developers and teams, with the main catch that account eligibility, repository integration and environment limits determine which workflows are available. It documents sessions that continue after a laptop closes, access from several devices, terminal-to-cloud task creation and automatic responses to pull request activity. Important distinctions include remote cloning versus local repository uploads, cloud-to-terminal handoff creating a separate local copy, and auto-fix potentially triggering repository automation through comments. Subscription prices, exact usage allowances and code quality are not established. Nothing was executed or tested.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is the complete documentation page at [https://code.claude.com/docs/en/claude-code-on-the-web.md], including its access notices, authentication options, cloud environments, terminal workflows, upload rules, session controls, auto-fix behavior, security statements, troubleshooting and limitations. Linked quickstarts, environment references, pricing, security, data-usage and related feature pages are excluded. Their contents are not inferred from their links. Commands, uploads, handoffs, account settings, network controls and pull request automation were not run or tested; undocumented prices, retention terms and operational outcomes remain unknown.

The overview

Resource identity

The resource is Anthropic's documentation page titled Use Claude Code in the cloud, at [https://code.claude.com/docs/en/claude-code-on-the-web.md]. It teaches how to operate Claude Code sessions on cloud infrastructure; it is documentation rather than a downloadable coding tool.

A cloud session runs on Anthropic-managed infrastructure by default, or on an organization's self-hosted environment when routed there. The browser interface is available at [https://claude.ai/code], with additional entry points through mobile, the Desktop app, the terminal and cloud scheduled tasks.

Practical assessment

The guide is useful for deciding how to delegate coding work that should continue independently of a developer's laptop. Its strongest material explains operational details that can otherwise cause surprises: which repository contents reach the session, how authentication works, what terminal handoff preserves and what happens when an environment expires.

It is most directly applicable to developers using an eligible Claude subscription and GitHub. Developers using other repository hosts, unusual local checkout layouts or restricted enterprise configurations need to examine the documented exceptions. The page does not establish productivity gains, fix accuracy, startup reliability or performance on a particular codebase.

Who it serves

Individual developers can use the guide to start background tasks, monitor them from another device and continue a cloud conversation locally. Teams can use its guidance on repository access, environment configuration, change review and automatic pull request follow-up.

Beginners will need basic familiarity with Git repositories, branches, commits and pull requests. Experienced developers will find details on repository bundles, environment variables, CLI follow-up messages, organization policies and GitHub event handling. Administrators also have a role because organization settings and custom permissions can block access.

Documented capabilities

The page documents starting independent cloud sessions from the terminal with claude --cloud followed by a task description. Several sessions can run in parallel, although each command operates on one repository. Developers can inspect changes, leave inline comments, compare branches and create a pull request.

Auto-fix watches a pull request for failed continuous integration checks and review comments. Claude investigates events, pushes a fix when it judges one clear, and asks about ambiguous or architecturally significant requests. It can also reply to review threads using the user's GitHub account, with replies labeled as coming from Claude Code.

Other documented controls include permission modes, context inspection and compaction, repository-defined subagents, optional agent teams, and session sharing, archiving and deletion. CLI follow-ups use claude -p "your message" --cloud <session-id>; they queue a message and exit without waiting for a reply. JSON output is supported for this operation, while stream-json is not.

Using it

Access and prerequisites

Cloud sessions are documented for Pro, Max, Ultra and Team plans, plus Enterprise users with premium seats or Chat + Claude Code seats. Where custom roles govern access, a role must permit cloud sessions. Organization policy must also allow them. Organizations using Zero Data Retention, the HIPAA configuration or customer-managed encryption keys cannot use cloud sessions.

Terminal workflows require Claude Code signed in with a claude.ai account. API-key or Console authentication is insufficient, and cloud sessions are unavailable through third-party providers such as Amazon Bedrock or Google Cloud's Agent Platform. A gateway configured only through ANTHROPIC_BASE_URL is an exception to the provider check, but claude.ai sign-in is still required.

GitHub access can use the Claude GitHub App or /web-setup, which sends a local gh CLI token to the Claude account. Auto-fix and project threads specifically require the App on the relevant repositories. Team and Enterprise Quick setup is off by default; an Owner can enable it to expose /web-setup and simplify onboarding.

How cloud sessions work

Each session uses a saved cloud environment that controls network access, environment variables and setup scripts. Initial onboarding creates a Default environment with Limited network access when no environment exists. Detailed installed-tool lists and network allowlists are on linked pages and are not established here.

A normal GitHub-backed start clones the remote repository at the current branch rather than copying the local checkout. If there is no remote, or a github.com repository lacks the Claude GitHub App, the CLI instead uploads a repository bundle, even when /web-setup has connected GitHub. CCR_FORCE_BUNDLE=1 can force an upload.

According to the page, Anthropic-hosted sessions keep GitHub credentials and signing keys outside the VM, with a proxy authenticating Git operations. Configured network secrets are also attached outside the sandbox. Self-hosted deployments supply their own isolation, network restrictions and Git credentials. Disabling hosted network access still permits communication with the Anthropic API, so it does not prevent all data from leaving the VM.

Getting started

For browser use, connect GitHub during onboarding and choose the repository and environment. The page points to a separate first-session quickstart, whose full instructions are outside this resource. For terminal use, authenticate to the same claude.ai account, connect GitHub through an available method and start a task with claude --cloud.

When the session will clone from GitHub, push the intended branch first. If that branch is unavailable remotely, the session may start from a pushed ancestor or the default branch instead. A local plan must also be committed and pushed before a remotely cloned session can read it.

Before teleporting cloud work into a terminal, use a checkout of the same repository rather than a fork, commit or stash local changes, ensure the session's branch has been pushed and use the same account. Git fetch cannot prompt during teleport; SSH keys and host confirmation may need preparation through a manual fetch.

Illustrative use

A documented example is claude --cloud "Update the API documentation". In a repository configured for remote cloning, this starts a separate cloud session from the GitHub branch. The developer can continue local work, inspect the cloud session from another device and review its proposed changes.

If a pull request is created, the developer can enable Auto-fix from its menu in the Changes card, provided the Claude GitHub App is installed. The toggle is unavailable in repositories where PR Steward works on the user's pull requests, and requests to auto-fix a pull request that PR Steward is watching fail. Alternatively, claude --teleport <session-id> continues the conversation locally under the handoff requirements.

This is an illustrative sequence based on the documentation. No session was started, repository changed, pull request created or result verified.

Assessment & evidence

Important limits and failure modes

CLI handoff is one-way: --teleport brings a cloud conversation into the terminal, while --cloud creates a new session rather than moving an existing terminal conversation. The Desktop app has a separate local-to-cloud transfer option. After teleport, new terminal work stays local. Earlier messages summarized by cloud compaction are not copied in full.

Repository bundles require a Git repository with at least one commit and exclude untracked files. A full bundle includes history across branches and uncommitted changes to tracked files. There is a 100 MB limit, with current-branch and working-tree snapshot fallbacks before failure. On macOS, Linux and WSL, uploading requires Git 2.31 or later and supported checkout and configuration layouts.

Upload protections differ by platform. On macOS, Linux and WSL, uncommitted edits to credential-like files and files managed by Git filters are omitted. Native Windows uploads tracked-file edits regardless of filename. These exclusions do not establish that committed repository history is free of secrets.

Anthropic-hosted cloning and pull request creation require GitHub; GitHub Enterprise Server is supported on Team and Enterprise. Other hosts can be sent as forced local bundles, but sessions cannot push results back to those remotes. Separate self-hosted requirements are outside this page.

Idle environments expire. Reopening restores conversation history and tracking of outstanding MCP tasks, but background shell work, session-scoped schedules and waiting loops do not carry over. Subagents stop, although some may be resumable. The inactivity duration is not specified. Commands and startup hooks have configurable timeouts; setup scripts are cached only when they finish in roughly five minutes.

Auto-fix cannot independently react to merge conflicts caused by base-branch changes. The Auto-fix toggle is unavailable in repositories where PR Steward works on the user's pull requests, and requests to auto-fix a pull request that PR Steward is watching fail. Its GitHub comments can trigger comment-driven infrastructure or privileged automation. The Changes view can omit command-generated edits before a push and changes made after the last push, so it may not show every working-tree change.

Choosing an appropriate workflow

Based on the documented behavior, cloud sessions are a reasonable fit for bounded repository tasks that can proceed without continuous local interaction. Their ability to continue after a laptop closes supports background work, while shared usage limits and environment expiry constrain long or unattended jobs.

Remote cloning favors work already pushed to GitHub. Bundling can carry local tracked changes, but requires closer attention to history, omitted files and platform-specific upload behavior. Teleport is useful for continuing locally, but its separate conversation copy means it should not be treated as continuous synchronization. These are workflow implications, not measured productivity findings.

Related options

The page identifies Remote Control for steering a session that continues running on the developer's own machine. This is relevant when local execution is desired; it differs from creating a cloud session.

It also names self-hosted environments for execution on organization-managed infrastructure, Projects for coordinating related cloud sessions and cloud scheduled tasks for automated starts. These options are described only to the extent stated on this page. Their linked documentation and competing products were not assessed, so comparative cost or performance conclusions are unavailable.

Evidence and confidence

The evidence is the complete captured Anthropic documentation page at [https://code.claude.com/docs/en/claude-code-on-the-web.md].

This supports descriptions of documented functionality, commands, restrictions and vendor-stated security controls. It does not establish observed runtime behavior, independent security assurance, fix accuracy or benchmark results. No commands or integrations were executed, and linked pages are outside the evidence scope.

Access & freshness

Costs and usage limits

The page states that cloud sessions count toward the same plan usage limits as other Claude and Claude Code activity, with no separate charge for the cloud VM. Parallel sessions consume more of the shared allowance.

Subscription prices, exact allowances, task costs and the amount of work available before a limit is reached are unknown from this page. Self-hosted infrastructure costs are not specified. The absence of a separate VM charge does not establish unlimited or free use.

Rights and data handling

The page does not provide a documentation redistribution licence or establish ownership and reuse terms for generated code. Those rights remain unknown from this resource.

It describes encrypted server-side storage of GitHub credentials and says deleting a session permanently removes the session and its data. A complete retention, training-use or contractual data-handling policy is not included; the linked Data usage and Security pages were not assessed. Account and repository access permissions should therefore be distinguished from the rights and data terms that this page leaves unspecified.

Documentation freshness

The page was captured on 24 November 2026 at 20:36:55.744 UTC. No overall publication date or last-updated date is supplied in its text, so the capture date should not be treated as a release date.

The page requires Claude Code v2.1.271 or later for /fast in cloud environments and identifies a self-hosted rewind issue before v2.1.246. These are feature-specific thresholds, not a stated minimum version for every cloud workflow. The older --remote spelling is a deprecated alias for --cloud. Present service availability and installed versions were not independently checked.

Practical next steps

First confirm plan eligibility, organization permission and compatibility with enterprise data controls. Choose GitHub App access or /web-setup according to the features needed, remembering that auto-fix and project threads require the App.

Before starting, determine whether the session will clone the remote branch or upload a bundle. Push required commits for cloning; for bundling, inspect tracked contents and history, add intended new files to Git and account for platform-specific omissions. Configure the environment's network access, variables and setup script for the task.

Begin with a bounded change, inspect the resulting diff and verify that relevant changes have been committed and pushed before relying on the Changes view. Before enabling auto-fix, examine comment-triggered automation and decide whether automatic pushes and account-attributed replies fit the repository. After environment expiry, identify stopped work rather than assuming every background task resumed.

Evidence for this report

selected-page.txtselected · checked 2026-11-24