Tooluck logoTooluck
SKILL.md

ghostty-use

Agent skill fromdaymade/claude-code-skills

Snapshots/restores Ghostty Claude Code/Codex tabs across reboots. Use before Mac updates (保存终端会话/重启前备份终端), after restart to reopen original session IDs (恢复之前的窗口/restore my ghostty tabs), audit survivors, or periodic change-only snapshots (定期增量快照/没变化不记录). Also for unmanaged/legacy Codex account switches (额度耗尽换号/换号后恢复全部 Codex); Minions native_runtime uses Account Manager. Not for --resume, screenshots or tmux.

How to install ghostty-use

install ghostty-use
# install the claude-code-skills pack with the skills CLI
npx skills add daymade/claude-code-skills

# or add only this skill to Claude Code: copy the folder

ghostty-use/

# into

~/.claude/skills/ghostty-use/ (all projects)

.claude/skills/ghostty-use/ (one project)

ghostty-use/SKILL.md

MITFull file
1# ghostty-use
2
3Capture identifiable Claude Code and Codex terminal sessions before a reboot and
4reopen recorded IDs afterwards. Manual snapshots grade liveness; automatic backups
5store recovery metadata with explicit partial coverage and unknown liveness.
6
7## Ghostty interaction channel
8
9For computer-use observation or interaction with Ghostty, use **Kimi computer use**
10(`kimi-cu` / `mcp__kimi_cu__*`). **Never use Codex computer use** (`mcp__cua_repl`)
11for Ghostty, including screenshots, clicks, typing and tab/window management.
12Prefer Kimi for ad hoc interaction. The existing `osascript` / System Events batch
13restore helpers remain allowed under the foreground and reconciliation rules below.
14Snapshot, planning and read-only checks may continue through their existing scripts.
15If Kimi is unavailable, report that gap rather than substituting Codex computer use;
16use an existing script only when it supports the task and is already authorized.
17Never use either channel to bypass a host denial.
18
19Snapshot, reconstruction, dry-run and reconciliation can proceed without taking
20the desktop. Actual restore uses global keyboard/clipboard input and is foreground
21work even when launched as a background shell job. Apply the current user's
22foreground authorization. When it already covers this app and action, notify and
23proceed without requesting another handoff or requiring a lease or idle proof.
24Coordinate observed competing use. On human takeover, actual agent competition or
25…

Excerpt shown under the repository's MIT license.

More skills in claude-code-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates