teleport
What it does
It moves a task from this session to a new session on a different machine. It is for HumanLayer users who want to continue work on a sandbox, cloud VM, or remote computer.
When to use it
- ✓When you want to continue this task on a cloud machine or sandbox.
- ✓When your current computer is not the right place to keep the task running.
- ✓When you want the new session to start from a handoff file and the pushed branch.
Skill link
https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-humanlayer-claude-plugin/skills/teleport/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Move this task to a cloud VM so it can keep running while I am away.”
5 new skills a week. 1 minute to read.
How it works
The agent gathers the session and branch details, asks you one set of questions up front, then pushes the branch and writes a handoff file. The new session starts from that file.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Move this task to a new session on another host. Ask every question up front, then do the work without more check-ins. Keep messages short.
The remote session is a new session in the same task. It does not resume this conversation. It starts from handoff.md and the pushed branch.
1. Gather context, then ask once
Before asking anything, collect:
Stage: use
produnlessHUMANLAYER_SESSION_URLor the user points elsewhere.app.humanlayer.com= prod,app.codelayer.cloud= beta,app.dev.codelayer.gg= dev.Session, task, task slug, workspace, and host IDs, plus the coding agent, provider, model, effort, and permission mode: read them from the
<humanlayer_session>block in your system prompt.Task directory:
.humanlayer/tasks/<task-slug>/.Git: branch,
git status, and the remote to push to (for exampleoriginorupstream). If there is only one remote, use it.Saved defaults:
.humanlayer/teleport.json, if present.Project workspace, if the workspace ID is set. The new host builds its worktree from the workspace's branch on the project's remote, so read both:
humanlayer api project-workspaces get-status --task-id <task-id> > /tmp/hl-workspace.json jq -r '.workspace.projectId, (.workspace.repositories[] | [.repositoryIdentity, .remoteUrl, .branch, .default] | @tsv)' /tmp/hl-workspace.jsonPush to the git remote whose URL matches the project's
remoteUrl, not a fork. If more than one remote matches, ask.Secret files:
.envfiles, local settings, and keys that git does not carry. Find them and list their key names with references/secrets.md. Never print a value.
Then ask one message covering only what is still unknown:
- Compute:
- Sandbox: Freestyle, Daytona, E2B, Modal, or any other service that can run Linux
- Cloud VM: EC2, GCP, or another provider; new or existing
- Existing machine over SSH or Tailscale (for example a Mac mini)
- How to reach the host (SSH alias, user, provider account or project).
- Which agents to install and sign in: Claude Code, Codex, or both. Default to the agent running this session.
- Stage, if it is not clear.
- Which remote to push to, if there is more than one. List them and mark the branch's tracking remote, if any.
- Which secret files to copy. List each file with its key count and your advice (copy, skip, or ask), and flag keys that look tied to this machine or to production. Name keys; never show values.
If the worktree is dirty, say in the same message: "Uncommitted changes will be committed and pushed to <branch> before the move." Do not ask a separate question about it.
If the user gives reusable answers that are not in teleport.json, offer to save them in that same message.
2. Saved defaults
.humanlayer/teleport.json holds project defaults. The user's words in this session win over the file. Never save secrets, tokens, one-time codes, or session IDs. secretFiles holds paths only.
{
"stage": "prod",
"compute": "freestyle",
"host": "my-dev-vm",
"access": "freestyle-ssh",
"agents": ["claude"],
"daemonSupervisor": "systemd",
"secretFiles": [".env", "packages/db/.env"],
"notes": ["Persistent VM. Do not stop it after the move."]
}
3. Save the work
- Commit all changes and push the branch. Stop if a file looks like a secret (
.env, keys, credentials) or no writable remote exists, and tell the user the exact blocker.- For a project workspace, push to the project's remote. If the current branch is not the workspace branch, push both, and name the current branch in the session prompt. The new host starts from the workspace branch as pushed; unpushed commits stay behind.
- Write
.humanlayer/tasks/<task-slug>/handoff.mdwith everything the next agent needs:- goal and current status
- decisions made and why
- work done, work left, and the next step
- open questions and known problems
- key files and artifacts to read
- repo, branch, remote, and commit SHA
- source session URL
4. Prepare the host
Use the provider CLIs already signed in on this machine. Check --help when unsure. Do not stop or delete compute when done.
Run every interactive step in a named tmux session on the host (hl-auth, hl-claude, hl-codex, hl-gh, hl-daemon). Read the pane with tmux capture-pane -p, show the user any URL or code, and send their answers with tmux send-keys.
- Install missing tools:
tmux,git, Node
FAQ
Does the new session remember this conversation?
No. It starts from the handoff file and the pushed branch, not from this chat.
How many questions will it ask?
It asks everything up front in one round, then does the work without more check-ins.
Which HumanLayer stage does it use?
It uses production unless a session URL or you point to another stage.
Details
Original description by the author
Move the current task to a new HumanLayer session on another host (sandbox, cloud VM, or a machine you can SSH into).
repo: humanlayer/humanlayer
Popularity
- GitHub stars
- 13k
- Ranking position
- #11395
- License
- Apache-2.0
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
asd-ste100
13kTeaches your agent to rewrite confusing English into short, one-meaning sentences that are easy for people and other software to read.
better-github-skill
13kHelps your agent check a pull request's status, read its review comments, and find why a CI build failed, using ready-made GitHub scripts.
calldiff
13kHelps your agent compare the chains of function calls in a codebase between two git versions, so a code review can see what behavior changed.
chrome-devtools-cli
13kLets your agent control Chrome from the terminal to open pages, click, fill in forms, and take page snapshots for browser automation and testing.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.