What problem does it solve? Testing and automating interactive terminal applications is difficult because TUIs have no persistent DOM—only a constantly redrawn character grid. This Skill provides a disciplined observe-act-wait-verify workflow for driving TUI programs programmatically, eliminating flaky manual testing of CLI tools. ## Core Features & Use Cases - Programmatic TUI Control: Launch terminal apps, take screenshots (plain text or JSON), type text, and send keystrokes via the agent-tui CLI. - State Synchronization: Wait for specific text to appear or disappear, or for the UI to stabilize, with assertion-based verification. - Regression Testing: Verify interactive behavior of CLI tools like the Gemini CLI, including trust-modal bypass and isolated test environments. - Use Case: Automate an end-to-end test of a terminal application by launching it, typing commands, asserting expected output appears, and capturing screenshots for debugging failures. ## Quick Start Ask the agent to launch a terminal application with agent-tui, wait for it to stabilize, then type a command and verify the expected output appears on screen.