termlens SKILL.md skillA
termlens from vyncint/termlens is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add vyncint/termlens/termlens@git:20261103.61f597ePins git:20261103.61f597e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- vyncint/termlens
- Path
skills/termlens/SKILL.md- Versions recorded
- 26
- Latest version
- git:20261103.61f597e, committed Nov 3, 2026
- First version recorded
- Sep 5, 2026
- Size
- 36,023 bytes
- Repository stars
- 27
- License
- Apache-2.0
Write, fix or review headless terminal tests for a Rust CLI or TUI (ratatui, crossterm, cursive, plain println) with the termlens crate — spawn the real binary in a PTY, wait on the rendered screen without sleeping, snapshot it with insta, assert on cells and styles. Use whenever a test spawns a terminal program, whenever a terminal test is flaky, sleeps or times out, and whenever someone asks how to test a TUI end to end.
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
# Testing terminal programs with termlens Written against **termlens 0.11.8**. 0.11.0 is the stability candidate: from it no promised public item changes incompatibly before 1.0, so the API below is one to build on, not one to expect to move. Every `rust` block below is a complete integration test that is compiled against the crate in CI, so the API it shows is the API that exists. The recipes spawn a binary called `myapp` that draws a list with a `> ` highlight, a status line ending in `Ready: j/k move, q quits`, and prints usage on `--help`; substitute your application's own texts where the comments say so. ## 1. What termlens is, and when to reach for it termlens spawns your **real binary** in a **real pseudo-terminal**, drains its output on a reader thread through a VT emulator into an in-memory **screen grid**, and lets a test wait on and assert against that grid — Playwright for the terminal. Linux and macOS in full; on Windows (ConPTY) screen assertions work and frame assertions do not — `wait_frame`, `record`, graphics and mouse modes are Unix-only there, and a test that needs one is `#[cfg_attr(windows, ignore = "…")]` with the reason. …
Read the whole file at its exact version.
How to install
mdr add vyncint/termlens/termlens@sha256:0374d42156782debThe line at the top of this page pins the label git:20261103.61f597e, 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_etqr2bojwbij5px7)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 26 versions of this file, between Sep 5, 2026 and Nov 3, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261103.61f597e latest | 2026-11-03 | 61f597e | 36,023 B | A | view · diff |
| git:20261103.e43adc5 | 2026-11-03 | e43adc5 | 36,023 B | A | view · diff |
| git:20261103.e0ac04d | 2026-11-03 | e0ac04d | 35,387 B | A | view · diff |
| git:20261027.ff50ffc | 2026-10-27 | ff50ffc | 35,362 B | A | view · diff |
| git:20261027.29f11d5 | 2026-10-27 | 29f11d5 | 35,362 B | A | view · diff |
| git:20261027.f834d5f | 2026-10-27 | f834d5f | 35,110 B | A | view · diff |
| git:20261014.3926896 | 2026-10-14 | 3926896 | 35,046 B | A | view · diff |
| git:20261014.83c6a10 | 2026-10-14 | 83c6a10 | 35,046 B | A | view · diff |
| git:20261007.5b6bf71 | 2026-10-07 | 5b6bf71 | 34,675 B | A | view · diff |
| git:20261007.5f4203e | 2026-10-07 | 5f4203e | 34,675 B | A | view · diff |
| git:20261007.a9edfe7 | 2026-10-07 | a9edfe7 | 34,604 B | A | view · diff |
| git:20261006.3181981 | 2026-10-06 | 3181981 | 34,398 B | A | view · diff |
| git:20261004.3ff9c04 | 2026-10-04 | 3ff9c04 | 33,604 B | A | view · diff |
| git:20260927.de7fe39 | 2026-09-27 | de7fe39 | 33,595 B | A | view · diff |
| git:20260923.c15b62f | 2026-09-23 | c15b62f | 33,595 B | A | view · diff |
| git:20260923.73266e4 | 2026-09-23 | 73266e4 | 33,595 B | A | view · diff |
| git:20260917.6a1411e | 2026-09-17 | 6a1411e | 32,700 B | A | view · diff |
| git:20260917.bedc332 | 2026-09-17 | bedc332 | 32,700 B | A | view · diff |
| git:20260916.f1cde32 | 2026-09-16 | f1cde32 | 32,181 B | A | view · diff |
| git:20260910.b8af0fa | 2026-09-10 | b8af0fa | 31,779 B | A | view · diff |
| git:20260910.113dd95 | 2026-09-10 | 113dd95 | 31,779 B | A | view · diff |
| git:20260908.a4d393b | 2026-09-08 | a4d393b | 30,709 B | A | view · diff |
| git:20260908.3663d1c | 2026-09-08 | 3663d1c | 30,709 B | A | view · diff |
| git:20260908.7e5695d | 2026-09-08 | 7e5695d | 30,275 B | A | view · diff |
| git:20260905.0907161 | 2026-09-05 | 0907161 | 24,418 B | A | view · diff |
| git:20260905.d1b2933 | 2026-09-05 | d1b2933 | 24,309 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 (36023 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
vyncint/termlens · 27 stars · license Apache-2.0 · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_etqr2bojwbij5px7 GET https://markdownregistry.com/api/v1/resolve?ref=vyncint/termlens/termlens GET https://markdownregistry.com/api/v1/blob/0374d42156782deb1ca97c9e3bd26b26608664e8002a627b2f8563210c9d8865
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.