teleport
Ce qu’il fait
Cette compétence déplace une tâche de cette session vers une nouvelle session sur une autre machine. Elle s'adresse aux utilisateurs de HumanLayer qui veulent poursuivre le travail sur un bac à sable, une machine virtuelle dans le cloud ou un ordinateur distant.
Quand l’utiliser
- ✓Quand vous voulez poursuivre cette tâche sur une machine dans le cloud ou dans un bac à sable.
- ✓Quand votre ordinateur actuel n'est pas le bon endroit pour faire tourner la tâche.
- ✓Quand vous voulez que la nouvelle session démarre à partir d'un fichier de passation et de la branche poussée.
Lien du skill
https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-humanlayer-claude-plugin/skills/teleport/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Déplace cette tâche vers une machine virtuelle dans le cloud pour qu'elle continue de tourner pendant mon absence.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent rassemble les détails de la session et de la branche, pose une seule série de questions au début, puis pousse la branche et écrit un fichier de passation. La nouvelle session démarre à partir de ce fichier.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
La nouvelle session se souvient-elle de cette conversation ?
Non. Elle démarre à partir du fichier de passation et de la branche poussée, et non de ce chat.
Combien de questions pose-t-elle ?
Elle pose toutes ses questions au début, en une seule fois, puis effectue le travail sans autres vérifications.
Quel environnement HumanLayer utilise-t-elle ?
Elle utilise la production, sauf si une URL de session ou vous indiquez un autre environnement.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 13k
- Position au classement
- #11395
- Licence
- Apache-2.0
- Mis à jour
- 31/10/2026
Commentaires
- …
Autres skills de ce dépôt
asd-ste100
13kApprend à votre agent à réécrire un anglais confus en phrases courtes ayant un seul sens, faciles à lire pour les personnes et pour les logiciels.
better-github-skill
13kAide votre agent à vérifier l'état d'une demande de fusion, lire ses commentaires de relecture et trouver pourquoi un build CI a échoué, à l'aide de scripts GitHub prêts à l'emploi.
calldiff
13kAide votre agent à comparer les chaînes d'appels de fonctions d'une base de code entre deux versions git, pour qu'une relecture de code voie ce qui a changé dans le comportement.
chrome-devtools-cli
13kPermet à votre agent de piloter Chrome depuis le terminal pour ouvrir des pages, cliquer, remplir des formulaires et prendre des instantanés de page pour l'automatisation et les tests.
Skills similaires
add-model-provider
394kPermet à votre agent de connecter un nouveau fournisseur de modèles IA à OpenClaw par des commandes sûres, sans clé en clair, puis de lancer un test.
acp-router
394kAide votre agent à envoyer une tâche à un assistant de code comme Claude Code ou Cursor via OpenClaw, afin que le travail s'exécute dans cet outil.
browser-automation
394kApprend à votre agent à piloter des pages web étape par étape, y compris les connexions, les onglets et la reprise lorsqu'une page ne répond plus.