portal
하는 일
이 스킬은 계속 켜져 있는 페어링된 컴퓨터에서 코딩 세션을 이어 가는 방법을 설명합니다. 오래 걸리는 작업이나 원격 테스트가 계속 실행되어야 하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓주 노트북을 닫은 뒤에도 작업이 계속 실행되어야 할 때.
- ✓별도의 기계에서 원격 테스트가 필요할 때.
- ✓예약된 작업이 내 컴퓨터가 아니라 직접 운영하는 컴퓨터에서 실행되어야 할 때.
스킬 링크
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/portal/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지금 코딩 세션을 항상 켜져 있는 컴퓨터로 옮겨서, 제가 자리를 비운 동안에도 계속 실행되게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 현재 코드의 스냅샷을 새 브랜치에 저장하고, 페어링된 컴퓨터가 그 정확한 버전을 가져와 그곳에서 이어 갑니다. 비밀 값은 로컬에서 불러오며 메시지로 보내지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Portal
Portal moves a local coding session to a paired computer while keeping the relay as the control plane and the paired computer as the execution residence. The Code Agents chat list supports moving one local chat or all eligible local and worktree chats in one handoff.
Workflow
- Select
Portalfor the coding session and keep the source folder as a Git repository with anoriginremote. - Snapshot the current working tree, including dirty tracked and untracked
code, into a unique
portal/<timestamp>-<id>branch. Do not switch, reset, stash, or overwrite the source checkout. - Queue the run for a paired active host. The run metadata must identify the
host, handoff id, branch, commit, and
envPolicy: "load-local". - On the paired host, fetch the exact commit into a detached Portal worktree under its local Agent-Native store. Preserve an existing dirty worktree and create a new one instead of overwriting it.
- Load the paired host's current local environment files immediately before starting the runner. Never put environment values, tokens, or secrets in relay metadata, prompts, transcripts, or status messages.
Existing chat transfer
Use Move to Portal for one chat or Move local chats to Portal for the bulk
handoff. The transfer stops a local runner before snapshotting, pushes the
current worktree without changing the source checkout, and imports the full
text transcript into the same run id on the paired computer. The target gets a
continuation turn rather than replaying the original prompt. Chats waiting for
local approval are skipped because approval state is computer-local and cannot
be reconstructed safely.
Binary attachment bodies are not relayed. Their names, text, and an explicit omission marker remain in the transcript context. Oversized or otherwise unsafe context fails visibly so the source chat can be retried instead of being silently truncated.
Execution residence
Treat metadata.executionResidence as authoritative for where the run is
executing. It should report kind: "portal", host id and label, handoff id,
source commit, remote workspace path once prepared, and environment file names
without values. Follow-ups and stops must target the same host and remote run.
Verification
Before saying Portal is ready, verify the relay has a paired host, the host is heartbeating, the exact handoff commit was fetched, the detached worktree is clean, and the run metadata reports the remote workspace. For an existing chat, also verify the target transcript contains the imported event count and the continuation turn. A queued command is not proof that the remote runner started; inspect the remote result or event readback.
Operator recovery
When a host is present but a handoff stalls:
- Confirm the connector's
relayUrlis the same deployment origin used for pairing. A device paired against another origin can return401with a fresh-looking token because the row is in a different database. - After repairing a pairing, restart the connector. It reads
remote-device.jsononce at startup and will not adopt a new token or relay URL in an existing process. - Confirm the host is heartbeating and connected, then retry one bounded run. Read the remote result and transcript; enqueue success alone is not proof.
- Keep tokens and environment values out of logs, prompts, metadata, and transcripts. Report source, published-runtime, and live-relay evidence separately.
Don't
- Do not copy
.envcontents or credentials to the source branch or relay. - Do not treat the primary laptop's cwd or environment as the remote cwd.
- Do not report Portal complete from a local push alone; confirm remote execution residence and runner state.
Related skills
external-agents- relay and external-agent boundaries.a2a-protocol- idempotent cross-agent task lifecycle.concurrent-agents- preserve shared checkouts and peer work.reliable-mutations- verify durable handoff state.
자주 묻는 질문
세션을 옮기면 원래 폴더가 바뀌나요?
아니요. 이 스킬은 원본 체크아웃을 전환하거나 초기화하거나 덮어쓰지 않는다고 말합니다.
비밀 값이 다른 컴퓨터로 전송되나요?
아니요. 환경 값은 페어링된 컴퓨터에서 불러오며, 릴레이 메타데이터나 프롬프트에 넣지 않습니다.
프로젝트에 무엇이 필요한가요?
origin 리모트가 있는 Git 저장소가 필요합니다.
상세 정보
작성자의 원본 설명
Continue a coding session on a paired always-on computer. Use when work must survive closing the primary laptop, needs remote computer-use testing, or should run on a scheduled/self-hosted execution host.
repo: BuilderIO/agent-native
인기도
- GitHub 스타
- 7.6k
- 순위
- #13173
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
design-exploration
7.6k에이전트가 여러 UI 디자인 방향을 나란히 보여 주고, 사용자가 하나를 고르면 그 디자인을 다듬도록 돕습니다.
visual-edit
7.6k에이전트가 실행 중인 로컬 앱을 시각 편집기에 열어, 실제 화면을 함께 검토하고 편집하도록 돕습니다.
turn-into-app
7.6k워크플로, 스프레드시트 또는 프로젝트를 데이터가 채워진 세련된 시각 앱으로 바꾸고, 컨트롤 뒤에서 에이전트가 작업하도록 합니다.
visual-plan
7.6k일반 텍스트 계획을 다이어그램, 파일 맵, 코드 조각, 열린 질문이 담긴 대화형 시각 계획으로 바꿔 줍니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.