tui-design

tui-design is a skill for Claude Code, Codex from gfargo/tui-design-skill. It costs 135 tokens per session (2,682 once invoked), scanned A, original, MIT.

A design guide for terminal user interfaces (TUIs), meaning interactive programs that run in a text terminal, and command-line tools. It covers layouts, navigation, prompts, output, and several language ecosystems.

In plain words
What is it for?
Use it to design or review dashboards, menus, prompts, REPLs, command-line commands, keyboard controls, terminal layouts, and accessibility behavior.
Why use it?
It helps make terminal software understandable and predictable despite the limits of text-based screens. The guide organizes advice by the language, framework, and interaction problem involved.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the tui-design plugin — 1 skill shipped together

Good fit Use it to design or review dashboards, menus, prompts, REPLs, command-line commands, keyboard controls, terminal layouts, and accessibility behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gfargo/tui-design-skill/tui-design
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 gfargo/tui-design-skill --skill tui-design
Clone the repo
git clone --depth 1 https://github.com/gfargo/tui-design-skill

Made for: Claude Code, Codex.

Or install tui-design, the plugin that ships this one along with the rest of its 1 skill.

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-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gfargo/tui-design-skill/tui-design"><img src="https://agentmods.dev/badge/skills/gfargo/tui-design-skill/tui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,682 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.00135 $0.02682
Opus 5.5 $0.00054 $0.01073
Sonnet 5.5 $0.00027 $0.00536
Haiku 4.5 $0.00014 $0.00268

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

Security

Grade A, and why

tui-design 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.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/tui-design/skills/tui-design/SKILL.md · 142 lines

How it starts

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

TUI & CLI Design

Design terminal software that is calm, predictable, fast, and honest about the medium. Treat this file as the workflow and cross-cutting contract. Load detailed guidance from the one reference that owns it instead of reconstructing or repeating it here.

Route before answering

Need Authoritative reference
Go, Bubble Tea, Lipgloss, Bubbles, tview, gocui references/ecosystem-go.md
Rust, Ratatui, crossterm, Cursive references/ecosystem-rust.md
Python, Textual, Rich, prompt_toolkit, urwid references/ecosystem-python.md
TypeScript/JavaScript, Ink, OpenTUI, Clack, Inquirer references/ecosystem-typescript.md
One-shot commands, arguments, streams, exit codes, --json and errors, completions, paging, config, Windows, CLI testing, automation references/cli-basics.md
Layouts and wireframes, inline vs alternate screen, borders, hierarchy, color, density, responsive behavior and the floor size, states (empty, loading, partial, error, stale), tables, diff views, modals, status bars and messages, progress and spinners, themes, icons and Nerd Fonts, localization and Unicode width, accessibility (screen readers, plain mode, motion) references/visual-patterns.md
Keys, the Esc/q/Ctrl+C quit order, keys that tmux or the key encoding steal, focus, navigation, search and filter, multi-select, help and the command palette, scrolling, live-data selection, log follow mode, trees, text input, forms, mouse, confirmation, undo references/interaction-patterns.md
Flicker or tearing, escape sequences and terminal modes (bracketed paste, keyboard protocol and a Shift+Enter that doesn't arrive, mouse, focus, synchronized output, cursor, title, progress), tmux, screen, Zellij, SSH, and Windows behavior, clipboard, links, notifications, color depth and theme detection references/terminal-protocols.md
Case studies: lazygit, k9s, fzf, btop, helix, yazi, atuin references/exemplar-apps.md
Screenshots or demo recordings The vhs-cli-demos skill when installed; otherwise references/cli-basics.md → Demo recordings

Read the full file on GitHub · 142 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 · +1 lines f7a7db5cc439
  2. yesterday Changed · +1 lines 2628b8c3cded
  3. 15d ago Changed 7939fd7532ad
  4. 1mo ago First seen · 140 lines · 135 tokens per session scan A 885b2c5afc5d

Subscribe to this mod's changes

tui-design is a skill published in the GitHub repository gfargo/tui-design-skill (43 stars, last pushed today), licensed MIT. It adds 135 tokens to every session and 2,682 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-08-30.

Related

Other skills, from other repositories

tui-ui

Design web-like user interfaces in the terminal and inside tmux with a cell-grid Canvas, CSS-like box model, flexbox/grid layout, and 17 reusable widgets such as Panel, Table, Card, ProgressBar, Meter, Tabs, Tree, Badge, Banner, and a braille line chart. Use when an agent needs a dashboard, panel, table, status page…

dwgx/SmartCLI · 119 tokens

frontend

Builds, styles, and polishes anything drawn with HTML, CSS, or SVG: web UI, pages, components, HTML reports rendered to PDF or print, figures, PNG/SVG diagrams, slides, and images for Notion or Slack. Use for any styling, layout, animation, or visual-quality task, or when asked to make something look or feel a certain…

code-yeongyu/lazycodex · 79 tokens

cli-anything-photoshop

A command-line tool that controls Adobe Photoshop through Windows automation. It can work with Photoshop documents, layers, selections, text, image adjustments, and exports.

yb2460/harness-anything · 43 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

agent-manager-reference

Query agent-manager.dev's reference API and MCP server for documentation, the coding CLIs it manages, the tools its MCP server exposes, and the current release. Use instead of scraping the website's HTML.

YoanWai/agent-manager · 45 tokens

app-screenshot-debug

Drive the running termio app via AppleScript / System Events to reach a UI state (focus the window, click a sidebar project, a terminal pane, a control), capture a pixel-accurate screenshot of just that window, and read it back for visual analysis — for diagnosing layout / spacing / alignment / 'this looks ugly'…

termio-sh/termio · 161 tokens