Interactive CLI Testing With tui-test
slopus/happy
Tests interactive CLI and TUI programs with Microsoft's tui-test, driving prompts, arrow keys and screen output in a real pseudo-terminal.
Operate interactive terminal programs (REPLs, installers, TUI apps) using PTY automation.
$ npx skills add onesuper/tui-use --skill tui-use -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install onesuper/tui-use tui-use --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/onesuper/tui-use.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/tui-use/skills/tui-use .claude/skills/tui-use && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tui-use" agent skill from https://github.com/onesuper/tui-use/tree/main/plugins/tui-use/skills/tui-use into .claude/skills/tui-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tui-use", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/onesuper/tui-use/tree/main/plugins/tui-use/skills/tui-useType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add onesuper/tui-use --skill tui-use -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install onesuper/tui-use tui-use --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onesuper/tui-use.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/tui-use/skills/tui-use .agents/skills/tui-use && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tui-use" agent skill from https://github.com/onesuper/tui-use/tree/main/plugins/tui-use/skills/tui-use into .agents/skills/tui-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tui-use", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add onesuper/tui-use --skill tui-use -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install onesuper/tui-use tui-use --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onesuper/tui-use.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/tui-use/skills/tui-use .cursor/skills/tui-use && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tui-use" agent skill from https://github.com/onesuper/tui-use/tree/main/plugins/tui-use/skills/tui-use into .cursor/skills/tui-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tui-use", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/onesuper/tui-use.git --path plugins/tui-use/skills/tui-use--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add onesuper/tui-use --skill tui-use -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install onesuper/tui-use tui-use --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onesuper/tui-use.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/tui-use/skills/tui-use .gemini/skills/tui-use && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tui-use" agent skill from https://github.com/onesuper/tui-use/tree/main/plugins/tui-use/skills/tui-use into .gemini/skills/tui-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tui-use", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install onesuper/tui-use tui-useInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add onesuper/tui-use --skill tui-use -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/onesuper/tui-use.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/tui-use/skills/tui-use .github/skills/tui-use && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tui-use" agent skill from https://github.com/onesuper/tui-use/tree/main/plugins/tui-use/skills/tui-use into .github/skills/tui-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tui-use", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add onesuper/tui-use --skill tui-use -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install onesuper/tui-use tui-use --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/onesuper/tui-use.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/tui-use/skills/tui-use .opencode/skills/tui-use && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tui-use" agent skill from https://github.com/onesuper/tui-use/tree/main/plugins/tui-use/skills/tui-use into .opencode/skills/tui-use/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tui-use", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tui-useOperate interactive terminal programs (REPLs, installers, TUI apps) using PTY automation.
Tui Use is an agent skill from onesuper/tui-use. Operate interactive terminal programs (REPLs, installers, TUI apps) using PTY automation. Use when you need to interact with programs that require keyboard input.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: tui-use lets agents interact with programs that expect a human at the keyboard — REPLs, debuggers, TUI apps, and anything else bash can't reach. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0170481. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tui Use loads about 1k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 114 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from onesuper/tui-use at commit 0170481, republished under its MIT licence (© onesuper). 114 words, ~1,049 tokens.
.claude/skills/tui-use/SKILL.md (or your agent's skills folder).Use tui-use to operate interactive terminal programs that require keyboard input.
Works with prompt-based CLIs, REPLs, interactive installers, and TUI apps (htop, vim, fzf, etc.).
start → use → wait → type/press → wait → ... → killtui-use start <cmd> # Start a program
tui-use start --cwd <dir> <cmd> # Start in specific directory
tui-use start --cwd <dir> "<cmd> -flags" # Quote full command to pass flags (e.g. git rebase -i)
tui-use start --label <name> <cmd> # Start with label
tui-use start --cols <n> --rows <n> <cmd> # Custom terminal size (default: 120x30)
tui-use use <session_id> # Switch to a session
tui-use type <text> # Type text
tui-use type "<text>\n" # Type with Enter
tui-use type "<text>\t" # Type with Tab
tui-use paste "<text>\n<text>\n" # Multi-line paste (each line + Enter)
tui-use press <key> # Press a key
tui-use snapshot # Get current screen
tui-use snapshot --format json # JSON output
tui-use scrollup <n> # Scroll up to older content
tui-use scrolldown <n> # Scroll down to newer content
tui-use find <pattern> # Search in screen (regex)
tui-use wait # Wait for screen change
tui-use wait <ms> # Custom timeout (default: 3000ms)
tui-use wait --text <pattern> # Wait until screen contains pattern
tui-use wait --format json # JSON output
tui-use list # List all sessions
tui-use info # Show session details
tui-use rename <label> # Rename session
tui-use kill # Kill current sessiontui-use daemon status # Check if daemon is running
tui-use daemon stop # Stop the daemon
tui-use daemon restart # Restart the daemonwait is the primary way to observe the terminal state. It blocks until the screen changes or a timeout occurs.
Always call wait before type/press — ensures program is ready.
Default output (pretty format):
─── session-id ────────────────────────────────────────────
What is your name?
> Alice
─── running | cursor(2,8) | fullscreen:false | title:"" ────
highlights(0):JSON output (--format json):
{
"session_id": "abc12345",
"screen": "What is your name?\n> Alice",
"cursor": { "x": 2, "y": 1 },
"changed": true,
"status": "running",
"exit_code": null,
"title": "",
"is_fullscreen": false,
"cols": 120,
"rows": 30,
"highlights": []
}"exited", don't send more input# Start (automatically becomes current session)
tui-use start python3 examples/ask.py
# Interact
tui-use wait # wait for prompt
tui-use type "Alice"
tui-use press enter
tui-use wait # wait for output
tui-use kill # cleanup# Start two sessions
SID1=$(tui-use start htop --label monitor)
SID2=$(tui-use start python3)
# Work with first
tui-use use $SID1
tui-use wait --text "PID"
tui-use press q
tui-use kill
# Work with second
tui-use use $SID2
tui-use wait --text ">>>"
tui-use type "print(1+1)"
tui-use press enter
tui-use wait --text ">>>"
tui-use type "exit()"
tui-use press enter
tui-use kill© onesuper, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/tui-use/skills/tui-use of onesuper/tui-use.
Open the folder on GitHubat commit 0170481
Tui Use next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tui Use this skillonesuper/tui-use | 266 | — | ~1k | Automated safety check: Pass | MIT | |
| Interactive CLI Testing With tui-testslopus/happy | 24k | — | ~603 | Automated safety check: Pass | MIT | |
| Remember Interactive Programminggithub/awesome-copilot | 40k | 1 repos | ~221 | Automated safety check: Pass | MIT | |
| Nanoclaw Replaffaan-m/ECC | 275k | 4 repos | ~286 | Automated safety check: Pass | MIT | |
| Prototype Openclaw Tuiopenclaw/openclaw | 392k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Golem Interactive Repl Rustgolemcloud/golem | 1.5k | — | ~638 | Automated safety check: Pass | Custom licence |
slopus/happy
Tests interactive CLI and TUI programs with Microsoft's tui-test, driving prompts, arrow keys and screen output in a real pseudo-terminal.
github/awesome-copilot
A micro-prompt that reminds the agent that it is an interactive programmer.
affaan-m/ECC
Operate and extend NanoClaw, ECC's zero-dependency session-aware REPL, with persistent markdown-backed sessions and slash commands for model switching, skill loading, session branching…
openclaw/openclaw
Build throwaway, fixture-driven OpenClaw Clack or Pi TUI prototypes and compare multiple interactive variants side by side in tmux without running the full application or touching live state.
golemcloud/golem
Using the Golem REPL for interactive testing and scripting of agents.
golemcloud/golem
Using the Golem REPL for interactive testing and scripting of agents.
onesuper/tui-use
Operate interactive terminal programs (REPLs, debuggers, TUI apps) using PTY automation.
onesuper/tui-use
A skill your agent uses when you need to verify tui-use's ability to drive git workflows — interactive rebase, conflict resolution with vim, and verifying repository state.
onesuper/tui-use
A skill your agent uses when you need to verify tui-use end-to-end behavior — driving interactive CLI programs, Python REPL, --text pattern matching, custom timeout, special key handling, and…
onesuper/tui-use
A skill your agent uses when you need to verify tui-use's ability to drive vim — opening files, editing text, navigation, undo/redo, search & replace, and saving.
Operate interactive terminal programs (REPLs, installers, TUI apps) using PTY automation. Tui Use is an agent skill from onesuper/tui-use. Operate interactive terminal programs (REPLs, installers, TUI apps) using PTY automation.
Tui Use fits situations like: you need to interact with programs that require keyboard input.
Run `npx skills add onesuper/tui-use --skill tui-use -a claude-code`. Or copy the skill folder (plugins/tui-use/skills/tui-use in onesuper/tui-use) into .claude/skills/tui-use in your project. Claude Code loads it when a task matches its description.
Run `npx skills add onesuper/tui-use --skill tui-use -a codex`. Or copy the skill folder (plugins/tui-use/skills/tui-use in onesuper/tui-use) into .agents/skills/tui-use in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add onesuper/tui-use --skill tui-use -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tui-use, .gemini/skills/tui-use, .github/skills/tui-use and .opencode/skills/tui-use in your project.
SKILL.md names no scripts, command-line tools or credentials: Tui Use is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tui Use is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tui Use: Interactive CLI Testing With tui-test (slopus/happy, 24k stars), Remember Interactive Programming (github/awesome-copilot, 40k stars), Nanoclaw Repl (affaan-m/ECC, 275k stars) and Prototype Openclaw Tui (openclaw/openclaw, 392k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
onesuper (a GitHub user) maintains it in onesuper/tui-use, which has 266 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on April 11, 2026.
Source: onesuper/tui-use on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.