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.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
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一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。