app-screenshot-debug

app-screenshot-debug is a skill for Claude Code, Codex from termio-sh/termio. It costs 161 tokens per session (1,227 once invoked), scanned A, original, MIT.

A screenshot-based skill for inspecting the running termio Mac app, a terminal workspace, to diagnose visual interface problems.

In plain words
What is it for?
Use it to focus the app, open a project or terminal pane, capture the window, and inspect the result when debugging layout or appearance.
Why use it?
A real screenshot reveals spacing, alignment, overlap, and rendering issues that source code alone cannot reliably show.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to focus the app, open a project or terminal pane, capture the window, and inspect the result when debugging layout or appearance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/termio-sh/termio/app-screenshot-debug
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 termio-sh/termio --skill app-screenshot-debug
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 app-screenshot-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/termio-sh/termio/app-screenshot-debug/github.svg)](https://agentmods.dev/skills/termio-sh/termio/app-screenshot-debug)
Your own site
<a href="https://agentmods.dev/skills/termio-sh/termio/app-screenshot-debug"><img src="https://agentmods.dev/badge/skills/termio-sh/termio/app-screenshot-debug/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 app-screenshot-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/termio-sh/termio/app-screenshot-debug"><img src="https://agentmods.dev/badge/skills/termio-sh/termio/app-screenshot-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,227 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00161 $0.01227
Opus 5.5 $0.00064 $0.00491
Sonnet 5.5 $0.00032 $0.00245
Haiku 4.5 $0.00016 $0.00123

Measured 3mo ago against content hash 2d4b3415e2a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

app-screenshot-debug 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 3mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/capture-window.sh, scripts/click-in-window.sh), 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/app-screenshot-debug/SKILL.md · 88 lines

How it starts

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

Screenshot-driven UI debugging (AppleScript + screencapture)

The loop for seeing a termio UI change instead of guessing from code:

(rebuild if code changed)  →  drive app into the target state  →  capture the window  →  Read the PNG  →  judge / iterate

You cannot evaluate spacing, alignment, overlap, ghosting, or "this looks ugly" from source. Get a real screenshot, Read it, then decide.

Prerequisites

  • The app must be running and built. If you just changed code, run the macos-rebuild-dev skill first. The process name for System Events is termio and the main window's title is termio.
  • These calls need macOS Accessibility + Screen Recording permission for the terminal / Claude Code host. If System Events errors with -25211 or the capture is black, that permission is missing — tell the user to grant it in System Settings → Privacy & Security.
  • termio is a single-window app (sidebar + terminal panes); there is no Settings window. Everything you need is in window 1.

The two helper scripts (in scripts/)

Run them with bash; they take the app name from $TERMIO_APP_NAME (default termio).

  1. capture-window.sh [out.png] — screenshot just the frontmost termio window (-o no shadow, -x silent), reading its live bounds first. Prints the window origin + size. Captures the region 1:1 in points, so a point you read off the resulting image is window-relative: image (dx,dy) == screen (originX+dx, originY+dy).

  2. click-in-window.sh <dx> <dy> — click at a window-relative point: it re-reads the live window origin and adds your offset. Use the exact (dx,dy) you measured on a capture-window.sh image — this survives the window moving or reopening on a different display.

Canonical recipe

SK=skills/app-screenshot-debug/scripts

osascript -e 'tell application "System Events" to tell process "termio" to set frontmost to true'
bash $SK/capture-window.sh /tmp/shot.png
# → Read /tmp/shot.png with the Read tool, find the control you want at (dx,dy)
bash $SK/click-in-window.sh 120 180   # e.g. click a sidebar project row
bash $SK/capture-window.sh /tmp/shot2.png   # Read again to see the result

Read the full file on GitHub · 88 lines

Files

What ships with it

2 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. 3mo ago First seen · 88 lines · 161 tokens per session scan A 2d4b3415e2a6

Subscribe to this mod's changes

app-screenshot-debug is a skill published in the GitHub repository termio-sh/termio (731 stars, last pushed 6d ago), licensed MIT. It adds 161 tokens to every session and 1,227 once invoked, about $0.0006 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-08-30.

Related

app-screenshot-debug compared with skills from other repositories

app-screenshot-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
app-screenshot-debugtermio-sh/termioSkill7316d agoMITA161Claude Code, Codex
codegraphQwenLM/qwen-codeSkill31ktodayApache-2.0A0Claude Code, Codex
stuckQwenLM/qwen-codeSkill31ktodayApache-2.0A57Claude Code
structured-debuggingQwenLM/qwen-codeSkill31ktodayApache-2.0A85Claude Code, Codex
desktop-brand-builderQwenLM/qwen-codeSkill31ktodayApache-2.0A68Claude Code, Codex
memory-leak-debugQwenLM/qwen-codeSkill31ktodayApache-2.0A42Claude Code, Codex
bugfixQwenLM/qwen-codeSkill31ktodayApache-2.0A53Claude Code, Codex