check-ghostty-update

check-ghostty-update is a skill for Claude Code, Codex from termio-sh/termio. It costs 170 tokens per session (1,957 once invoked), scanned A, original, MIT.

A read-only check of whether the terminal program Ghostty has changes that are worth bringing into termio, which embeds Ghostty's terminal engine.

In plain words
What is it for?
Use it to trace termio's pinned version, compare it with Ghostty's current code, identify relevant differences, and report whether an update is warranted. It does not update files or trigger builds.
Why use it?
It separates relevant terminal-engine updates from changes that cannot affect termio and avoids treating the embedded binary as a direct source build.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/termio-sh/termio/check-ghostty-update
Any agent
npx skills add termio-sh/termio --skill check-ghostty-update
Clone the repo
git clone --depth 1 https://github.com/termio-sh/termio

Made for: Claude Code, Codex.

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 check-ghostty-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/termio-sh/termio/check-ghostty-update.svg)](https://agentmods.dev/skills/termio-sh/termio/check-ghostty-update)
Your own site
<a href="https://agentmods.dev/skills/termio-sh/termio/check-ghostty-update"><img src="https://agentmods.dev/badge/skills/termio-sh/termio/check-ghostty-update.svg" alt="Measured on agentmods" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00170 $0.01957
Opus 5 $0.00085 $0.00979
Sonnet 5 $0.00034 $0.00391
Haiku 4.5 $0.00017 $0.00196

Measured 5d ago against content hash 41d30c71f41d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

check-ghostty-update 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 5d ago.

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.

skills/check-ghostty-update/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Check ghostty update

termio does not build ghostty itself — it embeds ghostty's terminal core through the termio-sh/libghostty-swift fork, whose weekly CI rebuilds GhosttyKit.xcframework against ghostty main and publishes it as a storage.X.Y.Z release ([[termio-libghostty-swift]]). So "is ghostty up to date" really means: how far is ghostty main ahead of the sha baked into the binary termio is pinned to, and is anything in that gap relevant to termio?

termio is an embedder, so only a slice of ghostty's changes matter. Weight the diff accordingly — see Signal vs. noise below. Local self-build is impossible on this Mac (Tahoe/zig deadlock); updating the binary always goes through the fork's CI.

What this skill does NOT do

Report only. It does not tag the fork, trigger CI, or bump any pin. Those are the follow-up the verdict points to (and separate skills / explicit asks).

Procedure

Run these steps and report; everything is read-only gh + grep.

1. Resolve the ghostty sha termio is currently on

The pin chain is: termio Package.resolved → fork version tag → that tag's Package.swift names a storage.X.Y.Z binary → that storage release's title carries the ghostty sha (format ... · ghostty v1.3.1-<N>-g<sha>).

REPO=$(git rev-parse --show-toplevel)
FORK=termio-sh/libghostty-swift
GHOSTTY=ghostty-org/ghostty

VER=$(grep -A6 '"identity" : "libghostty-swift"' "$REPO/Package.resolved" \
      | grep '"version"' | head -1 | sed -E 's/.*"version" : "([^"]+)".*/\1/')
STORAGE=$(gh api "repos/$FORK/contents/Package.swift?ref=$VER" --jq '.content' \
      | base64 -d | grep -oE 'storage\.[0-9]+\.[0-9]+\.[0-9]+' | head -1)
NAME=$(gh release view "$STORAGE" --repo "$FORK" --json name --jq '.name')
CUR=$(echo "$NAME" | grep -oE 'g[0-9a-f]{7,}' | sed 's/^g//')
echo "termio pin: fork $VER → $STORAGE → ghostty $NAME (sha $CUR)"

If any of these come back empty, fall back: the fork's latest storage.* release is usually what a fresh resolve would pick — gh release list --repo $FORK | grep storage | head -1 — and note the discrepancy.

Read the full file on GitHub · 128 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. 5d ago First seen · 128 lines · 170 tokens per session scan A 41d30c71f41d

Subscribe to this mod's changes

check-ghostty-update is a skill published in the GitHub repository termio-sh/termio (395 stars, last pushed yesterday), licensed MIT. It adds 170 tokens to every session and 1,957 once invoked, about $0.0009 per session on Opus 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-08-30.