spectrum-design-data: Skill for Claude Code

.ai/skills/tui-verify/SKILL.md

tui-verify is a skill for Claude Code, Codex from adobe/spectrum-design-data. It costs 124 tokens per session (2,543 once invoked), scanned A, original, Apache-2.0.

A verification workflow for a terminal user interface, or TUI, which is an application operated in a terminal window. It checks rendering and interaction at three levels, from in-process buffer assertions to live and pixel-level screen captures.

In plain words
What is it for?
Use it to verify the design-data TUI with deterministic tests, live terminal captures, or image-based checks, choosing the level that matches the question.
Why use it?
It helps catch both logical rendering errors and visual problems such as incorrect characters, colours, or layout.

Skill for Claude CodeCodex ✓ vendor

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

This is adobe/spectrum-design-data's own configuration. It tells Claude Code and Codex how to work on spectrum-design-data itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spectrum-design-data configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash tools/demo/auto/verify-tui.sh \.

About the project

adobe/spectrum-design-data is a monorepo containing the design tokens, component schemas, specifications, and related datasets that define Adobe's Spectrum design system; a monorepo keeps these related packages in one repository. It is for Adobe Spectrum SDK and tooling developers who need canonical design-system data and validation artifacts. The catalogue add-ons provide workflows and integrations for working with this design data.

adobe/spectrum-design-data · 163 stars · on GitHub · opensource.adobe.com

Reuse

Borrowing it

Nothing to install: this file belongs to adobe/spectrum-design-data. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/adobe/spectrum-design-data/main/.ai/skills/tui-verify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adobe/spectrum-design-data

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 tui-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/adobe/spectrum-design-data/tui-verify/github.svg)](https://agentmods.dev/skills/adobe/spectrum-design-data/tui-verify)
Your own site
<a href="https://agentmods.dev/skills/adobe/spectrum-design-data/tui-verify"><img src="https://agentmods.dev/badge/skills/adobe/spectrum-design-data/tui-verify/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 tui-verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/adobe/spectrum-design-data/tui-verify"><img src="https://agentmods.dev/badge/skills/adobe/spectrum-design-data/tui-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,543 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.00124 $0.02543
Opus 5.5 $0.00050 $0.01017
Sonnet 5.5 $0.00025 $0.00509
Haiku 4.5 $0.00012 $0.00254

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

Security

Grade A, and why

tui-verify 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 yesterday.

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.

.ai/skills/tui-verify/SKILL.md · 243 lines

How it starts

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

TUI verification (3-tier strategy)

The design-data TUI (sdk/tui) has a purpose-built verification stack. Choose the lowest tier that answers your question — Tier 1 is fastest and most exact, Tier 3 is the only one that catches visual/glyph issues.

Tier 1  render_to_buffer / TestBackend  ← deterministic, no terminal, CI backbone
Tier 2  rmux + capture-pane             ← real binary, live screen text
Tier 3  asciinema + agg / Ghostty       ← pixel image for glyph/color verification

Prerequisites

  • All tiers: cargo build -p design-data-cli --release (or moon run :build) so the design-data binary is on PATH / in sdk/target/release/.
  • Tier 2: rmux 0.3.x on PATH (brew install rmux).
  • Tier 3 (asciinema): asciinema 3.x + agg on PATH (brew install asciinema agg).
  • Tier 3 (Ghostty): Ghostty 1.3.0+, macOS Screen Recording permission granted to the controlling terminal, and GetWindowID (brew install smokris/getwindowid/getwindowid).

1. Tier 1 — in-process buffer assertions (default)

render_to_buffer(&mut model, w, h) builds a ratatui TestBackend at an exact size, draws once, and returns the Buffer for cell-level assertions. No terminal emulator. All 200+ existing tests use this pattern.

Run the full suite (always start here):

cargo test -p design-data-tui        # or: moon run :test

Add a targeted assertion — follow the patterns in references/tier1-test-api.md (source: sdk/tui/tests/render.rs, sdk/tui/tests/common/mod.rs):

use common::{render_to_buffer, make_graph_with_tokens, update_ctx};

#[test]
fn my_new_feature_renders_label() {
    let graph = make_graph_with_tokens(&["accent-color"]);
    let ctx  = update_ctx(&graph);
    let mut model = Model::new();
    update(&mut model, Message::PaletteSubmit("query property=accent-color".into()), &ctx);
    let buf = render_to_buffer(&mut model, 80, 24);
    // assert specific cell or scan rows:
    assert_eq!(buf.cell((0, 0)).unwrap().symbol(), "▶");
}

Read the full file on GitHub · 243 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. yesterday Changed · +2 lines 3e5c8706fda4
  2. 10d ago Changed 0dc0a69c455c
  3. 1mo ago First seen · 241 lines · 124 tokens per session scan A fcfaae5d58a0

Subscribe to this mod's changes

tui-verify is a skill published in the GitHub repository adobe/spectrum-design-data (163 stars, last pushed yesterday), licensed Apache-2.0. It adds 124 tokens to every session and 2,543 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-14.

Related

tui-verify compared with skills from other repositories

tui-verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tui-verifyadobe/spectrum-design-dataSkill163yesterdayApache-2.0A124Claude Code, Codex
extract-designManavarya09/design-extractSkill5.3k2d agoMITA140Claude Code
designlang-tokensManavarya09/design-extractSkill5.3k2d agoMITA30Claude Code
ss-learnbitjaru/styleseedSkill1.1k4d agoMITA73Claude Code, Codex
omd-applykwakseongjae/oh-my-designSkill6504d agoMITA129Claude Code, Codex
omd-3d-herokwakseongjae/oh-my-designSkill6504d agoMITA349Claude Code
omd-brand-lookkwakseongjae/oh-my-designSkill6504d agoMITA235Claude Code, Codex