TUI Use
Automates interactive terminal programs, REPLs, and TUI applications using PTY-based keyboard simulation and screen monitoring.
TUI Use bridges the gap between AI agents and interactive command-line interfaces by providing a robust PTY (Pseudoterminal) automation layer. It allows Claude to navigate complex terminal menus, interact with language REPLs, manage interactive installers, and operate full-screen TUI apps like Vim or HTOP. By leveraging snapshots and screen-waiting logic, the skill ensures reliable execution of tasks that typically require a human operator at the keyboard, making it essential for end-to-end terminal-based automation.
Key Features
01Real-time screen snapshots with JSON-formatted terminal state
02Advanced waiting logic with pattern matching and timeouts
03Simulation of keyboard inputs including special keys and multi-line pastes
04PTY-based terminal automation for REPLs and TUI apps
05Multi-session management for simultaneous terminal tasks
06240 GitHub stars
Use Cases
01Automating interactive CLI installers and configuration wizards
02Running and navigating TUI-based debuggers or system monitoring tools
03Interacting with Python, Node.js, or SQL REPLs to verify code execution