What problem does it solve?
This Skill solves the challenge of reliably automating terminal text user interface (TUI) applications, eliminating flaky manual interaction and the need to handle low-level terminal keyboard encoding for most common automation scenarios.
Core Features & Use Cases
- Virtual PTY TUI Automation: Interact with terminal TUI applications via a virtual pseudo-terminal, with built-in commands for typing text, sending key presses, waiting for specific output patterns, and capturing clean text snapshots of the screen.
- Session Recording & Comparison: Record full terminal interactions as asciinema
.cast files for demos and regression testing, including support for before/after comparisons of TUI behavior across different code versions.
- Use Case: For example, a developer can use this Skill to automate regression tests for a CLI tool's interactive TUI, record the full interaction flow, and compare output snapshots between a baseline and a new code version to catch UI regressions.
Quick Start
Use the tuistory skill to automate a TUI workflow for your target CLI application, capture a text snapshot of the final screen state, and save a recording of the interaction as an asciinema cast file.