promptgarten ๐ŸŒฑ

Command reference ยท Claude Code

/teleport

Brings a web session into the terminal.

/teleport (alias /tp) pulls a cloud session running on Claude Code on the web (claude.ai/code) into the local terminal. The command opens an interactive picker over your cloud and background sessions; after selecting one, Claude Code checks whether the local directory belongs to the same repository, checks out the session's branch, and loads the full conversation history. Requirements: a clean git status (if there are unstaged changes, a stash is suggested beforehand), a checkout of the same repository, a branch already pushed to the remote, and being logged in with the same claude.ai account as in the cloud session. A claude.ai subscription is required. The switch is one-directional: from the teleport onward, the web copy and terminal copy continue running independently; local changes no longer appear on claude.ai or in the mobile app. To keep accessing the local session while away, start /remote-control afterward.

โœ… WHEN TO USE IT?

Continuing a web session started while away, locally

Bring a task started via claude.ai/code on your phone onto your work machine via /teleport to continue with full file access and local tools.

Continuing to build on a long-running cloud session locally after completion

Pull a task started with claude --cloud into the terminal via /teleport after completion, to test and commit the result locally.

โ›” WHEN NOT TO?

Transferring a local session to another device

/teleport only works in one direction: from the cloud into the terminal, not the other way around.

Better: Start /remote-control to control the local session remotely from another device, or use the "Continue in" menu in the desktop app

The cloud session's branch hasn't been pushed yet

Teleport needs the branch to already be on the remote, otherwise the checkout fails

Better: Have it committed/pushed in the web session first, then try /teleport again

SOURCES

MORE COMMANDS ยท Claude Code

/upgrade/usage/verify/vim/bug/stop/team-onboarding/terminal-setup/theme/tui/ultrareview/usage-credits

All commands ยท Claude Code โ†’

Share:๐•in๐Ÿ’ฌ