portal
Ce qu’il fait
Cette compétence explique comment poursuivre une session de développement sur un ordinateur appairé qui reste allumé. Elle s'adresse aux développeurs qui ont besoin que des travaux longs ou des tests à distance continuent de tourner.
Quand l’utiliser
- ✓Quand un travail doit continuer après la fermeture de votre ordinateur portable principal.
- ✓Quand vous avez besoin de tests à distance sur une autre machine.
- ✓Quand une tâche planifiée doit tourner sur un ordinateur auto-hébergé plutôt que sur le vôtre.
Lien du skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/portal/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
“Transfère ma session de développement actuelle sur mon ordinateur toujours allumé, pour qu'elle continue pendant mon absence.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent enregistre un instantané de votre code actuel dans une nouvelle branche. L'ordinateur appairé récupère cette version exacte et poursuit le travail. Les valeurs secrètes sont chargées localement et ne sont jamais envoyées dans les messages.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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.
Questions fréquentes
Le transfert modifie-t-il mon dossier d'origine ?
Non. La compétence indique que la copie source n'est ni changée de branche, ni réinitialisée, ni écrasée.
Mes valeurs secrètes sont-elles envoyées à l'autre ordinateur ?
Non. Les variables d'environnement sont chargées sur l'ordinateur appairé et ne figurent jamais dans les métadonnées de relais ou les prompts.
Que doit contenir le projet ?
Un dépôt Git avec un dépôt distant d'origine.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 7.6k
- Position au classement
- #13173
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
design-exploration
7.6kAide votre agent à explorer plusieurs directions de conception d'interface côte à côte, à vous laisser en choisir une, puis à affiner la version retenue.
visual-edit
7.6kAide votre agent à ouvrir une application locale en cours d'exécution dans un éditeur visuel, pour que vous en examiniez et modifiiez ensemble les écrans réels.
turn-into-app
7.6kTransforme un flux de travail, un tableur ou un projet en application visuelle soignée, avec des écrans remplis et un agent qui travaille derrière les commandes.
visual-plan
7.6kTransforme un plan écrit en plan visuel interactif, avec diagrammes, cartes de fichiers, extraits de code commentés et questions ouvertes.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.