ghostty-use
БесплатноЗапускает вложенные скриптыНе проверенBacks up Codex/Claude/agy sessions across terminals, restores IDs in Ghostty and locates open tabs (保存会话/重启前备份/恢复窗口/会话找不到). Lists, attaches, saves and moves…
от daymade★ 1 556 звёзд на GitHubОб этом скилле
ghostty-use
Capture identifiable local Claude Code, Codex CLI, and Antigravity (agy) sessions before a
reboot and reopen recorded IDs afterwards. Manual snapshots grade liveness; automatic backups
store recovery metadata with explicit partial coverage and unknown liveness.
Ghostty interaction channel
For computer-use observation or interaction with Ghostty, use Kimi computer use
(kimi-cu / mcp__kimi_cu__*). Never use Codex computer use (mcp__cua_repl)
for Ghostty, including screenshots, clicks, typing and tab/window management.
Prefer Kimi for ad hoc interaction. The existing osascript / System Events batch
restore helpers remain allowed under the foreground and reconciliation rules below.
Snapshot, planning and read-only checks may continue through their existing scripts.
If Kimi is unavailable, report that gap rather than substituting Codex computer use;
use an existing script only when it supports the task and is already authorized.
Never use either channel to bypass a host denial.
Snapshot, reconstruction, dry-run and reconciliation can proceed without taking the desktop. Actual restore uses global keyboard/clipboard input and is foreground work even when launched as a background shell job. Apply the current user's foreground authorization. When it already covers this app and action, notify and proceed without requesting another handoff or requiring a lease or idle proof. Coordinate observed competing use. On human takeover, actual agent competition or externally overwritten state, stop input and yield; do not restore your old focus. If foreground use is not authorized, continue preparation and read-only checks until the missing bounded authorization is supplied. Host denials remain binding.
For an authorized background compact operation, use the bundled native Ghostty
input route below. It addresses a bound terminal surface and leaves desktop
focus, tab selection, and the clipboard alone.
Entry decision tree
For sessions still running under a remote terminal host, check its live roster first and attach the existing sessions. To reopen UU conversations in ordinary Ghostty tabs or keep a recovery bundle before UU quits, follow UU migration.
For missing Codex terminals without confirmed Ghostty ownership, load the installed
read-codex-history Skill and follow its
terminal-session recovery recipe.
If the user has authorized Ghostty as the destination for verified sessions from
another terminal host, use the history reader to establish the original IDs, then
use this Skill to reconstruct and reopen the exact set.
Record the original terminal owner separately from the destination layout.
| You just said / want | Run |
|---|---|
| Quitting for an update / reboot ("重启前保存会话") | snapshot |
| Periodic backup, save only changes ("定期增量快照") | Read automatic-snapshots.md, then ghostty_watch.py install --apply |
| Rebooted, want tabs back ("恢复之前的窗口") | Inspect snapshot coverage first. If absent, outdated or partial (unresolved TUIs or retained-unverified rows), follow candidate selection before reconstructing the selected manifest and restoring it |
| "Which UU terminal sessions are open?" / "在 Ghostty 看 UU 会话" | Read the live roster and attach when opening tabs is requested |
| "Save the UU sessions before it quits" / "把 UU 会话搬到当前窗口的普通标签" | snapshot-uu, then plan and verify the move |
| "I can't find the restored sessions" / "我看不到这些会话" | Locate the existing Ghostty tabs and identify their windows before considering another restore |
| "Was anything lost?" / suspicion after restore | check; when coverage is partial, follow candidate selection before claiming the set is complete |
| Snapshot looks too large, or "which sessions were active after | Follow time-window selection before choosing a restore set |
| One specific session to bring back | restore --only <id-prefix> |
| Compact specific Claude Code sessions in the background (批量压缩 Ghostty 会话) | Follow targeted input to discover sessions, preview and freeze the chosen targets, then run compact --from-plan |
Minions native_runtime session or managed account-adoption error |
Follow [account-owner select |
Установить ghostty-use в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ghostty-use?
Backs up Codex/Claude/agy sessions across terminals, restores IDs in Ghostty and locates open tabs (保存会话/重启前备份/恢复窗口/会话找不到). Lists, attaches, saves and moves UU Remote sessions to ordinary Ghostty tabs (网易 UU). Audits survivors and takes automatic change-only snapshots (定期增量快照). Switches unmanaged Codex accounts (额度耗尽换号). Minions native_runtime uses Account Manager. Targets Ghostty input and background /compact (批量压缩). Use dedicated workflows for --resume help, standalone screenshots and general tmux administration.
Как установить скилл ghostty-use?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ghostty-use запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic