drive-tui SKILL.md skillA
drive-tui from dwgx/smartcli is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dwgx/smartcli/drive-tui@v0.3.5Pins v0.3.5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dwgx/smartcli
- Path
skills/drive-tui/SKILL.md- Versions recorded
- 9
- Latest version
- v0.3.5, committed Oct 1, 2026
- First version recorded
- Aug 9, 2026
- Size
- 33,424 bytes
- Repository stars
- 6
- License
- MIT
Drive interactive terminal (TUI) programs — CLIs, REPLs, installers, menu apps, agent CLIs, and editors like vim — through a PTY, reading semantic screen snapshots. A pattern library classifies a screen (REPL, menu, pager, fzf search, confirm dialog, form, spinner, wizard) and drives it with a ready recipe. Use when a program expects a live terminal (arrow-key menus, prompts, spinners, password fields, curses UIs), or when a piped command hangs or prints nothing.
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
# drive-tui Drive interactive terminal programs the way a human does: look at the screen, decide, press keys, wait, look again. A normal `subprocess`/pipe can't do this — line-buffered pipes hide menus, spinners, and prompts, and many programs refuse to run without a real TTY. This skill uses `smartcli_core` (a PTY + `pyte` screen model + semantic snapshots + readiness waits) behind a thin CLI, `scripts/tui.py`. ## When to use - Launching a program that draws a full-screen or line-mode UI and expects keystrokes (REPLs, installers, `vim`, agent CLIs, arrow-key menus, y/n prompts, password entry). - A piped command hangs, prints nothing, or says "not a terminal". - You need to see what an interactive program is showing right now, then act on it. - Do NOT use for non-interactive commands whose full output you just want captured — run those directly. ## Core mental model: the perceive → decide → act loop Never fire keystrokes blind and never guess with `sleep`. Every interaction is one turn of this loop: 1. **Perceive** — take a snapshot. Read the header line (cursor position, selected row, status bar, errors) and the row-numbered body. …
Read the whole file at its exact version.
How to install
mdr add dwgx/smartcli/drive-tui@sha256:28a8e0b32c99eb91The 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.
[](https://markdownregistry.com/a/art_bb6b3kfun4awomcl)
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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.3.5 latest | 2026-10-01 | ccf3472 | 33,424 B | A | view · diff |
| v0.3.4 | 2026-09-30 | 040c614 | 33,424 B | A | view · diff |
| v0.3.3 | 2026-09-30 | e41db73 | 33,424 B | A | view · diff |
| v0.3.2 | 2026-09-30 | 903293a | 33,424 B | A | view · diff |
| v0.3.2 | 2026-09-16 | e7877c2 | 32,263 B | A | view · diff |
| v0.3.1 | 2026-09-16 | 625e246 | 32,263 B | A | view · diff |
| v0.3.0 | 2026-09-16 | bea017b | 32,263 B | A | view · diff |
| v0.2.3 | 2026-08-09 | b5bc85c | 31,201 B | A | view · diff |
| v0.2.2 | 2026-08-09 | 90817b8 | 31,201 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (33424 bytes)
- pass: No zero-width or bidi control characters
- 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
Source
dwgx/smartcli · 6 stars · license MIT · pushed 2026-10-11 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bb6b3kfun4awomcl GET https://markdownregistry.com/api/v1/resolve?ref=dwgx/smartcli/drive-tui GET https://markdownregistry.com/api/v1/blob/28a8e0b32c99eb91ceca828c422c878fb2dde3a8539eb730718729b3d93565fc
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.