본문으로 건너뛰기
Skillpedia
에이전트13k · #11395

teleport

하는 일

이 스킬은 현재 세션의 작업을 다른 컴퓨터의 새 세션으로 옮깁니다. 샌드박스, 클라우드 VM, 원격 컴퓨터에서 작업을 이어 가려는 HumanLayer 사용자를 위한 스킬입니다.

사용하는 경우

  • ✓이 작업을 클라우드 머신이나 샌드박스에서 이어 가고 싶을 때.
  • ✓현재 컴퓨터가 작업을 계속 돌리기에 알맞은 곳이 아닐 때.
  • ✓새 세션이 인계 파일과 푸시된 브랜치에서 시작되기를 원하는 경우.

스킬 링크

https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-humanlayer-claude-plugin/skills/teleport/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-humanlayer-claude-plugin/skills/teleport/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“자리를 비운 동안에도 계속 돌아가도록 이 작업을 클라우드 VM으로 옮겨 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 세션과 브랜치 정보를 모으고, 질문을 한 번에 묶어 먼저 묻습니다. 그다음 브랜치를 푸시하고 인계 파일을 씁니다. 새 세션은 그 파일에서 시작합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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 prod unless HUMANLAYER_SESSION_URL or 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 example origin or upstream). 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.json
    

    Push to the git remote whose URL matches the project's remoteUrl, not a fork. If more than one remote matches, ask.

  • Secret files: .env files, 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:

  1. 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)
  2. How to reach the host (SSH alias, user, provider account or project).
  3. Which agents to install and sign in: Claude Code, Codex, or both. Default to the agent running this session.
  4. Stage, if it is not clear.
  5. Which remote to push to, if there is more than one. List them and mark the branch's tracking remote, if any.
  6. 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

  1. 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.
  2. Write .humanlayer/tasks/<task-slug>/handoff.md with 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.

  1. Install missing tools: tmux, git, Node
자주 묻는 질문

새 세션이 이 대화를 기억하나요?

아니요. 이 채팅이 아니라 인계 파일과 푸시된 브랜치에서 시작합니다.

질문이 몇 개나 되나요?

모든 질문을 처음에 한 번에 묻고, 그 뒤에는 더 확인하지 않고 작업합니다.

어떤 HumanLayer 단계를 쓰나요?

세션 URL이나 다른 단계를 지정하지 않으면 프로덕션을 씁니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
13k
순위
#11395
라이선스
Apache-2.0
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬