Agent skill · daymade

ghostty-use

Snapshots local Codex/Claude CLI sessions across terminals and restores IDs in Ghostty after reboot (保存会话/重启前备份/恢复窗口), audits survivors, and makes change-only automatic backups (定期增量快照). Handles unmanaged Codex account switches (额度耗尽换号); Minions native_runtime uses Account Manager. Not --resume help, screenshots or tmux.

What it needs

About 10k tokens when loaded.

What this skill does

ghostty-use Capture identifiable local Claude Code and Codex CLI 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 / mcpkimicu). Never use Codex computer use (mcpcuarepl) 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. Entry decision tree For missing Codex terminals without confirmed Ghostty ownership, load the installed read-codex-history Skill and follow its terminal-session recovery recipe. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills daymade/ghostty-use

View the source on GitHub

Browse the @skills marketplace