Show HN: Headless Terminal: skill for agents to use interactive TUI/CLI programs

anonfunction1 pts0 comments

Navigate

headless-terminal<br>InstallationCommandPrompt

$ npx skills add https://github.com/montanaflynn/headless-terminal --skill headless-terminal

SKILL.md<br>ht — headless terminal

ht is a daemon that owns a pseudo-terminal per session and parses output with the same VT engine Ghostty uses. You can launch a TUI, send keystrokes, snapshot the rendered screen, and block until a screen condition is met.

Install ht

Check if the CLI is on PATH; if not, install it:

command -v ht || brew install montanaflynn/tap/ht

Without Homebrew, grab a tarball from the releases page and move the binary onto PATH. macOS (Apple Silicon) and Linux (x86_64/arm64) only.

When to reach for this

Target program draws to the alternate screen / uses (n)curses / reads $TERM.

Needs real keystrokes (arrow keys, , ), not just stdin text.

You need to inspect the rendered screen state, not the raw output byte stream.

Show more

Installs<br>11

Repository<br>montanaflynn/he…terminal<br>GitHub Stars<br>113

First Seen<br>Apr 22, 2026

Security Audits<br>Gen Agent Trust HubPass<br>SocketPass<br>SnykPass

headless-terminal — montanaflynn/headless-terminal

terminal headless montanaflynn screen skill install

Related Articles