Test terminal UI behavior and output

tui-testerskillsetup L20
joeblackwaslike/agent-skills
What it does

Test CLI behavior and visual TUI output via terminal automation

Best for

Verify behavioral changes and visual rendering across terminal sizes without manual testing.

Inputs
  • · CLI command
  • · environment variables
  • · terminal size
  • · action sequence (type, press, wait)
Outputs
  • · terminal_screenshot
  • · output_text
  • · session_id for subsequent interactions
Requires
  • · agent-tui daemon
  • · tmux
  • · npm build
Preconditions
  • · agent-tui skill activated first
  • · npm run build completed
  • · GEMINI_CLI_TRUST_WORKSPACE=true set
  • · Global daemon running
Failure modes
  • · os error 61: restart daemon via tmux
  • · Focus-stealing modals: set GEMINI_CLI_TRUST_WORKSPACE
  • · Wait timeout: take screenshot to diagnose state
Trust signals
  • · Session management via session_id
  • · Atomic one-command-per-turn execution
  • · Integrated live preview