A powerful terminal automation skill that enables AI agents to operate, interact with, and verify TUI programs like vim, htop, and nano through the tui-agent CLI.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install tui-use
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install tui-use using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The tui-use skill provides a robust bridge between AI agents and Terminal User Interface (TUI) applications. By leveraging the tui-agent CLI tool, it allows for sophisticated control over terminal-based programs that typically require human interaction, such as text editors (vim, nano, emacs), system monitors (htop, btop), and file managers (ranger, mc). This Openclaw Skills extension acts as the 'eyes and hands' of the agent, providing visual feedback through screen captures and the ability to send precise keystrokes, mouse clicks, and scroll commands.
Built on a daemon-based architecture, tui-use manages a virtual screen (pyte) and a PTY session to ensure that complex ncurses applications render correctly. This allows for reliable automation of terminal workflows, including multi-step editing tasks, system monitoring, and database client interactions, all while maintaining state across a session-based lifecycle.
To use this Openclaw Skills capability, you must have the tui-agent CLI installed in your environment. Follow these steps:
pip install -e tui-agent/
tui-agent list
The skill manages terminal data through structured sessions and snapshots. The following table describes how data is organized:
| Component | Description |
|---|---|
| Session Name | A unique identifier (e.g., editor) used to route commands to specific PTY instances. |
| Screen Capture | A text-based representation of the terminal grid, often including ANSI escape sequence processing. |
| Snapshots | Named screen states saved to disk for visual regression testing and diff operations. |
| Scrollback | A buffer containing historical terminal output that has moved off the active screen area. |
| Metadata | Includes terminal dimensions (rows/cols), cursor position (row/col), and session exit codes. |
paste command to safely insert multi-line blocks of code into editors without triggering unintended command shortcuts.--stable waits that pause execution until the terminal screen stops changing for a specified duration.diff command to compare the live terminal state against a saved snapshot for high-precision automation.--top, --left, --height, and --width to reduce token usage and noise.Loading
An AI agent skill that automatically appends English and Japanese translations to every Chinese response generated.

A professional analysis tool that systematically reviews requirement documents from business, development, and testing perspectives to identify gaps and risks.

A technical intelligence skill providing deep insights into Longchamp's brand history, product taxonomy, and French artisanal leather craftsmanship.

A sophisticated layout generator for Chinese Military Chess that blends LLM-driven strategy with automated Python rule validation and image rendering using Openclaw Skills.

A sophisticated orchestration framework for AI agents that enforces strict role separation and structured handoffs to ensure high-quality task execution.

MemDDC is an intelligent tool designed for team-based project documentation management and iterative code development, featuring automated document generation and DDD model mapping.








































