tui-ui SKILL.md skillF

tui-ui from dwgx/smartcli is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add dwgx/smartcli/tui-ui@v0.3.5

Pins v0.3.5 in mdr.lock. Pin the fingerprint instead.

Audit grade
F, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
dwgx/smartcli
Path
skills/tui-ui/SKILL.md
Versions recorded
9
Latest version
v0.3.5, committed Oct 1, 2026
First version recorded
Aug 9, 2026
Size
18,382 bytes
Repository stars
6
License
MIT

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, TUI layout, tmux dashboard, screenshot-driven CLI/TUI replica, ANSI frame, truecolor render, pyte PNG screenshot smoke test, wide-character alignment, or a new terminal widget.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# tui-ui

Lay out a terminal screen the way you lay out a web page: nested boxes with margin,
border, and padding; rows and columns that flex with `fr` units; and drop-in widgets
(panels, tables, cards, meters, tabs, trees). You compose a tree of renderables, and
the engine resolves sizes, composites cell grids, and serializes **once** to a
tmux-safe ANSI frame. Everything is display-cell accurate, so CJK, emoji, and
box-drawing never desync your columns.

Pure Python **stdlib** (optional `pyfiglet` for the Banner, optional `wcwidth` for an
authoritative width — a stdlib fallback covers the same edge cases). Output is a
plain string you can `print`, pipe, wrap in a registered fx `Effect` (the fx play
loop drives registered effects only — it does not accept raw ANSI frames), or
render to PNG with the SmartCLI pyte harness.

## When to use
- Building a status page / dashboard / control panel that should look designed, not dumped.
- You need boxes, tables, or columns that **line up** — especially with wide glyphs.
- You want web mental models (box model, flexbox rows, a grid, cards) in a TUI.
- Adding a new reusable terminal widget to a shared catalog.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dwgx/smartcli/tui-ui@sha256:b792a5003df58e66

The line at the top of this page pins the label v0.3.5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_trvwpbcuxx7etbg2.svg)](https://markdownregistry.com/a/art_trvwpbcuxx7etbg2)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between Aug 9, 2026 and Oct 1, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
v0.3.5 latest2026-10-01 ccf3472 18,382 BF view · diff
v0.3.42026-09-30 040c614 18,382 BF view · diff
v0.3.32026-09-30 e41db73 18,382 BF view · diff
v0.3.22026-09-30 69f63a0 19,274 BF view · diff
v0.3.22026-09-16 e7877c2 18,704 BF view · diff
v0.3.12026-09-16 625e246 18,704 BF view · diff
v0.3.02026-09-16 bea017b 18,704 BF view · diff
v0.2.32026-08-09 b5bc85c 18,704 BF view · diff
v0.2.22026-08-09 cf76575 18,704 BF view

Audit of the latest version

F  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • FAIL, critical: No zero-width or bidi control characters (matched: ‍)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18382 bytes)
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

dwgx/smartcli · 6 stars · license MIT · pushed 2026-10-11 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_trvwpbcuxx7etbg2
GET https://markdownregistry.com/api/v1/resolve?ref=dwgx/smartcli/tui-ui
GET https://markdownregistry.com/api/v1/blob/b792a5003df58e66cdc8f8860a158ca28f0b379fc860ea5ae61502830b59ef15

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from dwgx/smartcli

CLAUDE.md CLAUDE.md file
dwgx/smartcli · CLAUDE.md
git:20261011.24da983 · audit A · 6 stars
cmd-art SKILL.md skill
dwgx/smartcli · skills/cmd-art/SKILL.md · Design and render terminal/CMD visual effects and ASCII art from a one-line request via the pluggable `fx` engine (30…
v0.3.5 · audit A · 6 stars
drive-tui SKILL.md skill
dwgx/smartcli · skills/drive-tui/SKILL.md · Drive interactive terminal (TUI) programs — CLIs, REPLs, installers, menu apps, agent CLIs, and editors like vim —…
v0.3.5 · audit A · 6 stars

Every file in dwgx/smartcli

Browse by kind, by grade F, or by owner.