Official Docs Breakdown: Claude Code on the Web
hippo: Don’t want to open a terminal? Want Claude running code in the cloud? Want to work through multiple tasks in parallel? Claude Code on the web is the answer—still in research preview, yet already genuinely useful.
1. What Is Claude Code on the Web?
Claude Code on the web (claude.ai/code) lets you launch coding tasks from a browser or mobile device, executing asynchronously inside Anthropic-managed cloud VMs. There’s no terminal to open, nothing to install locally, and tasks keep running even after you close your laptop.
It is currently in research preview for Pro, Max, Team, and Enterprise users. You can also kick off tasks and monitor progress from the Claude mobile apps on iOS and Android.
Five best-fit scenarios:
| Scenario | Description |
|---|---|
| Answering questions | Exploring codebase architecture and how features are implemented |
| Bug fixes | Well-scoped tasks that don’t require frequent back-and-forth |
| Parallel work | Tackling multiple bug fixes at once, each running in its own isolated session |
| Remote repositories | Working on repositories you haven’t cloned locally |
| Backend changes | Letting Claude write tests first, then implement code until they pass |
2. Official Docs Breakdown
2.1 Getting Started and How It Works
5 steps to get started: Visit claude.ai/code → connect your GitHub account → install the Claude GitHub App on your repositories → choose a default environment → submit a coding task. Once complete, review the edits in the diff view, iterate through comments, and create a PR when everything looks right.
After submission, each task moves through a 6-stage pipeline: Repository clone (into an Anthropic-managed VM) → Environment setup (runs your setup script) → Network configuration (applies your egress policy) → Task execution (Claude analyzes the repo, edits files, and runs tests) → Completion notification → Push results (pushes changes to a branch).
The diff view is the web UI’s standout feature. Whenever Claude edits files, a +12 -1 indicator appears—click it to review changes file by file, leave feedback, and iterate across multiple turns without opening a draft PR or switching over to GitHub.
2.2 Switching Between Terminal and Web Sessions
Session handoff is the core capability of Claude Code on the web, and it is one-way: you can spin up a new web session from your terminal with --remote, and pull a web session back into your terminal with /teleport, but you cannot push an existing local terminal session up to the web.
Terminal to web (--remote):
1 | # Start a new session in the cloud |
The task runs asynchronously in the cloud while you move on to other work. Track its progress with /tasks.
Running multiple tasks in parallel—each command spawns an independent web session running concurrently:
1 | claude --remote "Fix the flaky test in auth.spec.ts" |
Pro tip: plan locally, execute remotely.
1 | # Step 1: Enter plan mode locally |
Web to terminal (/teleport): Web sessions keep running even after you shut down your machine; pull them back into your terminal whenever you want to take over. Four ways to teleport:
1 | # Option 1: Inside Claude Code (interactive picker) |
Four prerequisites for teleporting:
| Requirement | Details |
|---|---|
| Clean git state | Your working directory must have no uncommitted changes |
| Matching repository | You must run the command from the same repository (not a fork) |
| Branch available | The web session’s branch must already be pushed to the remote |
| Same account | You must be authenticated with the same claude.ai account |
2.3 Cloud Environments and Network Configuration
Pre-installed in the default image:
| Category | Included |
|---|---|
| Languages | Python 3.x, Node.js LTS, Ruby 3.1–3.3, Go, Rust, Java, PHP 8.4, C++ |
| Package managers | pip/poetry, npm/yarn/pnpm/bun, gem/bundler, cargo, Maven/Gradle |
| Databases | PostgreSQL 16, Redis 7.0 |
| Tooling | GCC, Clang, common linters, and test frameworks |
Run check-tools inside the cloud environment to inspect the full list of pre-installed tools and language versions.
Three network access levels:
| Level | Description |
|---|---|
| Limited (default) | Allows only allowlisted domains—200+ in total, covering major package registries (npm, PyPI, RubyGems, crates.io), cloud platforms (AWS, GCP, Azure), and container registries (Docker Hub, GHCR) |
| No internet | Disables outbound network access completely (connections to the Anthropic API remain allowed) |
| Full | Allows unrestricted internet access |
Setup scripts vs. SessionStart Hooks:
These are the two paths for configuring a cloud environment, and the distinction matters:
| Setup Scripts | SessionStart Hooks | |
|---|---|---|
| Attached to | Cloud environment config | Repository .claude/settings.json |
| Configured in | Cloud environment UI | Code repository |
| When it runs | Before Claude Code starts; new sessions only | After Claude Code starts; every session (including resumed ones) |
| Scope | Cloud environments only | Triggers both locally and in the cloud |
Example setup script (runs before Claude Code starts):
1 |
|
SessionStart Hook configuration (in .claude/settings.json):
1 | { |
The companion install script uses CLAUDE_CODE_REMOTE to distinguish local from remote runs and checks whether dependencies are already installed:
1 |
|
Persisting environment variables (CLAUDE_ENV_FILE): Write KEY=value lines to $CLAUDE_ENV_FILE inside a SessionStart hook, and every subsequent Bash command loads those variables automatically.
Four caveats for dependency management: (1) Hooks trigger both locally and remotely, so filter with CLAUDE_CODE_REMOTE; (2) install commands fail under “No internet” mode; (3) remote outbound traffic passes through a security proxy, and Bun is a known incompatibility; (4) hooks run on every session (including resumed ones), so scripts should check whether dependencies already exist.
3. Hippo’s Field Notes
hippo: Here are the pitfalls I ran into in day-to-day use:
3.1 Rate Limits on Parallel Tasks
--remote lets you run multiple tasks in parallel, but they share your rate limit. It’s not truly “unlimited parallelism”—when I launched 5 tasks at once, the later ones visibly queued up. Recommendation: 2–3 concurrent tasks is the sweet spot.
3.2 Setup Script Pitfalls
Two hard-won lessons:
First, any failing command in a setup script prevents the entire session from starting. Always guard non-critical commands with || true:
1 |
|
Second, CLAUDE_CODE_REMOTE is critical. I forgot to add that check at first, and every local Claude Code startup triggered dependency installation. Always put if [ "$CLAUDE_CODE_REMOTE" != "true" ]; then exit 0; fi at the top of your script.
4. FAQ
Q: Does running multiple tasks in parallel cost more?
A: Parallel tasks draw proportionally from your shared rate limit rather than multiplying cost linearly. With 3 concurrent tasks, each gets roughly one-third of your rate-limit budget.
Q: What is the difference between --remote and /teleport?
A: They go in opposite directions. --remote starts a new web session (terminal → web), while /teleport resumes an existing session locally (web → terminal). You can only pull down, not push up.
Q: Does Claude Code on the web only support GitHub?
A: Yes, for now—GitLab and other hosts are not supported yet.
Q: Does the setup script re-run when resuming a session?
A: No. Setup scripts only run when creating a new session, whereas SessionStart hooks run every time—one of the key differences between the two.
5. Summary
Claude Code on the web = asynchronous cloud VMs + seamless terminal-and-web handoffs + parallel task execution. It fits well-scoped work—bug fixes, documentation updates, and test writing—where you can hand off a task and let Claude run with it.
Security isolation essentials: each session runs in an isolated VM, sensitive credentials never enter the sandbox, GitHub operations go through a dedicated proxy with scoped credentials, and git push is restricted to the active working branch.
Series Navigation
- Index: Claude Code Complete Guide · Series Index
- Previous: Official Docs Breakdown: JetBrains IDEs
- Next: Official Docs Breakdown: Remote Control
Based on the official Claude Code on the web documentation.
Last updated: 2026-03-31




