teleport-opencode
/teleport-opencode
Przenosi bieżącą rozmowę OpenCode do innego obszaru roboczego Herdr i zamyka źródłowy panel po weryfikacji.
- Autor
- dkarter ↗
- Repozytorium
- dotfiles ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Przenosi bieżącą rozmowę OpenCode do innego obszaru roboczego Herdr i zamyka źródłowy panel po weryfikacji.
Oryginalny opis (EN)
Teleport the current OpenCode conversation into another Herdr workspace, preserving its session and closing the source pane only after verification. Use when asked to teleport or relocate an OpenCode session to a new or existing Herdr workspace or directory. Requires HERDR_ENV=1.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 37 linii, 306 słów
Podgląd SKILL.md
---
name: teleport-opencode
description: Teleport the current OpenCode conversation into another Herdr workspace, preserving its session and closing the source pane only after verification. Use when asked to teleport or relocate an OpenCode session to a new or existing Herdr workspace or directory. Requires HERDR_ENV=1.
---
# Teleport OpenCode
Keep this conversation; do not spawn an agent, fork, send a prompt, or use
`--continue`. Resume the exact session in a second terminal client.
1. Require `test "${HERDR_ENV:-}" = 1`; otherwise stop. Run
`herdr pane current --current` and save `.result.pane.pane_id` as **source**
and `.result.pane.agent_session.value` as **session**. Require agent
`opencode`, session kind `id`, and a nonempty session ID; never guess it.
2. Resolve the absolute destination directory from the user's request. Reuse
their requested workspace's available shell pane, or create one with
`herdr workspace create --cwd <directory> --label <label> --no-focus`.
Read `.result.root_pane.pane_id`; require destination != source. Never assume
IDs. Do not create a worktree
unless requested. Ask only if the destination is genuinely ambiguous.
3. Run `herdr agent start <unique-name> --kind opencode --pane <destination-pane>
--timeout 5000 -- <directory> --session <session>`. Even if startup times out,
run `herdr agent get <destination-pane>` and require agent `opencode` with
`.result.agent.agent_session.value` equal to **session**. Do not wait for
idle: the resumed conversation is already working, so interactive-readiness
detection can time out despite successful startup. On missing identity,
inspect the destination; never launch a duplicate client blindly.
4. Call OpenCode's `session_move` tool with `directory: <directory>` (omit
`sessionID` to move this conversation). Require success and the same session
ID and destination directory in its result.
5. Focus the destination with `herdr agent focus <destination-pane>`; only on
success close the saved source: `herdr pane close <source>`. Never use
`--current` for cleanup; caller context can change during the move.
Target three execution calls: (1) one shell call to capture/parse source and
session, create/reuse the destination, start, and verify; (2) `session_move`;
(3) focus && close. Print useful IDs and preserve startup errors; do not let a
startup timeout skip identity verification. Avoid sleep/poll loops. Load
`herdr`/`opencode` only for missing syntax or recovery.
On any verification failure, preserve the source pane and report the blocker.
Wersje
W bazie nie ma innych skilli o nazwie teleport-opencode.
Migawka bazy z 13.11.2026 · wersja paczki d8dae4ae2d74 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100herdr-code-review
Uruchamia nowego agenta recenzującego w osobnym panelu Herdr, zleca mu pełny przegląd kodu i przekazuje jego raport, gdy użytkownik prosi o review w osobnym agencie. - 91herdr
Obsługuje panele, karty, obszary robocze i agentów w istniejącej sesji Herdr na wyraźną prośbę. - 100close-workspace
Zamyka workspace lub worktree herdr: potwierdza, że nic w checkoucie nie zostanie utracone, po czym usuwa worktree i zamyka workspace. - 95Herdr
Obsługuje narzędzie herdr do zarządzania terminalem dla agentów przez CLI i socket, edytuje lokalną konfigurację i sprawdza wersję względem upstream. - 95herdr-workspace-context
Pobiera na żywo kontekst aktywnego obszaru Herdr: projekt, gałąź, karty, panele i aktywność agentów z innego klienta. - 90adapt
Przenosi bieżącą sesję do innego agenta w nowym panelu, po przekazaniu notatki, przed zamknięciem poprzedniego.