termio-bug-report

termio-bug-report is a skill for Claude Code, Codex from termio-sh/termio. It costs 159 tokens per session (1,891 once invoked), scanned A, original, MIT.

A diagnostic process for investigating a termio freeze, beachball, crash, or sustained CPU use on macOS, then preparing a redacted GitHub issue. Termio is the affected application; a GitHub issue is a report developers can act on.

In plain words
What is it for?
Use it when termio hangs or crashes to collect live and saved evidence, identify the likely cause, remove sensitive data, and file the resulting report.
Why use it?
It turns scattered process samples, crash reports, and logs into evidence that can explain what failed and support a useful bug report.

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/termio-bug-report
Any agent
npx skills add termio-sh/termio --skill termio-bug-report
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 termio-bug-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/termio-sh/termio/termio-bug-report.svg)](https://agentmods.dev/skills/termio-sh/termio/termio-bug-report)
Your own site
<a href="https://agentmods.dev/skills/termio-sh/termio/termio-bug-report"><img src="https://agentmods.dev/badge/skills/termio-sh/termio/termio-bug-report.svg" alt="Measured on agentmods" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,891 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.00159 $0.01891
Opus 5 $0.00079 $0.00945
Sonnet 5 $0.00032 $0.00378
Haiku 4.5 $0.00016 $0.00189

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

Security

Grade A, and why

termio-bug-report 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/collect.sh, scripts/redact.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.

skills/termio-bug-report/SKILL.md · 184 lines

How it starts

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

Diagnose a freeze, then file it

Two jobs, in this order: work out what actually broke, then turn that into an issue someone can act on. Skipping the first half produces "termio froze on my Mac", which no one can fix.

0. Before anything else: is it hung right now?

Ask this first, in one line, and wait for the answer.

If the app is currently beachballing, do not let the user force-quit it. The main-thread stack that explains the freeze exists only while the process is alive. Force-quitting destroys the single most valuable piece of evidence, and it cannot be recovered afterwards from any log.

Capture it immediately:

./skills/termio-bug-report/scripts/collect.sh --minutes 60

The script samples every live termio and termiod process first, before it touches anything slower. It prints the bundle directory it created; everything below works on that directory. It needs no privileges and never copies pair.token.

If the freeze is already over, run the same command — the crash, CPU-burn, and unified-log evidence survives it, only the live stack is gone.

1. Read the evidence

Read manifest.md first, then in this order — stopping as soon as something explains the symptom:

  1. reports/index.md — one line per crash / CPU-burn report macOS wrote. A crash here usually ends the investigation on its own.
  2. sample-*.txt — where each process's main thread actually is.
  3. environment.md — versions, running processes, agent CLIs, memory.
  4. unified-log-termio.txt — termio's own trail.
  5. unified-log-system.txt — what the system said about the process.
  6. daemon/tombstones.json — how sessions ended, when the complaint is "a session froze / vanished" rather than "the app froze".

references/signatures.md has the reading guide for each artifact and a table of every prior termio hang and crash with its root cause. Read it before writing a diagnosis — most reports match one of them, and naming the prior bug is worth more than a fresh theory.

Read the full file on GitHub · 184 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 184 lines · 159 tokens per session scan A 629162594399

Subscribe to this mod's changes

termio-bug-report is a skill published in the GitHub repository termio-sh/termio (395 stars, last pushed yesterday), licensed MIT. It adds 159 tokens to every session and 1,891 once invoked, about $0.0008 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.