ghostty-use

ghostty-use is a skill for Claude Code, Codex from daymade/claude-code-skills. It costs 133 tokens per session (5,892 once invoked), scanned A, original, MIT.

A session-saving and restoration tool for Claude Code and Codex sessions running in Ghostty terminal tabs on macOS. It records live sessions before a reboot and reopens selected sessions afterward using their original session IDs.

In plain words
What is it for?
Use it before an update or reboot to snapshot sessions, after restarting to restore tabs, or afterward to check whether any sessions were missed.
Why use it?
It reduces the chance of losing track of terminal work when Ghostty tabs are closed or the Mac restarts, and reports when a restoration attempt does not succeed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it before an update or reboot to snapshot sessions, after restarting to restore tabs, or afterward to check whether any sessions were missed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/ghostty-use
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,557 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add daymade/claude-code-skills --skill ghostty-use
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin ghostty-use — /plugin install ghostty-use after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ghostty-use

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/ghostty-use/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/ghostty-use)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/ghostty-use"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/ghostty-use/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ghostty-use

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/ghostty-use"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/ghostty-use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00133 $0.05892
Opus 5.5 $0.00053 $0.02357
Sonnet 5.5 $0.00027 $0.01178
Haiku 4.5 $0.00013 $0.00589

Measured today against content hash b9935f7f503c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ghostty-use scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 15 executable files (scripts/ghostty_native_host.py, scripts/ghostty_session_port.py, scripts/ghostty_session.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ghostty-use/SKILL.md · 361 lines

How it starts

The opening of the file, as written. The whole thing — 361 lines — stays where its author put it; the contents beside it link to each section on 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.

Read the full file on GitHub · 361 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +7 lines · +15 tokens per session b9935f7f503c
  2. 2d ago Changed · +6 lines · +12 tokens per session 5b8a0e8bae1a
  3. 5d ago Changed · +2 lines 4dcce38c945a
  4. 6d ago Changed · +11 lines · +2 tokens per session f46a408b080b
  5. 7d ago Changed · +15 lines · +20 tokens per session eb79a9bd7d10
  6. 14d ago Changed · +9 lines 2ed986e59613
  7. 15d ago Changed · +7 lines 6bfd6d8333d4
  8. 19d ago Changed · +1 lines 08bd58455fbc
  9. 20d ago Changed · +4 lines · -36 tokens per session 9ff391072487
  10. 24d ago First seen · 299 lines · 120 tokens per session scan A 6860229df58f

Subscribe to this mod's changes

ghostty-use is a skill published in the GitHub repository daymade/claude-code-skills (1,557 stars, last pushed today), licensed MIT. It adds 133 tokens to every session and 5,892 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.

Related

ghostty-use compared with skills from other repositories

ghostty-use next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ghostty-usedaymade/claude-code-skillsSkill1.6ktodayMITA133Claude Code, Codex
orbit-notionnexu-io/open-designSkill111ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill119ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k14d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41k3d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k7d agoMITA52Claude Code, Codex