headless-terminal

www.skills.sh · 2026-08-19 · by Long Nguyen ·generic
Drive interactive terminal programs (vim, emacs, nethack, htop, CLI installers, REPLs, anything curses-based) headlessly via the `ht` CLI. Use when the task…

headless-terminal

headless-terminal

Installation

CommandPrompt

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

SKILL.md

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, `<C-c>`, `<F5>`), not just stdin text.
  • You need to inspect the rendered screen state, not the raw output byte stream.

Show more

Installs

11

Repository

montanaflynn/he…terminal

GitHub Stars

113

First Seen

Apr 22, 2026

Security Audits

Gen Agent Trust HubPassSocketPassSnykPass

www.skills.sh · 44 links

Comments (0)

No comments yet