agent-tui

Automate terminal UI interactions with simulated keyboard presses and text entry.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/devinitive-team/mirage --skill agent-tui-devinitive-team
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-tui
Source: https://github.com/devinitive-team/mirage/tree/main/.agents/skills/agent-tui
Command: npx skills add https://github.com/devinitive-team/mirage --skill agent-tui-devinitive-team

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agent-tui, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of automating interactions with terminal UI (TUI) applications, enabling testing, inspection, and demonstrations without manual intervention.

Core Features & Use Cases

  • Automated TUI Testing: Simulate user interactions and validate the behavior of terminal applications.
  • Scripted Interactions: Execute commands and interact with TUIs programmatically.
  • Use Case: When you need to automate a series of steps within a terminal application, such as running a script, verifying output, or handling interactive prompts.

Quick Start

Install the agent-tui skill with npm i -g agent-tui. Start a session with agent-tui run --format json <command> and take a screenshot with agent-tui screenshot.

Frequently Asked Questions about agent-tui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate terminal UI interactions for testing?

What's the best way to script interactions with interactive command-line applications?

What's the best way to script interactions with interactive command-line applications?

Script interactions with command-line applications programmatically by executing commands and simulating user inputs like keyboard presses and text entry. This allows you to validate output and handle interactive prompts automatically within terminal applications.

Does agent-tui require a specific environment to automate TUI applications?

Can I capture screenshots of terminal UI states during automated testing?

Can I capture screenshots of terminal UI states during automated testing?

Why should I use terminal UI automation instead of manual testing?

Why should I use terminal UI automation instead of manual testing?

When should I not use scripted TUI automation?

When should I not use scripted TUI automation?

Scripted TUI automation is suited for predictable interactive prompts and text entry within terminal applications. It may not be appropriate for workflows requiring complex, unpredictable manual input or environments lacking terminal command execution support.